Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Passing a Variable not working

Hi everyone,   I hope you will be able to help me to understand why the variables in DAX do not work as expected.   If I create a measure as the below, it doesn't work (doesn't return the desired...
  • FreemanZ's avatar
    3 years ago

    hi Anonymous 

    most probably because the filter context is different. What filter context do you have for your first code? filter context includes visual columns, rows, axis, filter pane setting, slicer selection. 

     

    In your first code, try to

    RETURN CurrentQTR

    what do you get?