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

Don'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.

Reply
jwmvanderwilk
Frequent Visitor

Can you use a value of the data type time for a stacked bar diagram?

Can you use a  value of the data type time for  a stacked bar diagram?

 

In Power BI Desktop the only value is (distinct) count, but I want a SUM. I've created a measure, but same result.

 

I use the same query for a paginated SSRS report with no problems. 

Now I want to rebuild the report to Power BI Desktop report.

 

Thanks in advance,

 

Johan van der Wilk

1 ACCEPTED SOLUTION
v-xjiin-msft
Solution Sage
Solution Sage

Hi @jwmvanderwilk

 

As I know, currently it is not supported to sum time in chart.

 

And here's a workaround you can refer:

 

Since you have already created a measure to sum time. You can put this measure in Tooltips. Then when you move your mouse on bar, it will show the total time. Like:

 

 3.PNG

 

Thanks,
Xi Jin.

View solution in original post

2 REPLIES 2
v-xjiin-msft
Solution Sage
Solution Sage

Hi @jwmvanderwilk

 

As I know, currently it is not supported to sum time in chart.

 

And here's a workaround you can refer:

 

Since you have already created a measure to sum time. You can put this measure in Tooltips. Then when you move your mouse on bar, it will show the total time. Like:

 

 3.PNG

 

Thanks,
Xi Jin.

Thanks Xi for your reply,


I hoped that I did something wrong, but it's apparantly not possible.


Tooltip is an option, but I think I will change the datatype from Time to Integer and interperter the values as milliseconds.

Probably I will combine both: Sum the miliseconds and use the measure as a tooltip for readibility.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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