Forum Discussion
Anonymous
4 years agoNot applicable
Conflict between Filter and Measure
Dear Powerbi Gods, My measure and new column/Filter is conflicting with each other. I have 2 databases. Customer_database and Visit_database. They are linked by Customer and Customer Visited re...
- 4 years ago
Anonymous , Try like
Days from Last Visit= IF(ISBLANK(max('Visit_Database'[Date of Visit])),0 ,DATEDIFF(Max('Visit_Database'[Date of Visit]),TODAY() ,DAY))
amitchandak
4 years agoSuper User
Anonymous , Try like
Days from Last Visit= IF(ISBLANK(max('Visit_Database'[Date of Visit])),0 ,DATEDIFF(Max('Visit_Database'[Date of Visit]),TODAY() ,DAY))
Anonymous
4 years agoNot applicable
Thanks amitchandak. Really appreciate your reply!!
I managed to solve the issue!!
I made the measure a calculated column instead and use the dax format as you provided but max date not working for me. But lastdate works for me.