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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
oscarca
Helper I
Helper I

Divide one row with the sum of two other rows

Hello Community,

Is it possible to divide the sum of Scrapped Qty with Manufactured Qty and place the reslut in the first row of Quality Index i.e (50 + 150) / 1000 = 0.8. Right now it takes 50/1000 = 0.95

So what I have done is the following:

Manufactured Qty Filtered :=SUMX(FILTER('Dummy',Dummy[FirstOperation] = 1),[Manufactured Qty])

Quality Index :=DIVIDE([Scrapped Qty],[Manufactured Qty Filtered])

oscarca_2-1650531644485.png

1 REPLY 1
tamerj1
Super User
Super User

@oscarca 

Is this a pivot table or source data table? What are the fields? Are they source data columns/values or measures? What are planning to create, a calculated column or measure?

how many records you have? If many recods you want the same result ( the value of next row) for all rows? What is the next row? Is it something related to operation no.? Is the operation no. A sequential unique number?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.