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
gauravnarchal
Post Prodigy
Post Prodigy

Cumulative MOM total of average

Hello - I need your help to show the cumulative MOM Average total.

 

Average is SUM of Column A + B + C + D + E

 

Table 1

 

MonthABCDE
Jul-21330300416521379
Aug-21365335451556414
Sep-21400370486591449
Oct-21435405521626484
Nov-21470440556661519
Dec-21505475591696554
Jan-22540510626731589

 

 

Result

gauravnarchal_0-1642068846930.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@gauravnarchal , Try a measure like this with date table

 

Cumm = CALCULATE(averageX(values('Date'[Month Year]),calculate(Sumx(Table, [A]+[B]+[C]+[D] +[E]))) ,filter(allselected('Date'),'Date'[date] <=max('Date'[date])))


To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@gauravnarchal , Try a measure like this with date table

 

Cumm = CALCULATE(averageX(values('Date'[Month Year]),calculate(Sumx(Table, [A]+[B]+[C]+[D] +[E]))) ,filter(allselected('Date'),'Date'[date] <=max('Date'[date])))


To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.

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.