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: 
Eugene81
Contributor II
Contributor II

How do I filter a straight table in QlikSense

Hello Everyone,

I have a question regarding filtering a straight table.
I have a list of users that can access applications (this is an exemple, the database is larger)

  User  |  App
-------------------
User 1 | App1
User 4 | App1
User 2 | App1
User 2 | App2
User 3 | App2
User 4 | App3
User 3 | App3
User 2 | App3

I want to have 3 tables that look like this :

Table - App1
-------------------
User1
User 4
User 2

Table - App2
-------------------
User2
User3

Table - App3
-------------------
User 4
User 3
User 2

the count function work : count({<App={'App1'}>}[User])
but the way to show the only list doesn't, I've tried :

Aggr(({<{App={'App1'}>} [User]), [User])
if (App={'App1'},[User],'')
only({<{App={'App1'}>}[User])

Can someone please help me on this problem ?
Thanks in advance

Labels (1)
1 Solution

Accepted Solutions
lennart_mo
Creator II
Creator II

Hi @Eugene81 

I think you may have just used a slightly wrong syntax.
Try this:

if(App='App1', User)

Hope this helps!

View solution in original post

2 Replies
lennart_mo
Creator II
Creator II

Hi @Eugene81 

I think you may have just used a slightly wrong syntax.
Try this:

if(App='App1', User)

Hope this helps!

Eugene81
Contributor II
Contributor II
Author

Thank you so much @lennart_mo it perfectly worked

Subject solved