Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Mahamed_Qlik
Specialist
Specialist

Pick Function

How can we use the calculated dimensions in pick(match) fucntion?

Regards,

Mahamed

6 Replies
tamilarasu
Champion
Champion

Check the below link.

Add Calculated Dimensions

mightyqlikers
Creator III
Creator III

HI,

pick(match(MONTHFIELD,'JAN','FEB','MAR','APR','MAY'),1,2,3,4,5)

Regards
$@M.

Mahamed_Qlik
Specialist
Specialist
Author

What if

I have cycliv group name as Group1

Group1 has dimensions like Month, Year,

But Month is calculated then? (if(isnull(Month),'Unknown',Month)

Pick(Match(Group1),'Month','Year'),'1','2')

It works fine for Year not for Month

amayuresh
Creator III
Creator III

You may use Pick(Match()) to get quarter as,

=PICK(MATCH(Order_Month,'Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'),'Q1','Q1','Q1','Q2','Q2','Q2','Q3','Q3','Q3','Q4','Q4','Q4')

Mahamed_Qlik
Specialist
Specialist
Author

Thank you mayuresh.

Issue has been already resolved.

Chanty4u
MVP
MVP

nice. Please close the thread if u get the solution by making correct and helpful answers