I have a data in eazybi and it is a grid data.
Example: 1,2,3
I need the data to be replace as a,b,c
I used replace but it replaces only 1 as a but nested replace is not working
Thanks,
Devashree
Hi @devashree ma,
Yes, MDX unction Replace() iterates through a list of values only once and replace only one item at the time. To make this work, you might want to use Replace() function within itself like this:
Replace(
Replace(
Replace(
--initial value or an empty string if a value is missing at all
CoalesceEmpty([Measures].[Property with values 123],""),
"1","a"),
"2","b"),
"3","c"
)
Best,
Zane / support@eazyBI.com
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.