Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
nikhilgarg
Specialist II
Specialist II

Error in expression

Hello,

I am attachine a qvw. In this i want a column to the right of Client that shows TOTAL of count of Accepted values per client. I tried to do it but error is there.

Thanks

1 Solution

Accepted Solutions
sunny_talwar

You need aggregate function around your Count function in the calculated dimension. May be this:

=Aggr(Count({<State = {'Client-Accept', 'Dealer-Accept', 'Accepted'} , ClientId = {'1', '4', '3'} >}State), Client)

if this is what you want?

Capture.PNG

View solution in original post

2 Replies
sunny_talwar

You need aggregate function around your Count function in the calculated dimension. May be this:

=Aggr(Count({<State = {'Client-Accept', 'Dealer-Accept', 'Accepted'} , ClientId = {'1', '4', '3'} >}State), Client)

if this is what you want?

Capture.PNG

alexandros17
Partner - Champion III
Partner - Champion III

Here it is