This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi All,
I am using data imported from text file. One of the column has time value "mm:ss.0" which is considered as text.
I am trying to convert the same to time format but it gives me an error. I have only time values in volumn not date and time.
Error Message after Conversion
Actual time value as text in column
I am new to Power BI and any help will be helpful!
Thanks,
Rax
Solved! Go to Solution.
Hi Rax,
Actually, the mm:ss isn't a valid time format. It's better to call it duration. I would suggest you add one step to replace these values and then change the format to Time. Please refer to the snapshot below.
#"Replaced Value" = Table.ReplaceValue(Source,each [Time],each "00:" & Text.Middle([Time], 0, 5),Replacer.ReplaceText,{"Time"}),
Best Regards,
Dale
Hi Rax,
Actually, the mm:ss isn't a valid time format. It's better to call it duration. I would suggest you add one step to replace these values and then change the format to Time. Please refer to the snapshot below.
#"Replaced Value" = Table.ReplaceValue(Source,each [Time],each "00:" & Text.Middle([Time], 0, 5),Replacer.ReplaceText,{"Time"}),
Best Regards,
Dale
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 |
|---|---|
| 32 | |
| 26 | |
| 21 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 65 | |
| 41 | |
| 28 | |
| 22 | |
| 22 |