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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Am using match() sort to arrange data but not working

Am using expression in the sort tab to sort my items in dimension but not working. what do I do?

26 Replies
Not applicable
Author

My sort script:

=match([item text]),
'Cupboards',
'Chairs','Building',
'PEE','Buriet',
,'Isle','JV'
,'Plastics',
'Desktop',
'System unit',
'Prints')

Not applicable
Author

my sort script:

=match([item text]),
'Cupboards',
'Chairs','Building',
'PEE','Buriet',
,'Isle','JV'
,'Plastics',
'Desktop',
'System unit',
'Prints')

sunny_talwar

You have a parenthesis at the wrong spot, try this:

=Match([item text], 'Cupboards', 'Chairs', 'Building', 'PEE', 'Buriet', 'Isle', 'JV', 'Plastics', 'Desktop', 'System unit', 'Prints')


Capture.PNG

settu_periasamy
Master III
Master III

Remove the close bracket after item text..

Should be =match ([item text],.....)

Not applicable
Author

Corrected. Didn't work, I had to try it had way because it wasn't working

Not applicable
Author

I did that because the default wasn't working

sunny_talwar

Do you have the correct case for the values you have provided? Cupboards is different from CUPBOARDS is different from cupboards.

May use Lower() or Upper() or Capitalize() to normalize the data:

=Match(Capitalize([item text]), 'Cupboards', 'Chairs', 'Building', 'Pee', 'Buriet', 'Isle', 'Jv', 'Plastics', 'Desktop', 'System Unit', 'Prints')

settu_periasamy
Master III
Master III

Just wonder, do you have these match values in your dimension ?

and did you uncheck the other sort options for all other dimensions?

Not applicable
Author

Yes I used

IF(Match([item text],

'Cupboards',

'Chairs','Building',

'PEE','Buriet',

,'Isle','JV'

,'Plastics',

'Desktop',

'System unit',

'Prints'), [item text]    to pick specific items at my dimension

settu_periasamy
Master III
Master III

Looks close bracket missing in the end.. is that typo?

If yes..no idea..sorry..