March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I am sharing my Pbix file here.
I am trying to convert from datetime like
2/23/2020 10:08:00 AM to 10:00 AM.
The reason is that I am trying to create visual like this:
I have a column called "IncidentDate".
I was able to convert the DateTime to Hour like this:
But, what I am trying to get as a final product is like:
10:00 AM
8:00 AM
3:00 PM
How do I go about doing this?
Thanks.
Solved! Go to Solution.
@JustinDoh1 Well, one way would be to create a new column like this:
Column = IF([Hour]<=12,[Hour] & ":00 AM", ([Hour]-12) & ":00 PM")
@JustinDoh1 Well, one way would be to create a new column like this:
Column = IF([Hour]<=12,[Hour] & ":00 AM", ([Hour]-12) & ":00 PM")
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
125 | |
84 | |
66 | |
54 | |
43 |
User | Count |
---|---|
203 | |
106 | |
98 | |
65 | |
56 |