Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Leverage your QlikView investment to modernize BI – see how! Join Group
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Creator
Creator

Total whitout one column

Hello Qliks,

Currently, my applications show Total of all columns, like below:

1.png

Are exist way to exclude one column from that total? Of course, that column should be still present in the table. Column, which I want to exclude is:

Dim Year-Month = 2017-May    &&    Dim Plan Code = FCT

1.png

Regards

Jacek.

Tags (2)
1 Solution

Accepted Solutions
Highlighted

Re: Total whitout one column

My bad, you need this

If(SecondaryDimensionality() = 0,

Sum({1}Aggr(If(Above($(vRevenue)) > 0 and Above(Only({1<[Plan Code] = {'ACT', 'FCT'}>}[Plan Code])) = 'ACT', 0, $(vRevenue)), [Year-Month], [Plan Code])),

$(vRevenue))

Capture.PNG

View solution in original post

11 Replies
Highlighted
Specialist
Specialist

Re: Total whitout one column

See Attached example. Refer to Conditional show/hide sub totals in Pivot table

Regards

Pratyush

Highlighted
Creator
Creator

Re: Total whitout one column

Thank you Pratyush, but is not what I  look. That solution just hide/show total and I want to see all time total, but minus one column.



Regards

Jacek.

Highlighted

Re: Total whitout one column

Would you be able to share a sample where you are trying to do this? Also, you want the total to not include Fcst where Actual and Fcst are both available?

Highlighted
Creator
Creator

Re: Total whitout one column

Hello Sunny,

Yes, I want that total, which you described. Unfortunately, I can't attach that application, because contain many important data for  firm. I tried to eeduce data by Preparing examples for Upload - Reduction and Data Scrambling but without success.

Regards

Jacek.

Highlighted

Re: Total whitout one column

What was the issue you ran into while reducing and scrambling your data?

Highlighted
Creator
Creator

Re: Total whitout one column

Hello Sunny, I had yesterday problem with connection. I prepare special app just with the problem.

Highlighted
Master II
Master II

Re: Total whitout one column

Please reupload!

Access denied to this QV document!

Highlighted
Creator
Creator

Re: Total whitout one column

Yes, I forgot about section access. New upload.

Highlighted

Re: Total whitout one column

May be this

If(Dimensionality() = 0,

Sum({1}Aggr(If(Above($(vRevenue)) > 0 and Above(Only({1<[Plan Code] = {'ACT', 'FCT'}>}[Plan Code])) = 'ACT', 0, $(vRevenue)), [Year-Month], [Plan Code])),

$(vRevenue))

Capture.PNG