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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

The SUM function only accepts a column reference as an argument.

Loss Ratio = sum(WORK_ADD_OL_DATA[AUTO_LOSS]/SUM(WORK_ADD_OL_DATA[AUTO_EP]))
 
 
Why is this not working ? What should it be instead ? 
1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

Loss Ratio = sum(WORK_ADD_OL_DATA[AUTO_LOSS])/SUM(WORK_ADD_OL_DATA[AUTO_EP])

View solution in original post

2 REPLIES 2
MohamedRifakath
New Member

@wdx223_Daniel  Currently I started learning Power BI by doing some beginner level project  which is available from youtube while doing the project I also faced the same problem and found the work around solution for that 

Try this formula I think It would work because it worked for me 

Loss Ratio = Divide(sum(WORK_ADD_OL_DATA[AUTO_LOSS]),SUM(WORK_ADD_OL_DATA[AUTO_EP]),0)

wdx223_Daniel
Super User
Super User

Loss Ratio = sum(WORK_ADD_OL_DATA[AUTO_LOSS])/SUM(WORK_ADD_OL_DATA[AUTO_EP])

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

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.

Top Solution Authors