Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Not applicable

Show rolling 13 months on charts by selecting month on slicer (with empty months included on charts)

Hi PBI-ers!


I'm trying to adjust my chart to alter based on the slicer selection to show rolling 13 months on charts by selecting month on slicer (with empty months in this period included on chart).


Measure I'm using is a 13 month (to be precise 13 points on rank) SUM (summed values based on filtered 'rank column' starting at "selectedvalue" to "selected value-12"). 

I have used rank instead of date intelligence functions here and the rank is also on the slicer.


  • I tried using 'show items with no data' on bar chart but I get all the blank values from past periods I don't want to show i.e   < selectedvalue-12 
  • I tried adding 0 to my measure but it also adds 0 to the unwanted ranks  i.e   < selectedvalue-12
  • I tried using a TOPN filter on filter pane to show last 13 months, but it makes the chart static, while I want it to dynamically adjust to selected rank

The workaround I'm thinking of is to have a measure which lists 13 rolling ranks until selectedvalue and to put it to the TOPN filter pane.


Is it a way to go? Could you help me create it?


Many Thanks!

Community Support
Community Support

Hi @Anonymous ,


Please check if this post is helpful: Display Last N Months & Selected Month using Single Date Dimension in Power BI.



Best regards



If this post helps, then consider Accepting it as the solution to help other members find it faster.

Community Champion
Community Champion

Hi @Anonymous 


Checkout if the link below helps







Did I answer your question? Mark my post as a solution and also give KUDOS !

Proud to be a Datanaut!

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors