The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello all!
I have a column in the hour format( HH:mm: ss), and I want to show the average of this column, but, I'm connected by DirectQuery, so, no data modeling.
I would like to solve this issue using just one measure, but I'm having problems with this time format, I can't even convert it into seconds.
Any idea?
Thanks
Solved! Go to Solution.
Give this a shot
Seconds_Measure = VAR myvalue = SELECTEDVALUE ( Table1[Column] ) RETURN ( myvalue - TRUNC ( myvalue ) ) * 86400
Give this a shot
Seconds_Measure = VAR myvalue = SELECTEDVALUE ( Table1[Column] ) RETURN ( myvalue - TRUNC ( myvalue ) ) * 86400
Hello, Can you explain this formula a bit more to me?
The "myvalue" is that part of the formula or some custom information that has to be entered?
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
80 | |
71 | |
51 | |
50 |
User | Count |
---|---|
129 | |
123 | |
78 | |
64 | |
60 |