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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Anonymous
Not applicable

P&L calculation in Finance income report

Hi,

 

I am working on a P&L Finance income report, below is my report

neelofarshama_0-1605114791361.png

The report has Revenue and Expense with many sub categories.

My requirement is to sum up the values of these sub categories and calculate "EBITDA" = Revenue - Expense

I have already calculated this EBITDA it is working fine for all categories except YTD categories as shown below

neelofarshama_1-1605115211089.png

For some reason the highlighted values are showing wrong and I could'nt figure out why 

YTD Actual = Rev(211,133) - Exp(-226723)= 15590 but 70,499 is thevalues Power BI is populating.

I dont understand this behaviour of Power BI where all values are correct except these totals.

Please help me to figure this out.

 

2 REPLIES 2
DataInsights
Super User
Super User

@Anonymous,

 

Would you post your measures so we can review the DAX?

 

Helpful article on measure totals:

 

https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Hello,

 

Thank you for the response below are the DAX I used

YTD Actual = -TOTALYTD([Total$],Append1[Date].[Date])/1000
YTD Actual PY = -TOTALYTD([Total$],SAMEPERIODLASTYEAR(Append1[Date].[Date]))/1000
YTD Actual vs Budget = [YTD Actual] - [YTD Budget]
YTD Budget = TOTALYTD([Budget],Append1[Date].[Date])
Total$ = sum(Append1[AMT_ACTUAL])
Append1 is my table
Please check these DAX and let me know if i am wrong 

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors