- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Formatting time value from "hh:mm:ss" to "hh:mm AM/PM"
Hey,
Is it possible to change the time format value from "hh:mm:ss" to "hh:mm AM/PM" (24 hours) in Power Query?
Thanks, Ido
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

You can just choose that format for that column once the table is loaded on the Column Tools tab.
Regards,
Pat
Did I answer your question? Mark my post as a solution! Kudos are also appreciated!
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
@mahoneypa HoosierBI on YouTube
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @buser1 ,
Ok found a way to do this in Power Query, by selecting your column and selecting Format - Trim. If you are on the Add Column tab it will place it in a new column. If you are on the Transform Tab, it will change the column that you selected. However it changes it to Text. Then if that will work for you for whatever additional transformations, you need to do in Power Query great! If however you bring it down to Power BI and need to change it back into Time, you can select that format. Please see below:
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

You can just choose that format for that column once the table is loaded on the Column Tools tab.
Regards,
Pat
Did I answer your question? Mark my post as a solution! Kudos are also appreciated!
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
@mahoneypa HoosierBI on YouTube
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @buser1 ,
In PQ try this. You may have to convert the column to text.
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi, thanks for the response.
I actually need to convert from this specific format:"hh:mm:ss" to "hh:mm AM/PM" (24 hours and without seconds)
Is there a way to do this in PQ or is the only right way to do it in the model?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @buser1 ,
Ok found a way to do this in Power Query, by selecting your column and selecting Format - Trim. If you are on the Add Column tab it will place it in a new column. If you are on the Transform Tab, it will change the column that you selected. However it changes it to Text. Then if that will work for you for whatever additional transformations, you need to do in Power Query great! If however you bring it down to Power BI and need to change it back into Time, you can select that format. Please see below:
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Nice. You can also use:

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
06-27-2024 07:15 AM | |||
08-07-2024 02:06 PM | |||
07-09-2021 06:40 AM | |||
05-07-2024 09:38 AM | |||
01-02-2024 07:47 AM |
User | Count |
---|---|
31 | |
31 | |
20 | |
15 | |
12 |
User | Count |
---|---|
18 | |
17 | |
16 | |
9 | |
9 |