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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
shahamel
Creator
Creator

Using an if-statement

Dear users,
I have a small problem. I want to see all students who are not registerd at a specific school. So i use this script in a graph. This graph should show all students who are currently taking class at a specific school. The formule works. The only problem i have is that it only works when I select "Volgt opleiding" in the selectioon box which tells me wether a student is or isn't registerd at that school. I would like to have a working formula without having to make a selection in the selection box
if (StatusInschrijving='Volgt opleiding',COUNT(Distinct LeerlingID))
Gr. Sandeep
1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

Hi,

Try the formula using set analysis

Count({< StatusInschrijving = {'Volgt opleiding'} >} DISTINCT LeerlingID)

Hope that helps.

Miguel

View solution in original post

2 Replies
Miguel_Angel_Baeyens

Hi,

Try the formula using set analysis

Count({< StatusInschrijving = {'Volgt opleiding'} >} DISTINCT LeerlingID)

Hope that helps.

Miguel

shahamel
Creator
Creator
Author

Thanx