# New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Contributor

## ¡ 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?

Tags (3)
1 Solution

Accepted Solutions
Contributor III

## Re: ¡ Formula Percent !

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

4 Replies
Contributor III

## Re: ¡ Formula Percent !

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

Valued Contributor

## Re: ¡ Formula Percent !

Hi

May be you should use aggr function

somthink like this like this

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

Contributor

## Re: ¡ Formula Percent !

Excellent Michael, works. Thank you so much

Contributor

## Re: ¡ Formula Percent !

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