Forum Discussion

JuanSombrero's avatar
JuanSombrero
Frequent Visitor
4 years ago
Solved

DATEADD issue using variables

Hi everybody,   I am running into the following issue. I am conviced it is related to me not propberly understanding (yet) how variables are being calculated, so any explenation would be greatly ap...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi JuanSombrero ,

     

    Variables can be used anywhere but are evaluated in the context in which they are written.

     

    You can refer the below blog for more understanding

    https://radacad.com/caution-when-using-variables-in-dax-and-power-bi

     

    Regards,
    Harsh Nathani
    Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)