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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors