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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to count "Yes" from the cells in different column?

Hello guys I need a little help.

I have this example table:

UserFacebookLinkedinTwitterInstagram

A

YesYesNoNo
BYesYesYesYes
CNoYesNoYes
DYesNoYesNo

How can I count "Yes" from this four different columns?

14 Replies
MarcoWedel

Please close your thread if your initial question is answered:

Qlik Community Tip: Marking Replies as Correct or Helpful

thanks

regards

Marco

vishsaggi
Champion III
Champion III

Did you try adding User as your Dimension?

shizia_mirza
Contributor
Contributor

I've been trying to find a way where you can count values across the columns - so using the original example is there a way to count how many users have selected 'Yes' for all four platforms?

Not applicable
Author

I try and works but I don't want to show wich user have or not facebook for example. I need just to show the amount of users who have and the amount who doesn't have.

vishsaggi
Champion III
Champion III

Is this something you are looking for? If yes, just follow the Sunny's script and use Platform as your dimension and count() as your expression.

Capture.PNG

Expr1: = Count({<Response = {'Yes'}>} Response)

Expr2: = Count({<Response -= {'Yes'}>} Response)