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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
sayadutt
Creator
Creator

Grouping values for MultiBox

Hello Team,

I have a data list which shows a some values based on month.

Now my requirement is to create a MultiBox grouped by month names only

Example of my data:

2018_01_xxxx

2018_01_yyyy

2018_01_zzzz

2018_02_xxx

2018_02_yyy

2018_02_yyy

Now the MultiBox should show me below, grouped by Months

2018_01

2018_02

Thanks

1 Solution

Accepted Solutions
sunny_talwar

May be try an expression like this in the multibox

Left(FieldName, 7)

View solution in original post

5 Replies
sunny_talwar

May be try an expression like this in the multibox

Left(FieldName, 7)

Chanty4u
MVP
MVP

orelse

keepchar(Filed,'0123456789_' )  as new

sunny_talwar

That will give

2018_01_ (an extra _ at the end)

olivierrobin
Specialist III
Specialist III

hello

do you absolutely need a multibox ?

one solution should be a listbox presented as a tree

but you need to change the 1st (or the 2nd) underscore by another character

Chanty4u
MVP
MVP

my bad i didnt notice last "_ "