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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
gizempekk
Regular Visitor

I want to calculate weighted percent

gizempekk_1-1648128999698.png

I want to multiplication 50*1+30*0+20*0 for "İş ve Özel Hayat Dengesi" and make similar thing to all rows

 

 

 

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @gizempekk ,

 

How about this?

Measure 1 = 
SUM ( Reasons[Value] ) * SUM ( 'Percent'[Percent] )
Measure 2 = 
SUMX ( VALUES ( 'Percent'[Point] ), [Measure 1] )
Measure 3 = 
VAR All_Sum =
    SUMX ( ALL ( ReasonOrder ), [Measure 2] )
VAR Divide_ =
    ROUND ( DIVIDE ( [Measure 2], All_Sum ), 4 )
RETURN
    IF (
        HASONEVALUE ( 'Percent'[Point] ),
        SUM ( Reasons[Value] ),
        [Measure 2] & " / " & Divide_ * 100 & "%"
    )

Icey_0-1648454778120.png

Icey_1-1648454798883.png

 

 

For more details, please check the attached .pbix file.

 

 

Best Regards,

Icey

 

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

View solution in original post

2 REPLIES 2
gizempekk
Regular Visitor

gizempekk_0-1648129299876.png

Like this

Icey
Community Support
Community Support

Hi @gizempekk ,

 

How about this?

Measure 1 = 
SUM ( Reasons[Value] ) * SUM ( 'Percent'[Percent] )
Measure 2 = 
SUMX ( VALUES ( 'Percent'[Point] ), [Measure 1] )
Measure 3 = 
VAR All_Sum =
    SUMX ( ALL ( ReasonOrder ), [Measure 2] )
VAR Divide_ =
    ROUND ( DIVIDE ( [Measure 2], All_Sum ), 4 )
RETURN
    IF (
        HASONEVALUE ( 'Percent'[Point] ),
        SUM ( Reasons[Value] ),
        [Measure 2] & " / " & Divide_ * 100 & "%"
    )

Icey_0-1648454778120.png

Icey_1-1648454798883.png

 

 

For more details, please check the attached .pbix file.

 

 

Best Regards,

Icey

 

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.