Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

¡ Formula Percent !

Dear, I want to calculate the share of sales (Ventas) by cards (Tarjeta) percentage (% Particip.) but for every month (Mes) in the pivot table when I have opened every month (Mes) I calculated the percentage (% Particip.) of the sale but not closed for each month (Mes) (see image 1), but the divide each sale of card (Tarjeta) but by the total universe of months (Mes). However when I see only an achievement month what I want (see picture 2) in the total of the month I see the participation of 100%.

The formula used in the measure of participation % (% Perticip.) is Sum (Sales) / Sum (Total Sales)

Who can advise me? It is possible in the complete pivot table?

Qlik im 1.jpg

Qlik im 2.JPG

1 Solution

Accepted Solutions
mgranillo
Specialist
Specialist

Try Sum (Sales) / Sum (Total <Mes> Sales)

View solution in original post

4 Replies
mgranillo
Specialist
Specialist

Try Sum (Sales) / Sum (Total <Mes> Sales)

brunobertels
Master
Master

Hi

May be you should use aggr function

somthink like this like this

Sum (Sales) / sum(aggr(sum(Total Sales),Mes))

Anonymous
Not applicable
Author

Excellent Michael, works. Thank you so much

Anonymous
Not applicable
Author

Thank you very much Bruno for your answer!, already solved