Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
giazitzoglou
Contributor III
Contributor III

Bar Chart with number and percentage

Is it possible to have a bar chart and except from the totals to have also the percentage?

Thank you in advance,

Angelos

1 Solution

Accepted Solutions
dplr-rn
Partner - Master III
Partner - Master III

Use dual in your expression

e.g.

dual(num(Sum(LineSalesAmount),'#,000.0')& '  (' & num(Sum(LineSalesAmount)/Sum(total LineSalesAmount),'#0.0%')&')',Sum(LineSalesAmount))

so your label will show some thing like 1,200 (10.1%)

 

Hope it helps

View solution in original post

3 Replies
dplr-rn
Partner - Master III
Partner - Master III

Use dual in your expression

e.g.

dual(num(Sum(LineSalesAmount),'#,000.0')& '  (' & num(Sum(LineSalesAmount)/Sum(total LineSalesAmount),'#0.0%')&')',Sum(LineSalesAmount))

so your label will show some thing like 1,200 (10.1%)

 

Hope it helps

giazitzoglou
Contributor III
Contributor III
Author

It works when you change the number formatting to «Measure Expression»

Thanks

 

dplr-rn
Partner - Master III
Partner - Master III

No problem. Missed to add that step 🙂