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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
kamalbandam
Helper III
Helper III

Rolling 12 month average using Month_Year Format in the axis

Hello Everyone,

 

I have Rolling 12 month average calculated using Quick measure. It is working well and fine. When I try to use the Rolling 12 avg in a bar chart using Month_Year Format i.e Jan-20 in the axis it is giving me a blank value. The Month_Year format is from the same date table.

 

Any help would be grateful.

 

Thanks in Advance

 

1 REPLY 1
amitchandak
Super User
Super User

@kamalbandam , if date table is marked as date table and rolling is using date table and month year is from date table, it should work.

 

example

Rolling 12 = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date],ENDOFMONTH(Sales[Sales Date]),-12,MONTH))
Rolling 12 = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date ],MAX(Sales[Sales Date]),-12,MONTH))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors