Forum Discussion
tecumseh
8 months agoResolver III
DAX Query Format Date
Hi all, Using PBID Sept, 2025. Is it possible to return just a formatted date without first referencing the date column For example, I'm doing this EVALUATE SUMMARIZECOLUMNS( Bookings[Date]...
- 7 months ago
You can use the following DAX query to return only a formatted date, avoiding the ugly datetime string when copying to Excel:
EVALUATE
SELECTCOLUMNS(
Bookings,
"xDate", FORMAT(Bookings[Date], "MM/DD/YYYY")
)- This will output only the xDate column with dates formatted as MM/DD/YYYY.
- Excel will see the result as plain text, so the original datetime format like Wed, 01 Jan 2025 00:00:00 is avoided.
- You don’t need to reference the original Bookings[Date] column separately, which keeps your solution clean and avoids violating DRY principles.
If this answer helped, please click Kudos or Accept as Solution.Best regards,
Vaibhav Mahajan
- 7 months ago
v-ssriganesh
8 months agoCommunity Support
Hi tecumseh,
Thank you for posting your query in the Microsoft Fabric Community Forum, and thanks to Hans-Georg_Puls, Kedar_Pande, Ashish_Mathur & Anand24 for sharing valuable insights.
Could you please confirm if your query has been resolved by the provided solutions? This would be helpful for other members who may encounter similar issues.
Thank you for being part of the Microsoft Fabric Community.