Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Keep the hours over 24

Hi,
I'm trying to convert the working and idle time into power query, but somehow it cant show the exact value from my excel file. 
For example below, i want the 109H 30Min shown in my Power BI. So that i can make stacked bar chart with percentage of each month.
Can someone help me?

 

ImranHakim0105_0-1636430441137.png

 

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

The main reason for this problem is that you need to create a new column in Excel because of the automatic conversion of excel formats:

=B2*24

 

vyalanwumsft_0-1636612073707.png

Then it will change the hour times ,you could convert in power query.

The final output is shown below:

vyalanwumsft_1-1636612764145.png

Or better yet, use the formula directly in Excel to convert it to the format you want and import it into PowerBI
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

 

Is your problem solved?? If so, Would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirement will find the solution quickly and benefit here. Thank you.
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

The main reason for this problem is that you need to create a new column in Excel because of the automatic conversion of excel formats:

=B2*24

 

vyalanwumsft_0-1636612073707.png

Then it will change the hour times ,you could convert in power query.

The final output is shown below:

vyalanwumsft_1-1636612764145.png

Or better yet, use the formula directly in Excel to convert it to the format you want and import it into PowerBI
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , I doubt you can show time on Y-axis or in this format.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.