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: 
Breezy
Creator II
Creator II

"GetFieldSelections" multiple lines?

Hi, I am learning about the field function getfieldselections, here at the Qlik page: https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/ChartFunctions/Fi... Here is my example from my app: GetFieldSelections ([States],';',10) It results in 1,2,3,4,5,6,7,8,9,10 if I am selecting them from the dropdown menu. However, how do I change the format to be vertical (have a new line)? I want: 1 2 3 4 5 6 7 8 9 10
2 Replies
rdelagarde
Contributor III
Contributor III

Hi,

If you use a KPI, I think it's impossible.

You can use a "Text and image" object and use the char(13):

GetFieldSelections ([States], ';' & char(13), 10)

 

Breezy
Creator II
Creator II
Author

Thanks! I might try that.