Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Always 1 selected and Search

I have a qlikview tool that allows the user to search by either "Account Name" or "Account ID".

The amount of data has gotten to the point, that I want to make sure that always 1 is selected (either or/ or both).

When I make "Account Name" always 1 selected.  Then you can no longer search on Account ID, any value that comes up is greyed out, and when selected, it doesn't overwrite current value.  And vice versa with "Account ID"

For instance (see attached example)

Account Name = Beth is selected, which corresponds with account ID = 2.

Account Name is a "always one value selected field"

If someone searches for account ID = 6 (which is frank) I want them to be able to select it, and have it choose frank automatically.

Thanks for your help in advance!

20 Replies
MarcoWedel

Hi Melanie,

another way might be:

QlikCommunity_Thread_120875_Pic2.JPG.jpg

QlikCommunity_Thread_120875_Pic3.JPG.jpg

QlikCommunity_Thread_120875_Pic4.JPG.jpg

table1:

LOAD *

FROM [http://community.qlik.com/servlet/JiveServlet/download/542135-109618/QlikCommunity_Thread_120875.txt] (txt, codepage is 1252, embedded labels, delimiter is '\t', msq);

tabAccounts:

LOAD Distinct

  [Account ID],

  'Account ID/'&[Account ID] as Account

Resident table1;

LOAD Distinct

  [Account ID],

  'Account Name/'&[Account Name] as Account

Resident table1;

QlikCommunity_Thread_120875_Pic1.JPG.jpg

hope this helps

regards

Marco