Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have one button in the dashboard in that button label is "AaaaB-6"
But I want AaaaB
6
The label expression is 'AaaaB-'&chr(10) &'6'
Hi @Aadhini ,
First, I moved your post from Automate to App Development.
This is what you have to do:
1. Change your label to AaaaB 6. The Space is very important. It will be replaced by a line-break
2. Get the button ID
Right Qlik on the button, go to Share and click on Embed. Copy the code and paste in a notepad. The code will look like this:
<iframe src="https://your-tenant.us.qlikcloud.com/single/?appid=1516ee7d-ff9e-4128-aefb-bb4d203bdf99&obj=ghNaeL&theme=card&opt=ctxmenu,currsel" style="border:none;width:100%;height:100%;"></iframe>
obj is the value you are looking for. In my example: ghNaeL
3. Add a custom CSS to the Sheet
Go to Sheet Properties > Styling and activate Custom Styles.
Enter the following CSS code in the Styles (CSS) box - replace the ghNaeL with your Button ID:
div[tid="ghNaeL"] text span { white-space: break-spaces !important; font-size: initial; }
Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com