Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Jardinillo
Contributor II
Contributor II

View data in a bar chart

Hello,

In a graphic, for example, of bars, when you click with the right button and choose "View data". In the table that shows you can you make a total sum of the values? Thank you

4 Replies
Zhandos_Shotan
Partner - Creator II
Partner - Creator II

No, View data and Export table shows only values that represented on chart. But using some tricks let you achieve that with limitations, i think.
Jardinillo
Contributor II
Contributor II
Author

And what would be some of those tricks? 🙂
Zhandos_Shotan
Partner - Creator II
Partner - Creator II

Ok!

1. You need to create real Total bar. Add 'Total' row in your dimension in script.

2. Add expression:
if(Dim<>'Total',
Sum(Value)
, Sum(Total Value))

OR

If you need to show totals only in view/export table, you need to make totals bar color as Background color and Total row must be empty string.
See pic below and expression:

image.png

Color expression:

if(Len(Categ)>0,
LightBlue()
, White())

 

Check attachment

Best regards

Jardinillo
Contributor II
Contributor II
Author


Thank you very much for the reply.