Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Partial Sum on Dimension level

Hi Friends,

I am new to Qlikview. And this is my first post

I am stuck with a scenario where i need your help and guidance.

Table1 - Simple pivot Qlikview table with totals

                                                                      

MappingPreviousCurrentP-C
Jim1231149
John657750-93
Tim46-2
Jack654718
Troy34130338
Rick446478-32
Mark15132
Total16511711-60

Table 2 - Need to have a partial sum which will have Group 1 and Group 2 totals with Main total at the end.

                                                                                       

MappingPreviousCurrentP-C
Jim1231149
John657750-93
Tim46-2
Group 1784870-86
Jack654718
Troy34130338
Rick446478-32
Mark15132
Group 286784126
Total16511711-60

Any help on this would be really appreciated. Thanks!!!

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Create a Group field in the script and use that field as dimension in your pivot table.

GroupMapping:

LOAD * INLINE [

Group, Mapping

Group1, Jim

Group1, John

Group1, Tim

Group2, Jack

Group2, Troy

Group2, Rich

Group2, Mark

];


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
Gysbert_Wassenaar

Create a Group field in the script and use that field as dimension in your pivot table.

GroupMapping:

LOAD * INLINE [

Group, Mapping

Group1, Jim

Group1, John

Group1, Tim

Group2, Jack

Group2, Troy

Group2, Rich

Group2, Mark

];


talk is cheap, supply exceeds demand
sunny_talwar

Hi Kuldeep,

Welcome to Qlik Community. I hope you will have a lot of fun working with QlikView or Qlik Sense.

I have a question related to your query above. How do you determine which Name goes into which group?

Best,

S

Not applicable
Author

Hey S,

Thank you so much.

It was based on the random name selection. The group thing worked fine here.

Regards,

Kuldeep

Not applicable
Author

Hey Gysbert,

Thanks for your help. It really worked for me

Regards,

Kuldeep