Forum Discussion
How to create a custom column that compares dates from two different tables in one of the tables?
- 8 years ago
Hi ,
Based on the scenario, this is what i did as a replicate of your scenario.
Then created a column in table one as
Date Check Flag = IF([Date]> RELATED(Table4[Date]),1,0)
Alternatively you can create two column in table as
Table4 Date = RELATED(Table4[Date])
Check Flag = IF([Date]>[Table4 Date],1,0)
This gives the required flag for you
Hope this solves your issue.
Regards.
Hi ,
Based on the scenario, this is what i did as a replicate of your scenario.
Then created a column in table one as
Date Check Flag = IF([Date]> RELATED(Table4[Date]),1,0)
Alternatively you can create two column in table as
Table4 Date = RELATED(Table4[Date])
Check Flag = IF([Date]>[Table4 Date],1,0)
This gives the required flag for you
Hope this solves your issue.
Regards.
- VictorR8 years agoFrequent Visitor
Thank you very much! It was the "RELATED" function that solved this and gave me the expected results I was looking for!