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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Sum Time By Category

Hi All,

 

I have a table with categories ( Red Alert, Yellow Alert etc) and times in munites and hours for each (5:10,10:00 etc). When I place the time on the values column to create a chart, it says "count of alert time". Is it possible to have sum of alert time?? Do I need to create a column formula or measure formula??

 

Also, when creating a dashabord and you want to have filters for staff to use, Is it possible to have it elsewhere that wont interfere with the look of the dashaboard???

 

Any ideas would be greatly appreciated.

2 ACCEPTED SOLUTIONS
jthomson
Solution Sage
Solution Sage

It'd probably be easiest to try to convert your hours:minutes column into minutes (i.e. split it by delimiter into hours and minutes, make new column that multiplies hours by 60 and adds it to minutes) - that'd just be an integer that you can sum on to show your total, you can use formatting on that to get things to display as hours and minutes if needed. Pretty common requirement given PBI doesn't handle durations well, have a search

 

Easiest to dump filters into a filter pane so that they can be collapsed down out of the way for the most part

View solution in original post

Hi @Anonymous ,

 

As for your first queston:

You can use LEFT() and RIGHT() functions to get minutes(hour*60 and minute) from your original data.(like hh:mm:ss). Then transform it to be a number with VALUE() function and add together. 

As for your second queston:

The filter will keep the status which is the same as your desktop. You can let it show default value with this operation.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

4 REPLIES 4
jthomson
Solution Sage
Solution Sage

It'd probably be easiest to try to convert your hours:minutes column into minutes (i.e. split it by delimiter into hours and minutes, make new column that multiplies hours by 60 and adds it to minutes) - that'd just be an integer that you can sum on to show your total, you can use formatting on that to get things to display as hours and minutes if needed. Pretty common requirement given PBI doesn't handle durations well, have a search

 

Easiest to dump filters into a filter pane so that they can be collapsed down out of the way for the most part

Anonymous
Not applicable

Hi,

Can I convert all to minutes with a formula without splitting the column??

Anonymous
Not applicable

Hi,

 

Do I need to create a filter pane?? I am working desktop and want to publish to service. How does that work??

Hi @Anonymous ,

 

As for your first queston:

You can use LEFT() and RIGHT() functions to get minutes(hour*60 and minute) from your original data.(like hh:mm:ss). Then transform it to be a number with VALUE() function and add together. 

As for your second queston:

The filter will keep the status which is the same as your desktop. You can let it show default value with this operation.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.