Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
75 | |
56 | |
38 | |
33 |
User | Count |
---|---|
99 | |
56 | |
51 | |
44 | |
40 |