
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Match function
Hi,
I have two tables one table contains column State which contains 1,2,3,4,5 and another table contains a column called state which contains Maharashtra,punjab,Haryana,Kerala.
Now i need to define a pivot table from both the table ,can you please define the process by using match function.
1=Maharashtra
2=punjab
3=Haryana
4=Kerala....


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use Applymap in load statemtent (script) instead (this is faster that match)
Don't join - use Applymap instead
Feeling Qlikngry?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not sure what you mean, but Pick can work like this:
=Pick(StateNum, 'Maharashtra', 'Punjab', 'Haryana', 'Kerala')

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are the tables linked? If linked properly, match() might not be required. QV does it by association automatically. Try to explain a bit more with data sample.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you some more details of both tables.
How they are associated with each Other???
Regards,
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can u share sample data ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Naresh,
Here it is,
=Pick(wildmatch(YourFieldName, 'Maharashtra', 'Punjab', 'Haryana', 'Kerala', '*'), Red(), Green(), Blue(), Black(), LightGray())
Kind regards,
Ishfaque Ahmed
