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

Multi Line Caption in Straight or Pivot Chart

Hi all,

Wrap does not work! How to create multi line caption as below:

=[Branch Name]

='Profit and Loss'

='For the period ended '&Month&' '&Year

thanks in advance!

BR,

SAK

Labels (1)
1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try

=[Branch Name] & chr(10) & 'Profit and Loss' & chr(10) and 'For the period ended '&Month&' '&Year

Don't forget to enable the Wrap Text option on the Caption tab of the properties window and set the Caption Height to 3 lines.


talk is cheap, supply exceeds demand

View solution in original post

5 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try

=[Branch Name] & chr(10) & 'Profit and Loss' & chr(10) and 'For the period ended '&Month&' '&Year

Don't forget to enable the Wrap Text option on the Caption tab of the properties window and set the Caption Height to 3 lines.


talk is cheap, supply exceeds demand
juleshartley
Specialist
Specialist

Have you tried chr(10)

eg.

=[Branch Name] & chr(10) &

'Profit and Loss' & chr(10) &

'For the period ended '&Month&' '&Year

Not applicable
Author

But to how to export this caption to excel along with the chart.

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

That's only possible with a macro. See here for an example.


talk is cheap, supply exceeds demand
Not applicable
Author