Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

Bar chart

Hello 
I got the below 2 bar-charts

ali_hijazi_0-1680173362423.png

I'm showing the revenue per region per year
the second bar chart shows the total revenue per year
is it possible to have the second graph to display the total on the first graph?
so Grouping is made on Region1, Region2, Region3 then Total

I can walk on water when it freezes
Labels (1)
1 Solution

Accepted Solutions
ali_hijazi
Partner - Master II
Partner - Master II
Author

I did it
I found a tweak:
I created a dimension as followins in the script:
DIM:
load * inline [
DIM
1
2
];
then instead of adding the Region dimension, I added the following calculated dimension:
pick(DIM, Region, 'Total')
and here is the result:

ali_hijazi_0-1680360093795.png

 

 

I can walk on water when it freezes

View solution in original post

1 Reply
ali_hijazi
Partner - Master II
Partner - Master II
Author

I did it
I found a tweak:
I created a dimension as followins in the script:
DIM:
load * inline [
DIM
1
2
];
then instead of adding the Region dimension, I added the following calculated dimension:
pick(DIM, Region, 'Total')
and here is the result:

ali_hijazi_0-1680360093795.png

 

 

I can walk on water when it freezes