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 August 31st. Request your voucher.

Reply
georgy
Frequent Visitor

TOTALYTD is not working

Hi,

TotalYTD function does not return the right value for me. I have DATE table which is linked to other tables.

I have the following data:

1. Sales Actual

2. Sales F-1 FY 20 Forecast 

3. Sales F-2 FY 20 Forecast

 

I created a measure Sales FSCT that uses Sales ACT and if Actual Sales are zero then Sales F-2 FY20 FCST is used. 

Then I added Sales YTD FCST = TOTALYTD(Sales FCST, Date, "31/03") but as you can see from photo it stops adding sales when Sales ACT is zero, even though Sales FCST measure shows the right numbers.

Can anyone help please.

Cheers

Capture.JPG

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@georgy 

 

Take a good look at link below to have a better understanding of time intelligence function.

https://www.sqlbi.com/articles/time-intelligence-in-power-bi-desktop/

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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