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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.