sql - How to format value as float with 2 deciaml only in mdx? -
here value :
value -0,00398911382022891
and member count value
member [date].[percentage] ([date].[averagesalenumberthisyear] - [date].[averagesalenumberpreviouseyear] )/ [date].[averagesalenumberthisyear].
if use format_string = "percent" getting value : -0,40%, want same without %
sign.
you can use custom format strings in mdx. sounds want
format_string = "0.00"
or
format_string = "fixed"
i'm assuming didn't really want multiple value 100, "percent" does)
if do want multiplied 100, in expression:
member [date].[percentage] 100 * ([date].[averagesalenumberthisyear] - [date].[averagesalenumberpreviouseyear] ) / [date].[averagesalenumberthisyear].
Comments
Post a Comment