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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
AndreOlha
Frequent Visitor

3/5 Year Average

Hello,

How do I build a calculation where I get a 3/5 year average of (GJ) for each month?

Many thanks!

 

AndreOlha_0-1697486823182.png

 

1 REPLY 1
amitchandak
Super User
Super User

@AndreOlha , You can create a measure like this with help from date table

 

Only year vs Year, not a level below

This Year = CALCULATE(AverageX(Values(Date[Month Year]), calculate(  sum('Table'[GJ]) )) ,filter(ALL('Date'),'Date'[Year]=max('Date'[Year])))

 

Time Intelligence, Part of learn Power BI https://youtu.be/cN8AO3_vmlY?t=27510
Time Intelligence, DATESMTD, DATESQTD, DATESYTD, Week On Week, Week Till Date, Custom Period on Period,
Custom Period till date: https://youtu.be/aU2aKbnHuWs&t=145s

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Kudoed Authors