Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Sxbbb
Creator III
Creator III

want % to be a new line. I want the % to be below the number.

I use code

Dual((sum(If(Aggr(Sum(Number),OrderNo)>=10,1,0)))&' ('& Num (sum(If(Aggr(Sum(Number),OrderNo)>=10,1,0))/(count(DISTINCT OrderNo)) ,
'#,##0.00%') &')', sum(If(Aggr(Sum(Number),OrderNo)>=10,1,0)) )

 results

Sxbbb_0-1677723305916.png

I want % to be a new line. I want the % to be below the number.

4 Replies
ajaykakkar93
Specialist III
Specialist III

hi,
can try the below code, 
Use chr(10) for next line and add % 

Dual(

(sum(If(Aggr(Sum(Number),OrderNo)>=10,1,0)))

&' ('&

Num (

(sum(If(Aggr(Sum(Number),OrderNo)>=10,1,0))

/

(count(DISTINCT OrderNo))) *100 ,


'#,##0.00')

&')'&chr(10)&'%'

, sum(If(Aggr(Sum(Number),OrderNo)>=10,1,0)) )


Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting

Sxbbb
Creator III
Creator III
Author

Can I change the scale to %?

Sxbbb_0-1677739127053.png

 

ajaykakkar93
Specialist III
Specialist III

raw code
'('&Num(    (expression/expression) * 100 ,  '#,##0.00') &')'&chr(10)&'%'

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting

Sxbbb
Creator III
Creator III
Author

it can't be done