Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi,
Used summarise column to calculate roll yield (= A*B*C). Also created a Datetable.
Que: Any way to re-write dax such that roll yield does not apply when I drill up from date to week? Currently roll yield applies for station to product and date to week.
RollYieldFam =
SUMMARIZECOLUMNS(
'Data2'[Customer],
'Data2'[Family],
'Data2'[station],
'Data2'[TestDate],
"OutputFr",sum(Data2[OutputFr]),
"FrPassCount",sum(Data2[FirstPassQty]),
"FrFailCount",sum(Data2[FirstFailQty]),
"InputFr",SUMX(data2, [FirstFailQty]+Data2[FirstPassQty]),
"YieldFr",DIVIDE(sum(Data2[FirstPassQty]),sum(Data2[InputFr]),1)
)
Yield_Roll = CALCULATE(PRODUCT([YieldFr]))
Solved! Go to Solution.
Hi @v-yulgu-msft,
Thanks. Solved problem with help from @v-jiascu-msft. or rather work around the problem by not using summarizecolumns.
Sample file attached. Appreciate reply from both again.
https://1drv.ms/u/s!ArjVwEnHONXNggfW2ETtdFOTf9Zx
Hi,
Provided Sample DAX in below link. Hopefully this can explain my problem better. Please help!
https://1drv.ms/u/s!ArjVwEnHONXNggSTw6hzNhK3NzjV
Hi @vincentakatoh,
Below measure can return correct percentage (CountPass/Totalcount) per level.
Measure Yield = DIVIDE(SUM(Yield[CountPass]),SUM(Yield[TotalCount]),1)
But, based on my test, it seems that PRODUCT function always evaluates the product value for each detailed row in whole table. So, when we drill up to weekly level, it returns wrong result.
If you work it out later, appreciate that you could share your solution here.
Best regards,
Yuliana Gu
Hi @v-yulgu-msft,
Thanks. Solved problem with help from @v-jiascu-msft. or rather work around the problem by not using summarizecolumns.
Sample file attached. Appreciate reply from both again.
https://1drv.ms/u/s!ArjVwEnHONXNggfW2ETtdFOTf9Zx
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 26 | |
| 23 | |
| 19 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 43 | |
| 35 | |
| 31 |