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
Hello,
In report builder, I have a datetime field which currently shows as: dd/mm/yyyy hh:mm:ss
How do I remove the time section and have the field only show the date - dd/mm/yyyy
Thank you
Solved! Go to Solution.
I found the answer
FORMAT ( [datetime field], 'dd/mm/yyyy') as Date
I wasn't putting the as Date (or whatever else I want to call that field) part, but once I added that it worked fine.
I found the answer
FORMAT ( [datetime field], 'dd/mm/yyyy') as Date
I wasn't putting the as Date (or whatever else I want to call that field) part, but once I added that it worked fine.
Hi Ry5,
I am dealing with the exact same issue, where do you put this formula? In a calculated field or in Query Designer?
TIA
Hi Gkk!
I know this is late but hopefully it helps someone out there.
You can accomplish this by going into the field value itself. Right-click on the value within the visual you are attempting to format, and select 'Placeholder Properties'. There you can navigate to 'Number', where you can format the number and date, and select the formatting type you'd like for that value.
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.