Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to change expression?


Hi,

I have expression as below in Straight table. This will gives the number of students we got in that working week

Count(DISTINCT {<Post={'Enter'}>}StudentID)

I need to change the expression to get without NULL values. can anyone help me how to change this?

Thanks.

5 Replies
Not applicable
Author

Hey Amelia,

Nulls wont be counted. It will only count for Post = Enter

Thanks

AJ

MK_QSL
MVP
MVP

Count(DISTINCT {<Post={'Enter'}>}NOT ISNULL(StudentID))

Not applicable
Author

Attached a sample file to show that your expression wont count null values.

Thanks

AJ

Not applicable
Author

Thanks and If I want to create how many students entered each week means will the below  work?

Dimension 1=IF(FiscalWeekSerial>=$(curFiscalWeekSeq)-4,FiscalWeek)

Dimension 2 = Organisation

Expression= Count(DISTINCT {<Post={'Enter'}>}StudentID)

MK_QSL
MVP
MVP

Dear Amelia,

If you post your sample file, it will be more helpful to work on.