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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
rkspareek1992
Partner - Creator
Partner - Creator

Drill in TOTAL function

Hi,

I am using TOTAL function in dril down chart.

When I am showing data in front then its totaling with respect to fields, but when I am drilling chart then its showing same total.

At the result of drill I wants separate values, but when I am using TOTAL function its only showing total values.

kindly Suggest

Below is the example:

Here its calculating A/total (B)


Expression:


sum({<Year={'$(vMaxYear)'},MATKL={'CM*'},[Work Center Sub Group]={'Rotary Furnace'},[Segment Final]={'Lead'}>}Quantity_MSEG_FlagConsumption2)/

Sum(total<[Plant Name]>{<Year={'$(vMaxYear)'},BWART1={'101_102'},[Work Center Sub Group]={'Rotary Furnace'},[Segment Final]={'Lead'},[Material Name]>}Quantity_MSEG)

Material Name A/B
31.17
Used Oil31.17

But when I am using used oil then its also showing same value (31.17), but I wants to select respected values.

16 Replies
sunny_talwar

Are you doing Consumable/Production or Production/Consumable? You mentioned 6579/25570 after selection, but 6579 is production? Why is it in the numerator? Also, this seems like a Qlik Sense question.... can you move the discussion to Qlik Sense so that right people can take a look at this?

rkspareek1992
Partner - Creator
Partner - Creator
Author

Sorry,

this is consumable/Production...

This would be 25570/6579.

sunny_talwar

Try removing [Material Name] from your denominator expression

Sum({<Year={'$(vMaxYear)'},MATKL={'CM*'},[Work Center Sub Group]={'Rotary Furnace'},[Segment Final]={'Lead'}>}Quantity_MSEG_FlagConsumption2)/

Sum(total<[Plant Name]>{<Year={'$(vMaxYear)'},BWART1={'101_102'},[Work Center Sub Group]={'Rotary Furnace'},[Segment Final]={'Lead'},[Material Name]>}Quantity_MSEG)

rkspareek1992
Partner - Creator
Partner - Creator
Author

I cannot remove material name, because data is as like that:

Material Name Con Prod Con/Prod
797062.00 25570.42 31.17
10.0025570.420.00
20.0025570.420.00
30.0025570.420.00
40.0025570.420.00
50.0025570.420.00
Used Oil797062.0025570.4231.17

There is no production with respect to Used Oil.

sunny_talwar

Where does 6579 comes from?

rkspareek1992
Partner - Creator
Partner - Creator
Author

This is data format (in qlikview) not exact values..

sunny_talwar

I think somebody else might have a better understanding of your issue. I don't think I am able to understand the issue well enough to help.

Best,

Sunny