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
devGV_88
Helper I
Helper I

Rolling measure for two columns

Hi folks!

 

I need to count rows rollling 12 month.

I was able to create the measure a show by month.

 

Measure: CALCULATE(DISTINCTCOUNT(Table[ID]),DATESINPERIOD('Date'[Date],MAX('Date'[Date]),-12,MONTH))

 
devGV_88_0-1661885194118.png

But when I add onw more collumn (Vendor) from the same table I see other result.

devGV_88_2-1661885465909.png

I need the rolling in the last table to show as chart.

 

Could you help me?

3 REPLIES 3
devGV_88
Helper I
Helper I

Hi all!

 

Any idea?

devGV_88
Helper I
Helper I

@Greg_Deckler Thanks.

 

I was able to calculated the simple rolling showing the moth (like the first screenshot in my post).

My problem is when I add on more collumn in the table or chart.

Greg_Deckler
Community Champion
Community Champion

@devGV_88 https://community.powerbi.com/t5/Quick-Measures-Gallery/Rolling-Months/m-p/391499#M124

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

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