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,
How to do "total time" / "total users" = average time? My goal here is to get an average time per user.
The Time I have is in decimal form. I created a measure and turn them into "hour" : "min".
Measure I have: Time = FORMAT(AVERAGE('xxx'[Time on page]),"nn:ss")
Then, I tried to use the measure to divide users. It won't allow me to do that.
Then I tried to use the decimal numbers to divide users, it returned 0.
Please help!
Hi @Waaaaaa ,
Could you tell me if my post helps you a little? If it is, kindly Accept it as the solution to make the thread closed. More people will benefit from it.Hope to hear from you😀
Best Regards,
Eyelyn Qin
Hi @Waaaaaa ,
Not very clear about your expected output... But if you want to display the same average value on each row,please try:
Measure = CALCULATE( AVERAGE('Table'[Time on Page]),ALLSELECTED('Table'))
Or please provide more details to help us clarify your scenario.
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Waaaaaa Chelsie Eiden's Duration - Microsoft Power BI Community
@Greg_Deckler I am not sure how the article going to solve my issue here. Can you please tell me how can I get the average "mm:ss" instead of 0? Thanks!
@Waaaaaa You can't divide using the measure because it is text. So, if you use Chelsie Eiden's Duration and keep the number as a number (don't use FORMAT) then you could use the measure.
@Greg_Deckler The column "time on page" is in decimal. How can I change these decimal numbers to seconds? Thanks a lot!
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 |
---|---|
115 | |
100 | |
88 | |
68 | |
61 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |