Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Skip the ticket, Chat with Qlik Support instead for instant assistance.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Pivot table in sub total

Hi Expert

Hi Expert

I have attached my qvw file in my second expression (sellout %)  in bottom total  it is showing this sum of percentage value

SelloutSellout %
Total8,6255,43814,0622,376%1,624%4,000%

But it has show like this in sub total. please help us how to fix it   something like 8625/14062, 5438/14062

SelloutSellout %
Total8,6255,43814,06261%39%100%
5 Replies
sunny_talwar

Try this expression:

Sum(Sell_NDPCurrMth)/Sum(TOTAL <[Product Line]> Sell_NDPCurrMth)

trdandamudi
Master II
Master II

May be as below for sellout% expression:

Sum(Sell_NDPCurrMth)/Sum(TOTAL Sell_NDPCurrMth)

ScreenShot1_4_Oct_2016.jpg

Anonymous
Not applicable
Author

Hi Sunny

There is any other way  get it by using column "Sell_NDPCurrMthPercent". I have to use only this column for calculate % not Sell_NDPCurrMth. Just mentioned the sample to data. that % column calcaulted in DB on many business logic

nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II

Try thisPivot Total.PNG

I hope this may helps you.

-Nagarjun

sunny_talwar

This is the best you can do:

If(Dimensionality() = 0, Sum(Sell_NDPCurrMth)/Sum(TOTAL <[Product Line]> Sell_NDPCurrMth),

Sum(Sell_NDPCurrMthPercent))