Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
hey there,
I want a measure that divides time by whole number, and get the result as time.
The first column (data type time) should be divided by the second colum (data type whole number).
The result should be date type 'time'.
thanks in advance!
Solved! Go to Solution.
hello,
create this new column.
newColumn =
VAR seconds =
HOUR(Table[Aantal uren mw + omk]) * 60 * 60 + MINUTE(Table[Aantal uren mw + omk])* 60 + SECOND(Table[Aantal uren mw + omk])
VAR divided = seconds / Table[Aantal stuks]
RETURN
TIME(0, 0, divided)
That works, thank you
hello,
create this new column.
newColumn =
VAR seconds =
HOUR(Table[Aantal uren mw + omk]) * 60 * 60 + MINUTE(Table[Aantal uren mw + omk])* 60 + SECOND(Table[Aantal uren mw + omk])
VAR divided = seconds / Table[Aantal stuks]
RETURN
TIME(0, 0, divided)
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
72 | |
67 | |
65 | |
42 | |
42 |
User | Count |
---|---|
46 | |
38 | |
28 | |
26 | |
26 |