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
BI_Newbie2
Regular Visitor

Help with YTD Average Calculation

Hello,

I've been trying to calculate the YTD Average for each criteria row in a table (each criteria represents a KPI, there's 32) each criteria has multiple rows in my FACT table.  I want to have the YTD average calculated for each of the measures, based on the month selected.

for example:  user selects July, YTD column updates to Jan-Jun, user selects December YTD column updates to Jan-December

but when I try to add my measure to the table, I'm just getting the current months' values and not an average of anything! 

I've watched linked videos in other solutions but I'm trying to add this value to a table and not create a measure that requires a criteria selection to complete the calculation.

How can I fix this measure to work correctly?

Actual YTD =
TOTALYTD(AVERAGE('FACT'[Actual]), 'DIM_Date'[Date])
1 REPLY 1
lbendlin
Super User
Super User

for example:  user selects July, YTD column updates to Jan-Jun, user selects December YTD column updates to Jan-December

So you are excluding July but including December?

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