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: 
shravanveer
Contributor II
Contributor II

CONVERT TO TEXT BOX

HI,

Given Table Convert to  TEXT BOX Like   " 1=8.46%"

QlikView x64 Personal Edition - [C__Users_Lenovo_Desktop_QLIK_Workshop_pro.qvw_] 08-06-2022 11_26_42 (2).png

Labels (1)
3 Replies
MayilVahanan
MVP
MVP

Hi

Try like below

=Concat(Distinct Aggr(Category&'='&Sum(LineSalesAmount), Category), chr(13))

for sorting:

Concat(Distinct Aggr(Category&'='&Sum(LineSalesAmount), Category), chr(13), Aggr(Sum(LineSalesAmount), [Category]))

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
shravanveer
Contributor II
Contributor II
Author

 thank you @MayilVahanan 

but how to get the value in percentage ?

MayilVahanan
MVP
MVP

Hi

Instead of using, "Sum(LineSalesAmount)", u can use ur percentage expression.

like num(urexpression, '#,##0.##%')

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.