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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Hariz
Contributor II
Contributor II

Filter a column using Filter Pane

Hi,

 

I am new to qliksense and struggling to find a way to filter a table using filter pane. I have table with below data. 

DocIdAccountNamesAccountIdsYear
Doc1AA;BB;CC123;276;4322000
Doc2AA;DE123;472001
Doc3AAA1232002
Doc4DE;VC47;292004
Doc5BB;CC276;4322006
Doc6BBB2762008
Doc7DE;CC47;4322003
Doc8BBB;CC276;4322004
Doc9AAA;DE123;472003

 

I need a filter pane in qliksense  to filter by AccountName but internally it should filter using accountId. 

 Expected Result : When I apply filter by Acount Name : "AA". I should see AccountNames like below table. It should give the result of AccountId 123. 

FilterPane should display individual accountName in the filter values and internally it should use accoundID to filter the table

DocIdAccountNamesAccountIdsYear
Doc1AA;BB;CC123;276;4322000
Doc2AA;DE123;472001
Doc3AAA1232002
Doc9AAA;DE123;472003

 

Kindly help to find a solution for this problem.

Thanks in advance!

Labels (2)
3 Replies
AshutoshBhumkar
Partner - Specialist
Partner - Specialist

Hi,

Maybe like below,

E.g

Table:
Load DocId,AccountIds,Year,AccounNames,SubField(AccountNames,';') as Accounts

Inline [
DocId, AccountNames, AccountIds, Year
Doc1, AA;BB;CC, 123;276;432, 2000
Doc2, AA;DE, 123;47, 2001
Doc3, AAA, 123, 2002
Doc4, DE;VC, 47;29, 2004
Doc5, BB;CC, 276;432, 2006
Doc6, BBB, 276, 2008
Doc7, DE;CC, 47;432, 2003
Doc8, BBB;CC, 276;432, 2004
Doc9, AAA;DE, 123;47, 2003

];

Output:

AshutoshBhumkar_0-1633578827191.png

My question is how are you mapping AA with 123 and still want AAA to reflect 123 on selection of AA.

You need to create a custom  mapping in that case like below.

AA,AA,123

AA,AAA,123

 

Thanks,

Ashutosh

 

Hariz
Contributor II
Contributor II
Author

Hi Ashutosh,

Thanks for your response.

There is no direct mapping table available. AccountNames and AccountIds columns are semicolon separated. Account name "AA" is assocated with Account Id "123". Account name "AAA" is result of name change to account name "AA" for the corresponding account id "123" 

I am not able to filter in filter pane by AA to get all the results for AA and AAA.

AshutoshBhumkar
Partner - Specialist
Partner - Specialist

Ok. You can then create a custom dimension like below.

I am not sure if that'll work in your case or not. Confirm this and give a try.

 

Pick(Wildmatch(Accounts,'*AA*','*BB*')+1,Accounts,'AA','BB') as NewAccounts

 

This will generate

AA for both AA and AAA

&

BB for both BB and BBB