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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

TOTALYTD not creating cumulative total

I am struggling to get TOTALYTD to give me a cumulative total.

I've tried creating the measure 4 different ways, but always get a result that looks like it's not using the date as part of the context at all.

 

1.PNG2.PNG3.PNG4.PNG

4 REPLIES 4
VasTg
Memorable Member
Memorable Member

@Anonymous 

 

Update:

 

Just noticed the formula. Could you try change the columns into Date format instead of datetime?

 

Also, where is the date column "Rowlabels" come from? Is that the same column as Calendar[Date]?

 

Did you try TOTALYTD(SUM(brand_dashboard_facts[gms]),'Calendar'[Date])

 

If this helps, mark it as a solution.

Kudos are nice too.

Connect on LinkedIn
Anonymous
Not applicable

Thanks for your help.

 

>Just noticed the formula. Could you try change the columns into Date format instead of datetime

Not sure how to do that.  Is this what you mean?

8.PNG

Anonymous
Not applicable

Regarding your question about the "row lables" - that is the reg_yrmo_as_fdom column, which is the date column that is mapped to the Calendar table.

@Anonymous 

 

Try using the date from calendar table instead of fact. 

 

Hope it should work.

Connect on LinkedIn

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.