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
Maivish
Regular Visitor

Issue in Subtotal

Hello everyone,

Quick question about P&L reports: When calculating revenue and costs, I'm finding that the subtotals for each label aren't reflecting the correct values. For instance, if revenue is $500 and EBIDTA is -$100, the subtotal for EBIDTA shows -$100 instead of the remaining $400. Any tips on how to fix this?

Thanks in advance for any advice!

Revenue_minus_EBITDA =
VAR RevenueAmount = CALCULATE (
    SUM('FINANCE_WORKING'[REV_AMT]),
    FILTER (
        'INTEGRATED_PROFIT & LOSS',
        'INTEGRATED_PROFIT & LOSS'[Label] = "Revenue"
    )
)
VAR EBITDAAmount = CALCULATE (
    ABS(SUM('FACT_FINANCE'[REV_AMT])),
    FILTER (
        'INTEGRATED_PROFIT & LOSS',
        'INTEGRATED_PROFIT & LOSS'[Label] = "EBITDA"
    )
)
VAR EBITAAmount = CALCULATE (
    ABS(SUM('FACT_FINANCE'[REV_AMT])),
    FILTER (
        'INTEGRATED_PROFIT & LOSS',
        'INTEGRATED_PROFIT & LOSS'[Label] = "EBITA"
    )
)
VAR PBTAmount = CALCULATE (
    ABS(SUM('FACT_FINANCE'[REV_AMT])),
    FILTER (
        'INTEGRATED_PROFIT & LOSS',
        'INTEGRATED_PROFIT & LOSS'[Label] = "PBT"
    )
)
RETURN
RevenueAmount -EBITDAAmount - EBITAAmount - PBTAmount /*

 

 

Current Label.

Label

Revenue
Revenue
Revenue
Revenue
Revenue
Revenue
EBITDA
EBITDA
EBITDA
EBITDA
EBITDA
EBITDA
EBITDA
EBITDA
EBITDA
EBITDA
EBITDA
EBITDA
EBITA
EBITA
PBT
PBT
PBT
PBT



1 REPLY 1
Greg_Deckler
Community Champion
Community Champion

@Maivish First, please vote for this idea: https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e

This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376

Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907

Also: https://youtu.be/uXRriTN0cfY
And: https://youtu.be/n4TYhF2ARe8



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

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.