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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Salehmo
Contributor
Contributor

Bar Percentage

Dear all,

I have a data containing sales per distributor and i need to get a graph showing the contribution percentage from the total per each distributor as in the below graph as we do in excel pivot chart (show % from grand total)

Capture.PNG

 

 

 

 

Labels (1)
1 Solution

Accepted Solutions
Taoufiq_Zarra

Hi,

If I underestood correclty, you need :

num(sum(Sales)/sum(total Sales),'# ##0%')

 

for exemple, with the below sample :

Data:
load * inline [
Row Labels,Sales
EIMC,10
ETC,20
ISBNSINA,30
MEC,40
MULTIPHARMA,50
Overseas,10
Sofico,60
UCP,70
];

In Interface:

Dimension: Row Labels

Measures : num(sum(Sales)/sum(total Sales),'# ##0%')

output :

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

Hi,

If I underestood correclty, you need :

num(sum(Sales)/sum(total Sales),'# ##0%')

 

for exemple, with the below sample :

Data:
load * inline [
Row Labels,Sales
EIMC,10
ETC,20
ISBNSINA,30
MEC,40
MULTIPHARMA,50
Overseas,10
Sofico,60
UCP,70
];

In Interface:

Dimension: Row Labels

Measures : num(sum(Sales)/sum(total Sales),'# ##0%')

output :

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") 😉