We're giving away 30 tickets for FREE! Share your story, your vision, or your hustle and tell us why YOU deserve a ticket.
Apply nowWin a FREE 3 Day Ticket to FabCon Vienna. Apply now
Hey!
I have a goal of showing average completed chats by hour interval and am needing help with some type of average formula that will not only work for each row, but the overall column total. My current formula yields the correct average figures for all rows and avg total of each day of week, EXCEPT the overall total for AM/PM.
Ideally for the A.M. portion, it should be averaging together (20+21+18)/3, which is 20. Right now it's showing overall average of 10.
Current formula
Thank you in advance for the help
Hi @veeayyell
please try
Avg Chat Per Hour =
AVERAGEX (
VALUES ( 'Chat Queue'[Time] ),
CALCULATE (
AVERAGEX (
'Chat Queue',
DISTINCTCOUNT ( 'Chat Queue'[Chat Name Request] )
/ (
COUNT ( CalendarTable[Day of Week] )
* DISTINCTCOUNT ( 'Chat Queue'[Hour Timekey] )
)
)
)
)
User | Count |
---|---|
14 | |
12 | |
7 | |
7 | |
6 |
User | Count |
---|---|
26 | |
20 | |
14 | |
11 | |
5 |