Forum Discussion

Marko33's avatar
Marko33
Frequent Visitor
5 years ago

Dynamic Column selection DAX

Hi,

 

I´m trying to change the axis of a line visual with kind of a dynamic column which is selectable through a slicer by users.

 

The dax formula looks like this:

 

CLNDR_or_FISCAL_Month_Name = IF(CalendarDIM[Selected Calendar]=2 ,DateDIM[01_CLNDR_MO_NM],DateDIM[01_FSCL_MO_NM])
 
So basically the users is selecting if he wants to see fiscal month or calendar month. Unfortunately, PBI selects always the "false" result, even the right result should be displayed? Any idea why?
 
Thanks,
Marko

3 Replies