0

I have a date dimension table and a table that contains the latest date available (only 1 row). There is no relationship between these 2 tables. I'm trying to create a calculated column in Date dimension using this (getting the monthend date of latest previous month and flagging Y or N):

_Flag := IF('Datex'[Date] <=  EOMONTH('Latest Datex'[Latest Date], -1), "Y", "N")

I'm having an error using above. How do I write it?

0

1 Answer 1

0

Use New Measure:

_Flag = IF(MAX('Datex'[Date]) <= EOMONTH(MAX('Latest Datex'[Latest Date]), -1), "Y", "N")

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.