Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
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

Labels (1)
1 Solution

Accepted Solutions
pover
Partner - Master
Partner - Master

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
Partner - Master
Partner - Master

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