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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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