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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
roboskoog
Frequent Visitor

How do I calculate an average by month that is not cumulative?

I am trying to calculate a monthly average for the field, FTE_Ratio, for the selected projects on my Dashboard (could be 1 could be more than 1).  When I use the following forumla:

 

FTE Ratio = CALCULATE(AVERAGE(EffortByMonth[FTE_Ratio]),(FILTER(ALLEXCEPT(EffortByMonth,Projects[Project ID and Name]),EffortByMonth[Reporting Month]<=MAX(EffortByMonth[Reporting Month]))))

 

I get a running average for the months corresponding to the selected projects (i.e. Month 1 = average of month 1 FTE_Ratios, Month 2 = Average of Month1 and Month 2 FTE_Ratios, Month 3 = Average of Months 1 thru 3 FTE_Ratio, etc.).  What i need is each month's distinct average (Month 1 = Average of Month 1 only, Month 2 = average of month 2 only, etc.).

 

How do I do this? 

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

Should be something like:

 

FTE Ratio = CALCULATE(AVERAGE(EffortByMonth[FTE_Ratio]),(FILTER(ALLEXCEPT(EffortByMonth,Projects[Project ID and Name],EffortByMonth[Reporting Month])))

 

Put that measure in a table with EffortByMonth[Reporting Month] and it should filter each row by reporting month.



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...

View solution in original post

1 REPLY 1
Greg_Deckler
Community Champion
Community Champion

Should be something like:

 

FTE Ratio = CALCULATE(AVERAGE(EffortByMonth[FTE_Ratio]),(FILTER(ALLEXCEPT(EffortByMonth,Projects[Project ID and Name],EffortByMonth[Reporting Month])))

 

Put that measure in a table with EffortByMonth[Reporting Month] and it should filter each row by reporting month.



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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors