Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi everyone!
Im having an issue with a stacked column chart, as bellow:
The thing is, i have to show only 3 years, but they must be jumping each 2 years
So, the first graphic it is showing what I need to see, but it has to be dinamic, so, as example, if I select in the slicer the year 2020
the graphic must show 2020, 2018 and 2016
I set the first graphic static, so im changing it on the filters pane
Do anyone had to do this, or anyone could give me a hint on how to?
For this, I created a simple data set, I tried measures, custom coluns and other stuff, nothing worked so far
Thanks everyone!!
Solved! Go to Solution.
@Ninimbus_jr , Create a separate year table and do not join with the table
measure =
var _max = maxx(allselected(Year), Year[Year])
return
calculate(sum(Table[Value]), filter( Table, Table[Year] =_max || Table[Year] =_max -2 || Table[Year] =_max -4))
HI @Ninimbus_jr,
Thanks for sharing your solution and expressions.😊 I think they will help others who faced similar requirements.
Regards,
Xiaoxin Sheng
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
99 | |
80 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |