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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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.