Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
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!

2 REPLIES 2
Icey
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

Icey

 

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

Anonymous
Not applicable

Hi @Anonymous 

 

Checkout if the link below helps

 

https://community.powerbi.com/t5/Desktop/Show-last-13-months-based-on-user-single-slicer-selection/td-p/64214/page/2

 

Cheers

 

CheenuSing

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.