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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Substring in chart

Hi and sorry for my poor english,

I wonder if there is a way to make a substring for data which are displayed in a Chart,

Example, I have :

dimensionexpression
50 - Bla1448648
100 - Waa2757454
150 - Aga3 848848
200 - kla4584854

I use 50-, 100-, 150- and 200- only to sort the dimension used in a bar chart, how can I have only Bla1, Waa2, Aga3 and kla4 displayed in the chart but with the good order ?

Using the XXX - Label pattern works but it's not elegant. (50-, 100-, 150- ... are present in another field)

Thanks in advance.

Christophe

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be use the Dual function:

How to use- Dual()

View solution in original post

3 Replies
sunny_talwar
MVP
MVP

May be use the Dual function:

How to use- Dual()

Anonymous
Not applicable
Author

you may use subfield in caclulated dimension

e.g. in textobject: =SubField('50 - Bla1', '-', 2) gives you Bla1

Not applicable
Author

Wonderful, It works for me ! Thank you!