Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi people, I have a little issue trying to display some data, I hope you can help me with this.
The thing is I have a line chart with sales by period (nov-2018, dec-2018, jan-2019 and so on) but now I want to display only the last 12 periods based in date selections.
For example, if I pick in my year filter "2018" and in my month filter "October", the line chart should display sales from nov-2017 to oct-2018, and with no selections it should display sep-2018 to aug-2019 (as of today).
That's why a relative dates visual filter isn't of much help, because if I change years, the graph will not follow the applied filters.
That would be it. I hope I was able to explain myself as clearly as posible.
Solved! Go to Solution.
Hi,
You may refer to my solution here - Flex a Pivot Table to show data for x months ended a certain user defined month.
Hope this helps.
Hi,
You may refer to my solution here - Flex a Pivot Table to show data for x months ended a certain user defined month.
Hope this helps.
It works! Thanks!
But what's the logic behind having two Calendar tables in the data model?
You are welcome. One to show within the Pivot Table and the other to use in a slicer.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.