Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
richard24best
Creator II
Creator II

Qliksense table with number and percentage together

Hi All,

I have a requirement to show both number and percentage values in a cell instead of different columns or table.

Is it possible in Qliksense?

Please check and advice. Attaching screenshot what I would require.

Thanks,

Richard

Labels (1)
1 Solution

Accepted Solutions
richard24best
Creator II
Creator II
Author

Hi Prashanth, Thanks for confirming its possible and giving idea.

I was able to figure out with some changes and it works perfect now -

(Count([CTMP Trade Side ID])&'('&(round(count([CTMP Trade Side ID])/count(Total <[CTMP Joint Touch Statement]>[CTMP Trade Side ID]),0.0001))*100 &'%'&')')

Regards,

Richard

View solution in original post

3 Replies
Prashant_Naik
Partner - Creator II
Partner - Creator II

Hi Richard,

Yes you can do this by concatenating the two expression using &' '& sign and formatting the expression using Num() function shown below.

Num(Sum(Sales),'####0')&' '&Num(Sum(Sales)/Sum(total Sales),'##0%')

Hope this helps!!

Regards,

Prashant.

richard24best
Creator II
Creator II
Author

Hi Prashant,

Thank you for prompt support.

Well I tried to use my expression as suggestion but its showing me only percentage value -

Num(Count([CTMP Trade Side ID]),'####0')&''& Num(Count([CTMP Trade Side ID])/Count(Total[CTMP Trade Side ID]),'##0%')

Please let me know if I am missing something from below dimensions or measures.

My dimensions are [Touched],[Country] and [Reason] and measure is to count ([CTMP Trade Side ID])

Thanks,

Richard

richard24best
Creator II
Creator II
Author

Hi Prashanth, Thanks for confirming its possible and giving idea.

I was able to figure out with some changes and it works perfect now -

(Count([CTMP Trade Side ID])&'('&(round(count([CTMP Trade Side ID])/count(Total <[CTMP Joint Touch Statement]>[CTMP Trade Side ID]),0.0001))*100 &'%'&')')

Regards,

Richard