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.
Please, I need help,
I need to calculate overtime of employees, and the field has values with time format, but pbi does not accept negative hours or values >= 24:00:00
Hi @Jacy,
Could you give an example sample table and list the desired result? Do you try the solution @MarcelBeug posted?
Best Regards,
Angelia
Only in Power Query, you can use data type duration for values <0 or >= 1 (1 = 1 day = 24 hours).
These will be converted to decimal values when loading into the datamodel.
User | Count |
---|---|
56 | |
54 | |
53 | |
47 | |
30 |
User | Count |
---|---|
173 | |
89 | |
70 | |
46 | |
45 |