Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi
I am creating a quick BI report using data in excel from a third party company. Within the excel data, a field exist for 'time_spent_on_a_call.' When I imported this data into query, I changed this field's data type to by duration. Once I import the data and try to use this field this field is now data type decimal.
Any way the this field in the visual can display as it displays in the query and excel? (meaning show like this "00:01:23") Is the only option to turn this to a text field? Doing so I would then be able to sum.
Any suggestions?
Thanks in advance!
Solved! Go to Solution.
You won't be able to SUM, AVERAGE, etc. with them in text form, so you need to either parse them out and convert to numbers or use the approach I suggested (which I think will be easier).
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
You won't be able to SUM, AVERAGE, etc. with them in text form, so you need to either parse them out and convert to numbers or use the approach I suggested (which I think will be easier).
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Okay thanks!
In the query editor add a column using Duration.TotalSeconds([DurationColumn])/60 to get minutes in decimal form you can then use in analyses.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Above is a piece of the data this company provided in excel. (Which I then loaded into BI)
The duration periods already provided in Intervals. Is it best just to use these as TEXT fields??
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 41 | |
| 37 | |
| 32 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 66 | |
| 58 | |
| 31 | |
| 25 | |
| 24 |