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
Anonymous
Not applicable

Weighted Average Formula not working ?

Hi all,

 

When I make my calculation in Excel for the weighted average, I get a different % for the risk assessment in BI.

It should be 92,3% and I am getting 114,1%. Which is already strange because it should not be above 100%. 


What am I doing wrong?  I checked my base data and I see nothing strange. And what it even more strange, is that all other categories are correct, only the risk assessment category is wrong. 

 

 

TheShinigami_2-1658152598330.png

 

TheShinigami_3-1658152835613.pngTheShinigami_4-1658152872617.png

 

 

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Anonymous 

please try

=
DIVIDE (
    SUMX (
        'databestand',
        'databestand'[Score in %] * 'databestand'[Aantal dossiers getoetst]
    ),
    SUM ( 'databestand'[Aantal dossiers getoetst] )
)

View solution in original post

3 REPLIES 3
tamerj1
Super User
Super User

Hi @Anonymous 

please try

=
DIVIDE (
    SUMX (
        'databestand',
        'databestand'[Score in %] * 'databestand'[Aantal dossiers getoetst]
    ),
    SUM ( 'databestand'[Aantal dossiers getoetst] )
)
Anonymous
Not applicable

My godddddddddddd... you know how much time I have wasted on this🤣🤣🤣

 

GOD BLESSS YOUUUUUUUUUUUU....... 

 

I you were here in my neighbourhood I would have brought you a box of chocolates..... Thank you soooooooo much. 

 

I knew something had to be wrong with the formula, but we used the quick measure for BI and thought that it had setup the correct formula. 

TheShinigami_0-1658208357538.png

 

Anonymous
Not applicable

weightage avg = 

SUMX(category_values,table[score 1%] * table[antal]) / [Total antal]

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.