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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
paojira
New Member

YTD average of monthly YTD

Hello all,

 

I am new to PowerBI and I hope you can help me with this issue. I am trying to calculate a YTD average of the YTD. for further clarification I have this table:

Date Owned Space (sqm)
January1000
February-100
March 20
April0
May-40
June32
July108
August-2

 

we usually start with the current owned space in January and register the chage in the following months. Therefore, the best way to measure our current owned space is YTD, wich I obtain with a dax measure:

YTD sqm= TOTALYTD('Table 1'[Owned Space (sqm)],'Table1'[Date])

I then get the following table:

Date Owned Space (sqm)YTD sqm
January10001000
February-100900
March 20920
April0920
May-40880
June32912
July1081020
August-21018

 

Now, what I want to calculate is the YTD average of YTD sqm. Which month by month would be something like

YTD average sqm March= (YTD sqm January+ YTD sqm February + YTD sqm March)/3 

and the same for each month

DateOwned surface (sqm)YTD sqmYTD average sqm
January100010001000.0
February-100900950.0
March 20920940.0
April0920935.0
May-40880924.0
June32912922.0
July1081020936.0
August-21018946.3

 

Wich measure can I use to achieve this (last column)?

 

Thank you in advance! 😊

3 REPLIES 3
Anonymous
Not applicable

Hello @paojira 
Check the below calculation
Average YTD =
TOTALYTD ( SUM ( 'Month YTD'[YTD sqm] ), 'Month YTD'[Date] )
Note you must have a proper date column.

Hi Tarun, thank you for your reply, I tried to use the formula you mentioned. I just used SUMX instead of SUM, otherwise it won't accept me introducing a DAX measure:

Average YTD= TOTALYTD (SUMX('Table 1', [YTD sqm]), 'Table1'[Date])

The result however is now what I'm looking for, this just gives me the same numbers as I was getting with my YTD sqm measure. What I want to get is the YTD of the YTD basically.

 

Best regards,

 

Paola

Anonymous
Not applicable

Hello @paojira 
Mine above formula should work but for that, you need the proper date in the YTD measure.
Do you have a date column values like "2020/12/12"?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.