Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have the following calculated dimension:
=If(GetFieldSelections(Language_Id) = 'FR', REV_SubRubric_FR, (If(GetFieldSelections(Language_Id) = 'DE', REV_SubRubric_DE,(If(GetFieldSelections(Language_Id) = 'EN', REV_SubRubric)))))
here isthe tables relationship:
I have only 6 rows on the FieldsMap1 table.
Can someone explain me why I got 7 values in my calculated dimension?here is the chart where you can see a null value:
If, instead of a calculated dimension, I use the Field REV_SubRubric as my dimension, then I got only the 6 correct values.
Do you know what I am doing wrong?
thanks,
Caro.
Sorry, I think without any sample data this question is really hard to answer 🙂
Hi there, try this:
pick(match(Language_Id,'FR','DE','EN'), REV_SubRubric_FR, REV_SubRubric_DE, REV_SubRubric)
Regards
Oh, and in addition to simplifying with the pick(match()) that Ivan gave, checkmark "suppress when value is null" for your calculated dimension. That should make the null value go away.
Thanks for the solution !! Works fin for me too
Gracias por la solcion !! A mi tambien me funciono