Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
nareshthavidishetty
Creator III
Creator III

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....

6 Replies
robert_mika
Master III
Master III

Use Applymap in load statemtent (script) instead (this is faster that match)

Don't join - use Applymap instead

Feeling Qlikngry?

How To /Missing Manual(18 articles)

sunny_talwar

Not sure what you mean, but Pick can work like this:

=Pick(StateNum, 'Maharashtra', 'Punjab', 'Haryana', 'Kerala')

tresesco
MVP
MVP

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.

PrashantSangle

Hi,

Can you some more details of both tables.

How they are associated with each Other???

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
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 🙂
nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II

Can u share sample data ?

engishfaque
Specialist III
Specialist III

Dear Naresh,

Here it is,

=Pick(wildmatch(YourFieldName, 'Maharashtra', 'Punjab', 'Haryana', 'Kerala', '*'), Red(), Green(), Blue(), Black(), LightGray())

Kind regards,

Ishfaque Ahmed