Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Solved! Go to Solution.
Hello @stvn43,
You can use the TIME function in DAX to create a duration value instead of using the FORMAT function.
Difference =
VAR EditTime =
IF([editbegintime] <= 0, TIME(0, 0, 0),
TimeToEdit[editendtime] - TimeToEdit[editbegintime])
RETURN EditTime
Time to Caption =
VAR TTC = AVERAGEX(FILTER(TimeToEdit, [service] = "Captioning"), [Difference])
RETURN FORMAT(TTC, "HH:MM:SS")
By using the TIME function, you can now use the AverageX function on the Difference column because it returns a duration value instead of a string.
I hope this helps! Let me know if you have any further questions.
Many thanks, Sahir!
Hello @stvn43,
You can use the TIME function in DAX to create a duration value instead of using the FORMAT function.
Difference =
VAR EditTime =
IF([editbegintime] <= 0, TIME(0, 0, 0),
TimeToEdit[editendtime] - TimeToEdit[editbegintime])
RETURN EditTime
Time to Caption =
VAR TTC = AVERAGEX(FILTER(TimeToEdit, [service] = "Captioning"), [Difference])
RETURN FORMAT(TTC, "HH:MM:SS")
By using the TIME function, you can now use the AverageX function on the Difference column because it returns a duration value instead of a string.
I hope this helps! Let me know if you have any further questions.
User | Count |
---|---|
84 | |
77 | |
76 | |
43 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
43 |