Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
97 | |
69 | |
46 | |
39 | |
33 |
User | Count |
---|---|
159 | |
107 | |
61 | |
51 | |
40 |