Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
RK121
Contributor III
Contributor III

AVG Count Set Analysis

Hello,

I am trying to apply set analysis on the table to calculate the Average Count for different types of tickets by Users for the current year.

I also have Couple types of Ticket Action.

I am using this formula, but it doesn't calculate avg for current year per User, per Ticket Action.

=Avg(Aggr(count({$<Year={'=Year(Today())'}>}([Trouble Ticket ID])),User,[Ticket Action]))

RK121_0-1665436204496.png

 

Could someone please advise? Thank you in advance! 

 

Labels (4)
1 Solution

Accepted Solutions
vinieme12
Champion III
Champion III

=count({$<Year={'=Year(Today())'}>}([Trouble Ticket ID])

/ count({$<Year={'=Year(Today())'}>}([User])

/count({$<Year={'=Year(Today())'}>}([Ticket Action])

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

3 Replies
vinieme12
Champion III
Champion III

=count({$<Year={'=Year(Today())'}>}([Trouble Ticket ID])

/ count({$<Year={'=Year(Today())'}>}([User])

/count({$<Year={'=Year(Today())'}>}([Ticket Action])

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
RK121
Contributor III
Contributor III
Author

Hi Vinieme, it doesn't work.

Each part gives the same result. I am trying to find Average Count for this year per user.

RK121_0-1665496041594.png

 

vinieme12
Champion III
Champion III

can you post a sample app ?

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.