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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

reg-sorting

Hi Team

I have to sort the product in the straight table ;

i have products like synergy,ethics,oncolog,promot,ptc

in my previous UAT i have in correct format but in the prod the order is misplaced and it was ethics

                                                                                                                                     synergy

                                                                                                                                     oncology

                                                                                                                                     promot

                                                                                                                                     ptc

i have done  Ascending and given order ,and text also in Ascending.

but also iam getting wrong

i want to display my products in my production file like  synergis

                                                                                 ethics

                                                                                 oncology

                                                                                 promot

                                                                                 ptc

can any please help

27 Replies
ashfaq_haseeb
Champion III
Champion III

Hi,

Use below as your sort string expression.

Dual("Your Field",match("YourField" ,'synergis','ethics','oncology','promot','ptc'))

Regards

ASHFAQ

stigchel
Partner - Master
Partner - Master

You can use a dual load, use a mapping load foor the product order first. See attached

robert_mika
Master III
Master III

More about Dual:

How to use- Dual()

Not applicable
Author

hi i have tried but not working

nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II

Hi

Try this,

It should work exactly .

Goto Sort Tab>>Select Your Field>>Enable Expression>> Add below Expression.

=Wildmatch('Your Field ','ETHICAL','DIABETES','ONCOLOGY','PROMOTED ','CHC')

Regards,

Nagarjuna

nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II

Hi,

Kindly Let me know .if its working or not?

Regards,

Nagarjuna

Not applicable
Author

Not working

Not applicable
Author

u r from

ashfaq_haseeb
Champion III
Champion III

Hi can you post your application

Regards

ASHFAQ