Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Filtering a measure

Hi there,

 

I have a table that includes the price, by month, for several years of a product in 10 different cities.

 

Can I create a line chart with a filter for the city I want displayed, that shows % change of the product (MoM, QoQ, YoY) as I drill up/down?

 

If I just have one city, I can create a measure for % change that adjusts to the time intervals and there are no problems. However, with multiple cities, the dates are duplicated and the measure is unable to create one outcome. However, with the filter dropdown on the visualization all I would be looking for is one outcome per time interval.

 

I'm pretty new here and think I might just have to include something within my measure DAX that references to the filter applied to the visualization? But let me know

 

3 Replies