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: 
Not applicable

Straight table count values

Hi

I have a straight table in which i am calculating a count

My requirement is, if i have a value 1 in count it should show as 'Y'

My requirement is, if i have a value 0 in count it should show as 'N'


   

employeestatuscount({<status=={'hold'>}>employee)my expexted out put
aaaahold1       y
bbbun hold0       n
ccchold1        y
dddunhold0        n

Thank you



Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be this:

Pick(Count({<status={'hold'>}>employee) + 1, 'n', 'y')

View solution in original post

2 Replies
sunny_talwar
MVP
MVP

May be this:

Pick(Count({<status={'hold'>}>employee) + 1, 'n', 'y')

Not applicable
Author

Thank you so much Sunny