Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi
I have a column in a table which has dates formatted as text (moved to the left hand side). I used Datevalue to convert them to dates. It did work but each date has time as well. I wonder if I can fornce Datevalue() to return only date. Thank you very much.
Solved! Go to Solution.
try to wrap with FORMAT,
= FORMAT(DATEVALUE(), "YYYY/MM/DD")
@lastnn30 Try:
Column =
VAR __Space = SEARCH(" ",[DateTime])
VAR __Date = LEFT([DateTime],__Space)
VAR __Result = DATEVALUE(__Date)
RETURN
__Result
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
38 | |
31 | |
26 |
User | Count |
---|---|
97 | |
87 | |
43 | |
40 | |
35 |