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
PomJack
Frequent Visitor

Rolling process yield by task and and week

I am very new to Power BI and the DAX language and I could use the community's help figuring out this problem. My data set is a table of starts and scraps by task and week. I would like to be able to calculate and display the yield of individual tasks over the time frame and the yield over all tasks by week. 

 

Process stepStartsScrapWeek
A1001312
B87612
C95512
D90212
E88512
A1181413
B104413
C100613
D96613
E90813
A1021314
B89614
C97514
D92214
E90514

 

I've been able to calculate yield by task by creating a measure: Task Yield = 1-sum(Table[starts])/(sum Table[scraps]). However, it does not respond when I slice the visual by week.

 

I have not been able to figure out yield how to calculate yield by week. I'd like to calculate it as Week Yield = Task A Yield * Task B Yield * Task C Yield * Task D Yield * Task E Yield , but I don't know how to go about doing that in DAX. 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

1 REPLY 1
lbendlin
Super User
Super User

Like this?

 

lbendlin_0-1714602521706.png

 

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.