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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors