Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
rustyfishbones
Master II
Master II

remove first brackets on concatenated expression

Hi All,

I have the following expression, which I use in the extension called MinimalistHTMLTextBox. This extension acts like a marque and moves the text from left to right on the screen.

='<marquee behavior="scroll" direction="left"><font color="$(color.kpi.headline)">'


&


Concat(DISTINCT If(Len(Trim(Aggr($(e.charge-amount), CUSTOMER))) > 0, CUSTOMER & ' - ')


& Num(Aggr($(e.charge-amount), CUSTOMER), '£#,##0') &


'<font color="RGB(170,0,0)">' & ' ('  & Num((Aggr($(e.charge-amount), CUSTOMER)/SUM(TOTAL [charge-amount])),'0.00%') & ')'  & '</font>'



, '<font color="black">' & ' , ' & '</font>' , -Aggr($(e.charge-amount), CUSTOMER))


The result works fine, however I always have blank brackets at the start of the string and I want to remove these


2018-04-18_0932.png

Whats the best way of removing these?

Regards

Alan

11 Replies
sunny_talwar

Or that

rustyfishbones
Master II
Master II
Author

Thanks Sunny.