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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
ltc
Partner - Creator
Partner - Creator

Percentage of Total Count on Treemap

Hi,

I need help changing the way my treemap is displayed.  On the attached screenshot, the count of inquiries is displayed for each different application.  How can I change the count number to the percentage of the total count?  Instead of having the number 105 displaying under CCaR, I need it to show 41.1%  (105/255). 

I didn't see it as an option under appearance.  If I have to do an expression, please let me know what the expression would be.  For the purpose of creating an expression, my current measure expression is Count(Application).

Thank you!

1 Solution

Accepted Solutions
bhaskar_sm
Partner - Creator III
Partner - Creator III

Hi,

you can use below expression to show the values in % irrespective of total value

=num(Count(Application)/ Count(total Application ),'#,##0.00%')

and you need to Select number formatting as Measure Expression.

Capture1.PNG

in my case i have used this expression =num(sum([BILLED QUANTITY])/sum(total [BILLED QUANTITY]),'#,##0.00%')

type1.PNG

if you found this helpful, please mark as helpful or correct 

Regards.

Bhasker Kumar

View solution in original post

13 Replies
sudhirpkuwar
Partner - Creator II
Partner - Creator II

Are you doing it in QlikView or Qlik Sense....?

vishalarote
Partner - Creator II
Partner - Creator II

Go to expression tab and make it Relative Checkbox on

hope so it will works.Capture16.PNG

bhaskar_sm
Partner - Creator III
Partner - Creator III

Hi,

you can use below expression to show the values in % irrespective of total value

=num(Count(Application)/ Count(total Application ),'#,##0.00%')

and you need to Select number formatting as Measure Expression.

Capture1.PNG

in my case i have used this expression =num(sum([BILLED QUANTITY])/sum(total [BILLED QUANTITY]),'#,##0.00%')

type1.PNG

if you found this helpful, please mark as helpful or correct 

Regards.

Bhasker Kumar

ltc
Partner - Creator
Partner - Creator
Author

Thank you so much!  The expression worked.  I didn't have "measure expression" on the drop down.  See screenshot.  Any idea why?Capture.PNG

ltc
Partner - Creator
Partner - Creator
Author

I've never seen a screen like this in Qlik Sense before.  Is your screenshot from Qlik Sense or somehwere else?

ltc
Partner - Creator
Partner - Creator
Author

Qlik Sense

bhaskar_sm
Partner - Creator III
Partner - Creator III

i am using latest vesion - qlik sense feb 2018, which has this option

ltc
Partner - Creator
Partner - Creator
Author

‌cool, thanks.  how can I find out which version I’m using?

bhaskar_sm
Partner - Creator III
Partner - Creator III

PFB - Goto->top  -> right hand corner-Click on that-->then About-> then Version will shown

tip.png