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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
Super User
Super User

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





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

3 REPLIES 3
ExcelMonke
Super User
Super User

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





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors