The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I have a dataset table that has multiple columns, however, one column is titled "runtime" which contains a date like:
6/14/2017 11:13:52 AM
All of the rows in that table have the same date/time. I'm trying to create a new measure to show the last runtime of the file that was imported. When I try this I get the last day of the year:
Updated = LASTDATE('2017FinancialData'[Runtime].[Date])
I'm obvioulsy not using that function correctly; however, any ideas on the best approach to get it?
Solved! Go to Solution.
My bad. You'd need to remove .[Date] part.
To get date portion only try using.
=DATEVALUE(MAX('2017FinancialData'[Runtime]))
EDIT: LASTDATE function works much the same way.
Try...
Updated = MAX('2017FinancialData'[Runtime].[Date])
Same result....;-(
My bad. You'd need to remove .[Date] part.
To get date portion only try using.
=DATEVALUE(MAX('2017FinancialData'[Runtime]))
EDIT: LASTDATE function works much the same way.
Perfect. Thank you!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
114 | |
79 | |
78 | |
44 | |
39 |
User | Count |
---|---|
150 | |
116 | |
68 | |
64 | |
58 |