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
nguyea25
New Member

Calculating RTY

Hello!

 

I'm new to the community and new to PowerBI. I'm trying to calculate a rolled throughput yield column but I'm struggling to find the best way to do it. Hopefully I'm providing enough information to solve the problem.

 

The Accept and Reject Qty columns are measures where I use COUNT() to count the number of Accepts or Rejects in a large table then filtered by Process. The Yield column is then just Accept Qty / Total Qty. I'd like to get the RTY column which is the Product of all of the prior Yields. For example Process 3 RTY is 99% x 98% x 95%. 

 

Process NoProcess DescAccept QtyReject QtyYieldRTY
1Process 199199%99%
2Process 298298%97.02%
3Process 395595%92.14%

 

Thanks!

Andrew

1 ACCEPTED SOLUTION
v-deddai1-msft
Community Support
Community Support

Hi @nguyea25 ,

 

Would  you please try to use the following measure:

RTY =

PRODUCTX (

    FILTER ( ALL ( 'Table' ), 'Table'[Process No] <= MAX ( 'Table'[Process No] ) ),

    [Yield]

)

Untitled picture1.png

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

View solution in original post

4 REPLIES 4
v-deddai1-msft
Community Support
Community Support

Hi @nguyea25 ,

 

Would  you please try to use the following measure:

RTY =

PRODUCTX (

    FILTER ( ALL ( 'Table' ), 'Table'[Process No] <= MAX ( 'Table'[Process No] ) ),

    [Yield]

)

Untitled picture1.png

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

I have tried creating the measure suggested, but I am getting all 0.00%. I have no idea what I am doing wrong. 

scisteph_0-1681492008056.png

 

Thank you so much! It worked flawlessly.

 

Regards,

Andrew

Hi nguyea25

I've tried to replicate this in my own data but cannot get the qty accept and reject to accumulate as they progress through the process steps, would you mind sharing your count() with filter dax?

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.