This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
I have a duration column in excel, what data type should i use when import into power bi? it's all 'Error' when i select 'duration' in power bi.
Solved! Go to Solution.
Hi there, you would have to change it to Text, due to it having the ":" which is seen as text.
What I would suggest is if you want to calculate the duration in Power BI is to have the Source Date Time in order to do this, can modify it all to be seconds. Then from there you can then roll it up to Hours, Days etc.
Here is another link referencing how they did it with Date and Times
http://community.powerbi.com/t5/Desktop/Sum-of-H-MM-SS/m-p/124007
Hi there, you would have to change it to Text, due to it having the ":" which is seen as text.
What I would suggest is if you want to calculate the duration in Power BI is to have the Source Date Time in order to do this, can modify it all to be seconds. Then from there you can then roll it up to Hours, Days etc.
Here is another link referencing how they did it with Date and Times
http://community.powerbi.com/t5/Desktop/Sum-of-H-MM-SS/m-p/124007
Your link is invalid.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 37 | |
| 32 | |
| 27 | |
| 24 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 50 | |
| 31 | |
| 25 | |
| 24 |