Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

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
MVP
MVP

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