Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Variable (VAR/RETURN) Not working as expected

I am trying to create a Measure in Excel but this is not working as expected.    I have one fact table (which contains hire date) and one calendar table.    The measure I have created is as follo...
  • amitchandak's avatar
    4 years ago

    Anonymous , try

    var hiredate =calculate(min('employee roster'[hire date]), allexpect('employee roster') )

     

    or

     

    var hiredate =calculate(max('employee roster'[hire date]), allexpect('employee roster') )