The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello everyone 🙂
Hope you can help me with my issue.
I have a column in my excel that has a custom formatting: [h]:mm:ss. This is because I need an hour count. So, if it is a date format, it will never have an hour higher than 23:59:59
The problem is that when I import the excel, the column changes to Date, and this problem happens.
Does anyone know how to solve this please?
Thank you in advance.
Stay safe,
Alena
You can edit the query and change the Change Type step so that it does not convert it to a date, you probably want to have it be a Duration type in Power Query or Text.
You might need this later: https://community.powerbi.com/t5/Quick-Measures-Gallery/Chelsie-Eiden-s-Duration/m-p/793639#M389
Hello @Greg_Deckler
Thank you for your reply. If I change the type to duration, it returns error.
I didn't quite understand what you meant by "You can edit the query and change the Change Type step so " I don't have a "change type" in my query editor. I don't know if that's what you were talking about.
Thank you so much for your help. The link you shared will definitely be very useful in other situations 🙂