Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Selected Dimensions concatenate and separate with chr(10) in Barchart

Hi Gurus

i have 3 Dimensions

Year

Region

Site

user can select 3 Dimensions  from the list of used Dimensions List box

after selecting 3 Dimensions ,3 Dimensions should Concatenate and add as a single Calculated Dimension separated with Chr(10) or chr(13).

example:Year&chr(10)&Region&chr(10)&Site

1 Solution

Accepted Solutions
Not applicable
Author

early morning, missed a space!

Also changed from chr 10 to 13, as with 10 it doesn't format very well

hope that helps

Joe

View solution in original post

9 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi,

Can you attach sample file and let us explain with example and expected output.

Regards,

jagan.

Anonymous
Not applicable
Author

based on left side selected dimensions,it should add as a single calculated Dimension  in Bar chart

Example:Year&chr(13)Region&CHR(13)&Site

It Should happen based on selection Dimensions by user not Manual

Sample output:


Concat(Selected dimension1&chr(13)&selected dimension2&chr(13)&selected dimension3)

Not applicable
Author

Hi Are,

if I understand you meaning, something like the attached?

hope that helps

Joe

Anonymous
Not applicable
Author

Hi Thanks for your time

logic matching with my requirement

But if i click Year,Region,Health Authority -> Showing Error in Calculated Dimension

Thanks In Advance

Not applicable
Author

Ah I missed the spaced fieldnames, should work for you now

Joe

Anonymous
Not applicable
Author

Hi joe,

if i select year,Region,Health Authority-> showing only Health Authority

missing year and Region

Not applicable
Author

early morning, missed a space!

Also changed from chr 10 to 13, as with 10 it doesn't format very well

hope that helps

Joe

Anonymous
Not applicable
Author

Hi Joe,

Thanks for Valuable time

You are Genius

Thanks,

Are

Not applicable
Author

No worries, glad to be of help