Skip to main content
Announcements
Qlik Community Office Hours - Bring your Ideation questions- May 15th, 11 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
smilingjohn
Specialist
Specialist

Insert a field

Hi All,

Please find the attachment of the QVW file

if you look i have a table chart and a filter called Product Area ahich has any product in that .
My requrement is to bring the O&D Product which should have below mentioned product within that .

Tho achive this within Product area i have taken the resident of the file then conacatenated it and now i have the O&D product ..

if(Match(Product_Area,'Airports','EndToEnd','Host Solutions',
'PSSPayments','Reservations','Ticketing','TTS','Ticketing_T2',),'O&DS') as Product_Area,


I am confused what i have done to achive it in the cript is corret or not ?

Thanks in Advance

1 Solution

Accepted Solutions
jyothish8807
Master II
Master II

Yes, the approach is correct. Just that you might get double count if the filters are not used correctly.

 

Best Regards,
KC

View solution in original post

5 Replies
jyothish8807
Master II
Master II

Hi John,

Try this:

if(Match(Product_Area,'Airports','EndToEnd','Host Solutions',
'PSSPayments','Reservations','Ticketing','TTS','Ticketing_T2'),'O&DS') as Product_Area,

 

// I have just removed an extra ','.

Best Regards,
KC
smilingjohn
Specialist
Specialist
Author

Hi Jyotish, 

 

What i have done in the script just wanted to confirm is this the right way of achieving the extra product area ? 

 

Thanks 

Anil_Babu_Samineni

May be this?

if(Match(Product_Area,'Airports','EndToEnd','Host Solutions',
'PSSPayments','Reservations','Ticketing','TTS','Ticketing_T2'),'O&DS', Product_Area) as Product_Area

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
jyothish8807
Master II
Master II

Yes, the approach is correct. Just that you might get double count if the filters are not used correctly.

 

Best Regards,
KC
smilingjohn
Specialist
Specialist
Author

Exactly the counts are doubled ...

This is where i am confused ...