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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
parthpatelalex
New Member

Bar or Line chart for Time value.

Hello All,

I am trying to create a chart for total time taken on call. I have just two labels one is Name and another one is total talktime.
Below is the snip of it and I am not able to create a chart of it as it taking as count! anyone help me out how I can do this??

parthpatelalex_0-1711329067090.png 

 

How I can create chart like below in power bi?

parthpatelalex_1-1711329196317.png

 



Please help me out with it!! Thank you in advance.

3 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

You have the wrong X axis for a line chart.  There is no correlation between the names, so they should not be linked via a line.  A column chart is more appropriate.

View solution in original post

Anonymous
Not applicable

Hi @parthpatelalex ,

You may consider converting the time type to a numeric type. For example create a new calculated column and convert it to minutes:

Taktime2 = HOUR('Table'[Talktime]) * 60 + MINUTE('Table'[Talktime]) + SECOND('Table'[Talktime]) / 60

vcgaomsft_0-1711432347361.png

I also second lbendlin's suggestion to use column charts:

vcgaomsft_1-1711432508632.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly--How to provide sample data in the Power BI Forum--China Power BI User Group

View solution in original post

Thank you, I have convert the time into seconds and then asign actual data values to the Detailed Labels field and its works properly..

Thanks again 🙂

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @parthpatelalex ,

You may consider converting the time type to a numeric type. For example create a new calculated column and convert it to minutes:

Taktime2 = HOUR('Table'[Talktime]) * 60 + MINUTE('Table'[Talktime]) + SECOND('Table'[Talktime]) / 60

vcgaomsft_0-1711432347361.png

I also second lbendlin's suggestion to use column charts:

vcgaomsft_1-1711432508632.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly--How to provide sample data in the Power BI Forum--China Power BI User Group

Thank you, I have convert the time into seconds and then asign actual data values to the Detailed Labels field and its works properly..

Thanks again 🙂

 

lbendlin
Super User
Super User

You have the wrong X axis for a line chart.  There is no correlation between the names, so they should not be linked via a line.  A column chart is more appropriate.

Thank you! 🙂 Yes the column charts works perfectly for me!

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors