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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Super User
Super User

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

 


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.