Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Baavik
Contributor III
Contributor III

How to get totals in drill down for labels

Hi everyone,

 I am struggling in how to get totals for the labels in drill-down in QlikSense.

For ex : I have taken different regions and when I do drill down, I need to get the count of sub-regions like HBAP(2), HBEU(3), HNAH(3),...displayed  in the chart.

Kindly suggest !! TIA !!

 

Baavik_0-1698660472109.png

 

Baavik_1-1698660696765.png

 

Labels (1)
1 Solution

Accepted Solutions
HeshamKhja1
Partner - Creator II
Partner - Creator II

I see!

Maybe try this dimension in the bar chart:

=Region & ' (' & Aggr(count([Sub Region]), Region) & ')'

 

View solution in original post

5 Replies
HeshamKhja1
Partner - Creator II
Partner - Creator II

hmm, it might be possible to append the count of subregions with region name through some dimension manipulation. But before we go into that, did you try adding two dimensions in the bar chart?

Example:

HeshamKhja1_0-1698662792760.png

 

Baavik
Contributor III
Contributor III
Author

@HeshamKhja1 - Yup I have added two dimensions in the chart.

Also in my app there are around 25-30 sub-regions in a single Region. So showing all those in the same bar does not work as shown above. 

Thanks !!

HeshamKhja1
Partner - Creator II
Partner - Creator II

I see!

Maybe try this dimension in the bar chart:

=Region & ' (' & Aggr(count([Sub Region]), Region) & ')'

 

MatheusC
Specialist II
Specialist II

Hi, @Baavik 

Look this
sum(total<sub-regions>sales)

Inside the <>, it is who you want to show the totals for.

I believe this meets

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!
Baavik
Contributor III
Contributor III
Author

@HeshamKhja1  It works !!

Thanks alot !!