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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Doing a Count of Dimension

Hi

Below i have a a sample of my data.

Voucher_NumberDecoder_CodeClaim_DateClaim_Status
SD8 316785V10139142428/08/2013Rejected
SD8 316785V10139142410/09/2013Rejected
SD8 316785V10139142425/09/2013Accepted
SD8 316785V10139142427/09/2013Rejected

I want to create a straight table chart showing the count of claim status.

  •      One column for Count of Rejection and Once column for Count of Accepted with only one dimension which should be the Voucher_Number.

The result im looking for should be as follows.

Voucher_NumberRejectedAccepted
SD8 31678531
1 Solution

Accepted Solutions
Not applicable
Author

Hi

try this,

Dimension Tab: Voucher_Number

Expression Tab:

Rejected:

count({<Claim_Status = {'Rejected'}>}Claim_Status)

Accepted:

count({<Claim_Status = {'Accepted'}>}Claim_Status)

View solution in original post

5 Replies
Not applicable
Author

Hi

try this,

Dimension Tab: Voucher_Number

Expression Tab:

Rejected:

count({<Claim_Status = {'Rejected'}>}Claim_Status)

Accepted:

count({<Claim_Status = {'Accepted'}>}Claim_Status)

Not applicable
Author

Hi Alexis

Thank you. It worked.

Kind regards

Nayan

Not applicable
Author

You're welcome^^

MayilVahanan

HI

Try like this

=Count({<Claim_Status = {'Rejected'}>)Claim_Status)

=Count({<Claim_Status = {'Accepted'}>)Claim_Status)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

please close the thread by picking a correct answer