Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Subtotals and Pivoting

Hi All,

I am working on a sales report and am not sure if I shall use pivot table or straight table. What I am looking for is simple: Salesman's contribution in his team and in company's total sales by percentage.

I could not settle this. Is there a way you could help? I prefer doing this at the front end rather than script side. (I mean not in CTRL+E area)

Thank you very much and best regards,

Piroglu1907

TeamSalesmanSales AMountTeam ContributionCompany Contribution
GA3033%16%
GB6067%32%
GTotal90

LC2525%13%
LD7575%39%
LTotal100

Total
190

1 Solution

Accepted Solutions
pover
Luminary Alumni
Luminary Alumni

This would be a classic pivot table with 2 dimensions (Team and Salesman) and 3 expressions (sum(Sales), sum(Sales)/sum(Total <Team> Sales) and sum(Sales)/sum(Total Sales)).  In the presentation tab of the pivot table properties add subtotals ofr Team and Salesman.

Karl

View solution in original post

2 Replies
pover
Luminary Alumni
Luminary Alumni

This would be a classic pivot table with 2 dimensions (Team and Salesman) and 3 expressions (sum(Sales), sum(Sales)/sum(Total <Team> Sales) and sum(Sales)/sum(Total Sales)).  In the presentation tab of the pivot table properties add subtotals ofr Team and Salesman.

Karl

Not applicable
Author

Thanks, Karl.

Really appreciated your kind and swift help.

Best,

Piroglu1907