Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Want to Show Sub Total in QlikView Report

Hello Experts,

I just want to show subtotal in my QlikView report ie.

That is my Orignal Data:

Year

MonthQuarterName

Sales

2001JanuaryQ1Tata1000
2001FebruaryQ1Tata1000
2001MarchQ1Tata2000
2001AprilQ2Tata2000
2001MayQ2Tata1000
2001JuneQ2Tata1000
2001JulyQ3Tata1000
2001AugustQ3Tata1000
2001SeptemberQ3Tata2000
2001OctoberQ4Tata2000
2001NovemberQ4Tata2000
2001DecemberQ4Tata4000
2001JanuaryQ1Barclay100000
2001FebruaryQ1Barclay50000
2001MarchQ1Barclay50000
2001AprilQ2Barclay200000
2001MayQ2Barclay100000
2001JuneQ2Barclay100000
2001JulyQ3Barclay50000
2001AugustQ3Barclay50000
2001SeptemberQ3Barclay100000
2001OctoberQ4Barclay50000
2001NovemberQ4Barclay100000
2001DecemberQ4Barclay50000
2001JanuaryQ1Reliance25000
2001FebruaryQ1Reliance10000
2001MarchQ1Reliance15000
2001AprilQ2Reliance50000
2001MayQ2Reliance50000
2001JuneQ2Reliance50000
2001JulyQ3Reliance50000
2001AugustQ3Reliance50000
2001SeptemberQ3Reliance50000
2001OctoberQ4Reliance50000
2001NovemberQ4Reliance50000
2001DecemberQ4Reliance50000
2002JanuaryQ1Tata15000
2002FebruaryQ1Tata15000
2002MarchQ1Tata15000
2002AprilQ2Tata25000
2002MayQ2Tata25000
2002JuneQ2Tata25000
2002JulyQ3Tata20000
2002AugustQ3Tata20000
2002SeptemberQ3Tata30000
2002OctoberQ4Tata40000
2002NovemberQ4Tata15000
2002DecemberQ4Tata15000
2002JanuaryQ1Barclay400000
2002FebruaryQ1Barclay100000
2002MarchQ1Barclay100000
2002AprilQ2Barclay150000
2002MayQ2Barclay70000
2002JuneQ2Barclay80000
2002JulyQ3Barclay100000
2002AugustQ3Barclay25000
2002SeptemberQ3Barclay25000
2002OctoberQ4Barclay50000
2002NovemberQ4Barclay50000
2002DecemberQ4Barclay50000
2002JanuaryQ1Reliance3000
2002FebruaryQ1Reliance3000
2002MarchQ1Reliance4000
2002AprilQ2Reliance20000
2002MayQ2Reliance10000
2002JuneQ2Reliance10000
2002JulyQ3Reliance10000
2002AugustQ3Reliance10000
2002SeptemberQ3Reliance5000
2002OctoberQ4Reliance5000
2002NovemberQ4Reliance10000
2002DecemberQ4Reliance10000

I wat to show my record in group Like -

Name- Tata

coloumn1           column2           column3

-------------------------------------------------------------------

Subtotal-

-------------------------------------------------------------------

Name - Barclay

coloumn1           column2           column3

-------------------------------------------------------------------

Subtotal-

-------------------------------------------------------------------

Name- Reliance

coloumn1           column2           column3

-------------------------------------------------------------------

Subtotal-

-------------------------------------------------------------------

-------------------------------------------------------------------

Grand Total-

-------------------------------------------------------------------

How can i do this one,Please help me.

Right now i have created one table object where i have taked columns and then i am coping my object i report but i am unable to generate Group subtotal.

Thanks in Advance.

1 Solution

Accepted Solutions
its_anandrjs

Hi,

Thanks, When you go to Presentation tab there you see Dimension and Expression, there when you select Year below the optons you see the Label for Totals tex box type Subtotal there    

See the snapshots.

PivotImage3.jpg

Regards

Anand

View solution in original post

15 Replies
its_anandrjs

Hi,

Sub total option available in pivot table in

Presentation -> Subtotals -> select Top/Bottom

Regards

Anand

its_anandrjs

Hi,

See the attached sample file it will explain what you requires with subtotal at year level if you want it on Name, Month, Quarter level you can do that.

Regards,

Anand

Not applicable
Author

Thanks for Reply Anandrjs,

but still i am not getting that option.

I have only one option in Properties -->Presentation -->Total--> Total On First Row/ Total on Last Row

But i want sub total on group basis.

I cant open that QVW  file.

What i created is :

Go to new Sheet Object -->Chart -->Allowoing Type-->Pivot Table .

then i am selecting my dimentions.

but in Presentation tab i am not getting that option.

If i am wrong please correct me.

Thanks.

its_anandrjs

Hi,

You need to change the type of chart from straight table to pivot table the option you say it is for Properties -->Presentation -->Total--> Total On First Row/ Total on Last Row straight table only. By right click on properties and change the type of chart from general tab there is a many option then go to apply.

After that go to presentation tab there you see options Subtotal on top/ Subtotal on bottom.

Regards

Anand

Not applicable
Author

Hi Anand,

Still i am not getting Option.I have already choose Pivot table option in General but presentaion tab is showing

same option please find the attachment and see images,

General Tab:

image1.png

Presentaion Tab:

image2.png

please check where i am wrong.

Thanks.

its_anandrjs

Hi,

See the snapshots of the Pivot table selected on upfront to the straight table is pivot table and in second image subtotals display.

PivotImage1.jpg

PivotImage2.jpg

And let me know if you got any problem

Regards

Anand

SunilChauhan
Champion
Champion

hello gaurav you need to check on radio button "Subtotal on top"

go to presentation-> select below fields in left pane one by one

Year

MonthQuarter

Name

and select check show partial sum  and subtotal on top

hope thiss helps You

Sunil Chauhan
its_anandrjs

Hi Gaurav,

You got information from snapshots, if show let me know about that.

Regards,

Anand

Not applicable
Author

Hi Anand,

Thankyou very much foo response.

I got your snapshots and it's working, but not completely .How can we show Name only once's in a group like:

Name- Tata

coloumn1           column2           column3

-------------------------------------------------------------------

Subtotal-


And also how can i add Label like 'SubTotal-'.