Forum Discussion

Jayshamone's avatar
Jayshamone
Helper I
5 years ago
Solved

DAX Measure Reference Performance

Hello, I understand that using variables much more efficient than definining calculations multiple times within one measure.  Calculating a ratio however, creates another performance question, I ...
  • amitchandak's avatar
    5 years ago

    Jayshamone , something like this should be better

     

    Measure =
    Var _a =a
    Var _b = b
    return
    if(isblank(_a) ||isblank(_b) ,DIVIDE(a-b; b) , blank)