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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
i have a slicer on my report where i filter on year and month:
Now i have some measures i want to plot on a linechart, for the selected slicer date and the 12 months before that; so it would look like this:
Can anyone help me explain how to get this result? thanks!
Solved! Go to Solution.
Check out this tutorial - Hope it helps.
hi @miTutorials , thanks for your answer, sorry if i was unclear, i have a linked date table which i use in the slicer. My problem is that i want the 12 last months based on the slicer, not neceseraly the last 12 dates from now. so if i select january, it should show january last year till january this year. do you know how to get this result? thank you
Check out this tutorial - Hope it helps.
Exactly what i needed, thanks!
Can you create a Calendar table and use the date field in the filter and use the filter type 'Relative' and is in the last 12 months like the below screenshot.
| User | Count |
|---|---|
| 49 | |
| 37 | |
| 33 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 132 | |
| 100 | |
| 56 | |
| 37 | |
| 37 |