Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Can not find name

Hello!

 

I seem to have a returning problem with dax and dont know how to fix it. Very often when i want to referr to a column and make some changes by using measures. more often than not i get a "Cannot find name" message. 

For example now i am working on a EOMONTH function and again when i type in the following:

EOM.ProcessDate = EOMONTH('Dimension1'[ProcessDate],0). I get the same error message.
 
Im looking forward to your response, thanks!

2 Replies

  • Anonymous , In measure, you can not refer to a column without using some aggregation function 

     

    Try like

    EOM.ProcessDate = EOMONTH(max('Dimension1'[ProcessDate]),0)

  • JirkaZ's avatar
    JirkaZ
    Icon for Solution Specialist rankSolution Specialist

    So where does the "Dimension1[ProcessDate]" and was it suggested by the intellisense?