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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

If wildmatch to return data for selected values

Hi sorry guys I know this is a basic question but how do I return the names and associated data for say a list of people :

So say I've a list of names

PERSON, TRAVEL

tom, economy

bob, economy

jerry, business

mark, economy

adam, business

smith, business

So I want to show the names and the class of travel for all those who travelled 'business' ie jerry, adam and smith. I know this is a basic example but it will set me up going forward ... thanks

4 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Add a table box with both fields. Then click on the value 'business' to select it. The table box will show the persons who traveled business class.


talk is cheap, supply exceeds demand
Not applicable
Author

Sorry just to be clear I meant either as a calculated dimension or in script

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

If you want to load only those records where the value of TRAVEL is 'business' you can use something like this as script:

MyTable:

LOAD PERSON, TRAVEL

FROM ...mysource...

WHERE TRAVEL = 'Business';


talk is cheap, supply exceeds demand
mohammadkhatimi
Partner - Specialist
Partner - Specialist

Hi,

Try this in Calculated Dimension:

if(TRAVEL='business',PERSON)

Regards,

Er.Mohammad