Forum Discussion

ryanyeh1123's avatar
ryanyeh1123
Frequent Visitor
2 years ago
Solved

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%*9...
  • ExcelMonke's avatar
    2 years ago

    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