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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

need this as a %

Anybody help us get the following expression to show as a % on a straight table?

100 - (Count (if (Ethnicity = 'NULL',[Client No]))/Count (Ethnicity))

the usual, '#.##' or changing number format doesn't work.

Chris

Labels (1)
14 Replies
sunny_talwar
MVP
MVP

May be this:

Num(1 - (Count({<Ethnicity = {'NULL', 'Refused'}>} Ethnicity)/Count (Ethnicity)), '##.##%')

sunny_talwar
MVP
MVP

Kush don't you think that this can be a set analysis expression rather than if statement?

Kushal_Chawda
MVP
MVP

Yeah. it is better with set analysis, but this should also work

sunny_talwar
MVP
MVP

Agreed

MK_QSL
MVP
MVP

chris.fray  It's more than 3 hours, you are getting replies on this post which I think not much difficult.

It's always a best option to provide a sample app to get a quick answer.