Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |