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: 
Qlikcommando
Contributor
Contributor

SUM BASED ON DIMENSION

I have data like below

Column1                          Column 2        Total

P

M

100

P

W

10

S

M

150

S

W

30

 

I want to have data that sums the Total based on Column2 value like what is in Total2

Column1                          Column 2    Total    Total2

P

M

100

250

P

W

10

40

S

M

150

250

S

W

30

40

 

Please can someone explain how to get there?

 

Thanks

Labels (5)
1 Solution

Accepted Solutions
vinieme12
Champion III
Champion III

As below , using TOTAL keyword

sum(TOTAL <Column2> Total)

 

refer this as well

https://community.qlik.com/t5/Qlik-Design-Blog/What-does-the-TOTAL-qualifier-do/ba-p/1472990

https://help.qlik.com/en-US/sense/February2022/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/defin...

 

 

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

1 Reply
vinieme12
Champion III
Champion III

As below , using TOTAL keyword

sum(TOTAL <Column2> Total)

 

refer this as well

https://community.qlik.com/t5/Qlik-Design-Blog/What-does-the-TOTAL-qualifier-do/ba-p/1472990

https://help.qlik.com/en-US/sense/February2022/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/defin...

 

 

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.