MDX convert number to string
-
- Community Contributor
- Posts: 128
- Joined: Wed Oct 14, 2009 7:46 am
- OLAP Product: TM1
- Version: 9.4
- Excel Version: 11
- Location: London
MDX convert number to string
I need to retrieve the current year from a cube and increment and convert back to a string to be able to use StrToMember. What is the opposite function to strToValue that will allow me to do this? I've tried FORMAT, CStr, Str as advised by the LLMs but nothing works. I cannot believe this is not possible.
-
- MVP
- Posts: 3222
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: MDX convert number to string
Why not doing this in the system cube itself in a different parameter ? As a string
Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
-
- MVP
- Posts: 3698
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: MDX convert number to string
I agree. Much easier done in the lookup cube itself. Then simply call the "next year" value from the cube in the MDX.
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.