Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi All
I am new to BI and would like some help please.
My data has a date colum that shows the last visit to a location. I have used the new mesure (Lastdate) to find the record with the most recent visit and this displys in a table fine. What i need to do is show how many days have lapsed since this last visit.
Table looks like this:
Locations Date of Visit
Office 12-01-18
New Mesure is:
Date of Last Visit = Lastdate (Visits[Dateoflastvisit])
I need to return the value in Days as a number.
Hope you can help, thanks
Solved! Go to Solution.
Try this measure:
Date difference = DATEDIFF(LASTDATE(Table Name[Date of Visit]), TODAY(), DAY)
@Colinu,
If your issue is solved, please accept appropriate replies as answer to close this thread.
Regards,
Lydia
Try this measure:
Date difference = DATEDIFF(LASTDATE(Table Name[Date of Visit]), TODAY(), DAY)
That's what i needed thanks
@Colinu,
If your issue is solved, please accept appropriate replies as answer to close this thread.
Regards,
Lydia
User | Count |
---|---|
106 | |
86 | |
81 | |
72 | |
71 |
User | Count |
---|---|
112 | |
100 | |
98 | |
72 | |
66 |