Forum Discussion
Pikachu-Power
5 years agoImpactful Individual
change measure while drill process
hello all,
for data like
i have the following measure
Measure = CALCULATE(SUM(Table[Percent]), Table[DateDim] = "Month")
For a bar chart i have drill possibility for year / month. When i jump to year I want Table[DateDim] = "Year" instead of Table[DateDim] = "Month". Is that possible?
I tried with a filter Table[DateDim] on the canvas and work with SELECTEDVALUE(Table[DateDim]) but had some problems to mark the x-axis with year/month.
thanks.
Pikachu-Power , You can create two measure and change them by using isinscope
https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/
2 Replies
- amitchandakSuper User
Pikachu-Power , You can create two measure and change them by using isinscope
https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/
- Pikachu-PowerImpactful Individual
Great thank you! 😊