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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors