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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
AshwathRaj_26
Employee
Employee

Finding % of Total

Please have a look at the attached image. 

 

I am using a table

 

I want to calculate the % of total sales of each category restarting every region 

E.g

Region    Product    Sales     Expected % of Total

1                   A                10          16%  

1                   B                20          33%

 1                  C                30           50%

-----------------------------------------------

2                   A                12          15%           

2                   B               16           20%

2                   C               50           64%

 

Currently the total sales is calculated for all regions and all categories

 

How to resolve this 

 

Labels (2)
1 Solution

Accepted Solutions
Taoufiq_Zarra

@AshwathRaj_26 

Maye be :

sum(Sales)/sum(total<Region> Sales)

 

Capture.PNG

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉

View solution in original post

1 Reply
Taoufiq_Zarra

@AshwathRaj_26 

Maye be :

sum(Sales)/sum(total<Region> Sales)

 

Capture.PNG

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉