Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
lukeblackmoore
Contributor
Contributor

Change Expression Label to show as 2 lines

hello,

 

how can i make my current label appear on 2 lines?

current label expression

='Year To Date SLA's Passed- Action Initiated vs. PY'

I would like to present as

Year To Date SLA's Passed

Action Initiated vs. PY

Labels (1)
8 Replies
vinieme12
Champion III
Champion III

This can be done by adding a new line character to the string as below 

='Year To Date SLAs Passed'&chr(10)&' Action Initiated vs. PY'

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
lukeblackmoore
Contributor
Contributor
Author

Hello, this has not worked i get error message "Garbage after expression"
vinieme12
Champion III
Champion III

can you post the exact expression YOU USED?

works fine for me

 

if you want to have a string with " ' " single quote as part of the string, then you need to add two  quotes

='Year To Date SLA''s Passed'&chr(10)&' Action Initiated vs. PY'

 

left without apostrophe , right with 

vinieme12_1-1667871487216.png

 

 

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
lukeblackmoore
Contributor
Contributor
Author

hello, sorry for the delay , the below is a screen shot of expression

lukeblackmoore_0-1667996861163.png

 

vinieme12
Champion III
Champion III

there's no errors here! are you sure you are adding this to the Label input

 

='Year To Date SLA''s Passed'&chr(10)&' Action Initiated vs. PY'

 

='Year To Date SLAs Passed'&chr(10)&' Action Initiated vs. PY'

vinieme12_0-1668044612075.png

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
lukeblackmoore
Contributor
Contributor
Author

Hello,

yes definitely in the Label Field

[cid:befc65f1-2843-478c-8ab5-a59c841fd3d8]



[cid:5ca7f50c-1d0d-432b-aa41-82809e3175b0]

but it presents as

[cid:a732a37d-5238-46bb-a033-6320e2240e72]

vinieme12
Champion III
Champion III

Your reply is missing the screenshots

Can you post a sample app that shows this issue?

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
lukeblackmoore
Contributor
Contributor
Author

 

lukeblackmoore_2-1668090494486.png

 

 

lukeblackmoore_3-1668090507630.png

lukeblackmoore_4-1668090522300.png