Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
In my souce have duration given as mm:ss, for example: 02:15 as in 2 minutes and 15 sec.
Power BI understands this 02:15:00 as 02 hours 15 minutes and 00 seconds. Any idea how could I get it to understand it as min:sec.
I can add "00:" infront of every value in my source but I would like to find a better way.
Solved! Go to Solution.
There is no better way other than pushing any transformation/conversion to source itself. If you do it at Power BI side, at the best, it will slightly underperform than source.
If you want to do it in Power BI, before Changed Type step, prefix "00:" in this column and then do Changed type. You can issue a Table.Replace command. Example below where Time is the column name
= Table.ReplaceValue(Source,each [Time],each "00:"&[Time],Replacer.ReplaceValue,{"Time"})Default behavior of Power BI can't be changed.
Hi @davidz106 ,
What about adding it in Power Query before loading to the model?
There is no better way other than pushing any transformation/conversion to source itself. If you do it at Power BI side, at the best, it will slightly underperform than source.
If you want to do it in Power BI, before Changed Type step, prefix "00:" in this column and then do Changed type. You can issue a Table.Replace command. Example below where Time is the column name
= Table.ReplaceValue(Source,each [Time],each "00:"&[Time],Replacer.ReplaceValue,{"Time"})Default behavior of Power BI can't be changed.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.