Forum Discussion

mistermat's avatar
mistermat
Frequent Visitor
7 years ago
Solved

Are variables evaluated only when used?

I'm looking to improve the performance of some of my DAX measures and am considering the option of hoisting my conditional CALCULATE functions as variables.  However, this would only improve performance if the variables are only evaluated on demand.

 

Are variables evaluated only when used?

  • Anonymous's avatar
    Anonymous
    7 years ago

    Excerpt from The Ultimate Guide to DAX

    Please RTFM ;)

     

    Best

    Darek

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Excerpt from The Ultimate Guide to DAX

    Please RTFM ;)

     

    Best

    Darek

    • mistermat's avatar
      mistermat
      Frequent Visitor

      Ahh, thanks.  Maybe I should buy one of these manuals lol