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: 
Not applicable

drill down - table

Hey everyone, how is it going?

I have an issue, let me show you: My data base is something like that:

    

ProductDateRM 1RM 2RM 3RM Total
A01/01/20161056075
B01/01/201615105580
C01/01/201620155590
D01/01/2016252060105
A02/01/2016302585140
B02/01/20163530115180
C02/01/20164035150225
D02/01/20164540190275
A03/01/20165045235330

I want to make a pivot table, where I can show by product, how much was spent of raw material and if the users wants, they can open by kind of RM (RM 1, RM2 and RM3) .

I already appreciate the attention.


Kind regards, Luiz Bisco



Labels (1)
14 Replies
vinieme12
Champion III
Champion III

See my app I am able to expand and collapse the dimension , you should be able to view the + and - signs too!

also uncheck Suppress Expansion icons

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Not applicable
Author

I appreciate your colaboration, Vineeth! thank you very much!!

I did that. but it won't show me the subtotal when its closed. It only show me '-' (null or 0 character).

Sincerely, Bisco

vinieme12
Champion III
Champion III

Use the below expression

and check partial sums for the first two dimensions

=if(Dimensionality()=2,Pick(MATCH(Process,'Process 1','Process 2','Process 3','Process 4','Process 5','Process 6','Process 7','Process 8'),
sum([Process 1])
,
sum([Process 2])
,
sum([Process 3])
,
sum([Process 4])
,
sum([Process 5])
,
sum([Process 6])
,
sum([Process 7])
,
sum([Process 8])
)


,
if(Dimensionality()=1,

sum([Process 1])+sum([Process 2])+sum([Process 3])+sum([Process 4])+sum([Process 5])+sum([Process 6])+sum([Process 7])+sum([Process 8])

,
if(Dimensionality()=0,sum(TOTAL [Process 1])+sum(TOTAL [Process 2])+sum(TOTAL [Process 3])+sum(TOTAL [Process 4])+sum(TOTAL [Process 5])+sum(TOTAL [Process 6])+sum(TOTAL [Process 7])+sum(TOTAL [Process 8]))

)
)

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
dineshm030
Creator III
Creator III

Hi Luiz,

Like This??

Not applicable
Author

Kind of, Kumar, but with subtotals. But I had already done, thank you for the help!