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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
ryanyeh1123
Frequent Visitor

Multiplication Between Columns in the same matrix

Hello,

 

I am currently trying to caculate the overall yield rate in the same matrix (different stage), but when I have no ideas to write the Dax.

From this table, I want to do is multiply 97.5%*95.35%*100%*98.9%.

ryanyeh1123_1-1715072989276.png

Can I please have some help with how I have the correct formula?

Thanks.

1 ACCEPTED SOLUTION
ExcelMonke
Responsive Resident
Responsive Resident

Hello,

One way you can consider doing this is with the following:

Measure = 

VAR _FLB = Your Calculation
VAR _FCT = Your Calculation
VAR _Cycle = Your Calculation
VAR _Run = Your Calculation

RETURN
_FLB * _FCT * _Cycle * _Run

 

For extra validation, I would ensure each variable computes the result you expect. I'd recommend Returning each variable first before you do the full multiplication. i.e.

Measure = 

VAR _FLB = Your Calculation
//VAR _FCT = Your Calculation
//VAR _Cycle = Your Calculation
//VAR _Run = Your Calculation

RETURN
//_FLB * _FCT * _Cycle * _Run

_FLB

And repeat for each variable so that you can trust you answer

View solution in original post

3 REPLIES 3
ExcelMonke
Responsive Resident
Responsive Resident

Hello,

One way you can consider doing this is with the following:

Measure = 

VAR _FLB = Your Calculation
VAR _FCT = Your Calculation
VAR _Cycle = Your Calculation
VAR _Run = Your Calculation

RETURN
_FLB * _FCT * _Cycle * _Run

 

For extra validation, I would ensure each variable computes the result you expect. I'd recommend Returning each variable first before you do the full multiplication. i.e.

Measure = 

VAR _FLB = Your Calculation
//VAR _FCT = Your Calculation
//VAR _Cycle = Your Calculation
//VAR _Run = Your Calculation

RETURN
//_FLB * _FCT * _Cycle * _Run

_FLB

And repeat for each variable so that you can trust you answer

Thank you for your reply. However, I have a problem to appoint these variance respectively in different stage.

Ex. How can I appoint the Y/R % when stage in NR. FLB TEST.

My caculation is below.

Y/R % = DIVIDE(([Input Q'ty]-[Defect Q'ty]),[Input Q'ty])
Defect Q'ty = CALCULATE(COUNT(stage[#]),'stage'[Pass/Fail]="Fail")+0
Input Q'ty = COUNT(stage[#])
ryanyeh1123_0-1715131654129.png

 

Thanks.

Oh, I figure it out. Thank you very much!!!

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.