Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
hi
i have a coulmn showing talk duration
but i wanted to display the avg of talk duration.
Solved! Go to Solution.
Hi, @Anonymous
You can try the following steps.
1 Create a Calculated column
duration = HOUR('Table'[Talk Duration])*3600+MINUTE('Table'[Talk Duration])*60+SECOND('Table'[Talk Duration])
2 Create a Measure
Average_Duration =
VAR avr = AVERAGE ( 'Table'[duration] ) RETURN TIME ( 0, 0, avr )
The result looks like this:
Here is the pbix.
Best Regards,
Caiyun Zheng
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
You can try the following steps.
1 Create a Calculated column
duration = HOUR('Table'[Talk Duration])*3600+MINUTE('Table'[Talk Duration])*60+SECOND('Table'[Talk Duration])
2 Create a Measure
Average_Duration =
VAR avr = AVERAGE ( 'Table'[duration] ) RETURN TIME ( 0, 0, avr )
The result looks like this:
Here is the pbix.
Best Regards,
Caiyun Zheng
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous
you can create a meausre
measure=average(table[Talk Duration])
Proud to be a Super User!
hi ryan
i have tried applying ur query but unable to display the value
@Anonymous
please change the data type to time and make sure your raw data is correct.
I did a test, the year month day value maybe affect the result. If so, please remove them and only keep the time value.
.
average seconds
average = AVERAGE('Table'[Talk Duration])*60*60*24
Proud to be a Super User!
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 |
---|---|
109 | |
102 | |
86 | |
77 | |
70 |
User | Count |
---|---|
120 | |
108 | |
98 | |
83 | |
77 |