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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Group by Month

I do have sales numbers on year,month,salesperson.
I want a pivottable with year,month,salesperson and percentage of sales.

Percentage of sales would be calculated on total sales per YearMonth per sales/total sales per YearMonth

The pivottable will contain more than 1 year.

Can anyone help me with the formula to aggregate this in the right way?

1 Reply
Not applicable
Author

aggr(sum(salesmonth),salesperson) / aggr(sum(salesmonth),company)?