Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
motzfeldt01
Partner - Contributor II
Partner - Contributor II

Table - show condition

Hi,

I have made this table:

CompanyRankGross Profit
A1100$
B298$
C393$
D490$
E587$
F684$
G782$
H877$

And a filter called "ChosenCompany".

I would like to make a condition, thus the table are only showing:

- the three companies above the chosen company based on rank

- the three companies below the chosen company based on rank

- and the chosen company

Does anyone have an idea how to do this?

22 Replies
motzfeldt01
Partner - Contributor II
Partner - Contributor II
Author

Still not working. Here is what I get:

Table.PNG

The company I selected was 'Mercedes-Benz Danmark A/S, which mean the table should only give me other car companies.

I think it's because I need to relate to my variable 'vChosenCompany' in the expression. What do you think about that?

OmarBenSalem

Have no idea how ur data is constructed, but this works for me ; I'll attach the test application for u so that u can test it and try to adjust it :

jyothish8807
Master II
Master II

Thanks a lot for your explanation Learned something new

Best Regards,
KC