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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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