Forum Discussion
Anonymous
3 years agoNot applicable
How to use different measures based on selected date range
Good Day I have been struggling for weeks now. I need help please on using dax, I have 4 measures one for each quarter in the year. I am struggling to figure out how can One use the a certian mea...
tt_and
Advocate I
3 years agoHi. I assume you have a date table that's used for slicing on dates. If you add a column to the date table defining each period on each date row, you can use this with a switch in a base measure.
Base measure =
switch(
calendar[Period],
1, [Measure1],
2, [Measure2],
3, [Measure3],
4, [Measure4]
)