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
AustralPRB
Frequent Visitor

Error in YTD Calc

I am trying to finish a P&L Report

 

     Essentially I have  GL Actual , Budget , Var1 , YTD GL Actual , YTD Budget Var2

 

 

powerbi.jpg 

 

 

When I filter for June 2018 Branch 20  Service   600  The Totals are correct but the YTD is not calculating for one of the Lines ( an entry back in Jan ) because (I think ) there is no June data.

 

(It does the same to Feb , March , April and May )

 

Is it possible for you to advise the best fix for this issue?

 

I have trolled the forums an tried most of the variations of YTD calcs  ,

 

Thanks.

 

1 ACCEPTED SOLUTION

Hi @AustralPRB,

 

The root cause is no data of "Sundry Income" of June exists. The possible solution could be like below.

GL YTD =
CALCULATE ( TOTALYTD ( [GL Actual], dDate[Date] ), ALL ( dDate[Month] ) )

Error_in_YTD_Calc

 

Best Regards,

Dale

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

View solution in original post

10 REPLIES 10

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.