Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
tommaso26
Contributor III
Contributor III

Drill down on measure on Pivot Table

Hi everyone,

I am using a Pivot Table to display some data: for example Number of Customers by Continent and by Year/Month as shown here below:

tommaso26_0-1649951484638.png

Each number is the sum of different values depending on several dimensions. I would like to drill down on the Year Month (by clicking on it) to see the values behind the sum. Something like this:

tommaso26_2-1649952645972.png

It think it should be something like drilling on the measure, but I don't know how to achieve this result.  Do you have any idea?

Thank you very much!

Tommaso

Labels (1)
1 Solution

Accepted Solutions
justISO
Specialist
Specialist

Hi,

when you building your pivot table, into 'Dimensions' as row you place 'your country field' and as 2 columns you add 'your year field' and additionally 'your type field'. As 'Measures' you put 'number of customers' measure.
You will have aggregated view per year and if you 'expand all' you will see number of customers per type:

justISO_0-1650021329108.png

Other solution, if you don't have 'type', but want to see different measures when one month is selected, you can on your 'main' measure add condition under 'show column if' GetSelectedCount(your_year_field)<>1 and under additionally created measures you add GetSelectedCount(your_year_field)=1 . In this case when only one value of year is selected, you will see your measures, but not 'main' one:

justISO_1-1650021843788.png

And if you filter more than one year, or nothing, you will see your 'main' measure:

justISO_2-1650021874393.png

 

 

 

View solution in original post

2 Replies
justISO
Specialist
Specialist

Hi,

when you building your pivot table, into 'Dimensions' as row you place 'your country field' and as 2 columns you add 'your year field' and additionally 'your type field'. As 'Measures' you put 'number of customers' measure.
You will have aggregated view per year and if you 'expand all' you will see number of customers per type:

justISO_0-1650021329108.png

Other solution, if you don't have 'type', but want to see different measures when one month is selected, you can on your 'main' measure add condition under 'show column if' GetSelectedCount(your_year_field)<>1 and under additionally created measures you add GetSelectedCount(your_year_field)=1 . In this case when only one value of year is selected, you will see your measures, but not 'main' one:

justISO_1-1650021843788.png

And if you filter more than one year, or nothing, you will see your 'main' measure:

justISO_2-1650021874393.png

 

 

 

tommaso26
Contributor III
Contributor III
Author

Hi @justISO !

 It works perfectly! 😁

Since I don't have "type" fields, I have to use the second solution that you showed and... it works!

Thank you very much for the answer,

Tommaso