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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.