dbTalk Databases Forums  

MDX help!!! concat two strings

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss MDX help!!! concat two strings in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
SubbuR
 
Posts: n/a

Default MDX help!!! concat two strings - 07-02-2003 , 11:59 PM







Hi,

I want to concat the strings a member with %. How do I achieve this.
ex, if ([Measures].[Amount]) = 98 then i want to display it as 98 %.
"Changing the format to Percent is not required in this context".

I tried executing the following query
CStr([Measures].[Amount]) + "%" does not function properly. It dvides
the amount by 100. Similarly, ..+"-" , ... + "+" also donnot function as
expected. However, CStr([Measures].[Amount]) + "XYZ" works fine. It
concats the amount with "XYZ".

Please help me.

Thanks and regards
Subbu
__________________
Thanks and Regards,
SubbuR

--
Posted via http://dbforums.com

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.