Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I calculate average time in this way:
AVG_Session_Time =
AVERAGEX(
SUMMARIZE(
Full_Table_Events,
Full_Table_Events[ga_session_id] ,
"_1", MIN('Full_Table_Events'[event_timestamp]) ,
"_2", MAX('Full_Table_Events'[event_timestamp])
),
DATEDIFF([_1],[_2],MINUTE)
)
The result looks like this:
But is not 7 minutes and 84 seconds. This 7 minutes and 84% from the minute. So it must be 00:07:50.
Is it possible to get a result in such a format?
Solved! Go to Solution.
@Galat198 Seems like you would need to convert this to the total number of seconds like:
Column = INT([Column1]) * 60 + (([Column1] - INT([Column1])) * 60)
That's just an example. You could then apply the formatting technique per something like Chelsie Eiden's Duration: https://community.powerbi.com/t5/Quick-Measures-Gallery/Chelsie-Eiden-s-Duration/m-p/793639#M389
@Galat198 Seems like you would need to convert this to the total number of seconds like:
Column = INT([Column1]) * 60 + (([Column1] - INT([Column1])) * 60)
That's just an example. You could then apply the formatting technique per something like Chelsie Eiden's Duration: https://community.powerbi.com/t5/Quick-Measures-Gallery/Chelsie-Eiden-s-Duration/m-p/793639#M389
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
49 | |
26 | |
20 | |
15 | |
12 |
User | Count |
---|---|
57 | |
49 | |
43 | |
19 | |
18 |