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 September 15. Request your voucher.

Reply
Eric12
New Member

Kolom total in a report

Hello,

I have a report where i calculate the expected cost, based on actual cost and percentage of completion. On row level i get the correct value, but the total is not correct. How come? hereunder my formula (last kolom rows are correct)

Verwachte Nacalculatie =
if(sum(Projectfases[PrjFas_Voortgangperc])>0,
    sum(NacalculatieoverzichtChecklist[NC_Verkoopbedrag])/sum(Projectfases[PrjFas_Voortgangperc]),
        if(sum(NacalculatieoverzichtChecklist[NC_Verkoopbedrag])<sum('Voorcalculatieregel overzicht Checklist'[VCReg_Regelbedrag]),
            sum('Voorcalculatieregel overzicht Checklist'[VCReg_Regelbedrag]),
                sum(NacalculatieoverzichtChecklist[NC_Verkoopbedrag])))
Eric12_0-1682678219756.png

 

2 REPLIES 2
Mahesh0016
Super User
Super User

@Eric12 
Verwachte Nacalculatie =
IF (
SUM ( Projectfases[PrjFas_Voortgangperc] ) > 0,
DIVIDE (
SUM ( NacalculatieoverzichtChecklist[NC_Verkoopbedrag] ),
SUM ( Projectfases[PrjFas_Voortgangperc] ),
0
),
IF (
SUM ( NacalculatieoverzichtChecklist[NC_Verkoopbedrag] )
< SUM ( 'Voorcalculatieregel overzicht Checklist'[VCReg_Regelbedrag] ),
SUM ( 'Voorcalculatieregel overzicht Checklist'[VCReg_Regelbedrag] ),
SUM ( NacalculatieoverzichtChecklist[NC_Verkoopbedrag] )
)
)

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

Thank You!!

@Mahesh0016 

Unfortunately this doesn't do the tric. I get a percentage per row as a result

Eric12_0-1682688432328.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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