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

How to show CASTIDs cancelled by?

Hi,

I have to show CASTIDs cancelledby person, team and item. Please can anyone help me with correct expression. as I used one but not sure whether it is correct or not?

Thanks.

Labels (1)
12 Replies
er_mohit
Master II
Master II

Yeah its write due to your Id which is unique

so if you replace distinct keyword then doesn't affect

Count(distinct (IF(notes='cancelled',FFTID)))

or

Count(distinct (IF(notes='cancelled',FFTID)))

or try this if you aggr it for three column

Count(DISTINCT aggr(IF(notes='cancelled',FFTID)

,Team,person,Item))

Not applicable
Author

Thanks and it is not showing the values correct when I complared the values in database. Do I need to change any thing?

manojkulkarni
Partner - Specialist II
Partner - Specialist II

use this in expression, Count(DISTINCT aggr(IF(notes='cancelled',ID),Team,person,Item))

er_mohit
Master II
Master II

Tell me what is actual output comes

Not applicable
Author

Thanks and again the same problem . As in the database for person= RTY where ID=9 the count is 150. but in qvw it is showing 1. Any thing do I need to change?

Not applicable
Author

I have to show this table in qvw.

manojkulkarni
Partner - Specialist II
Partner - Specialist II

Pls find attachment with expected result

Not applicable
Author

Thanks and i tried and again the same problem. is there any issue with expression?

manojkulkarni
Partner - Specialist II
Partner - Specialist II

can you upload qvw file ?