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

columns

hi all,

is there any way to add columns and get the total as in red

example as below. in red

the price is an expression.. not a dimension...

   

                 Jan             feb           mar
productpricepricepricetotal
a10101030
b20202060
1 Solution

Accepted Solutions
rubenmarin

Hi, about the colour in the expressions tab, expand the expression to set color to lightred:

And about the totals, in presentation tab, check subtotals down.

View solution in original post

17 Replies
sunny_talwar

You can do something like this:

=RangeSum(FirstExpression, SecondExpression, ThirdExpression)

Peter_Cammaert
Partner - Champion III
Partner - Champion III

I guess you are using a pivot table with a Product dimension on the left and a Month dimension at the top. Add subtotals for the Month dimension and you'll get your total column.

Anonymous
Not applicable

try:

=sum(<total Product> Price)

raadwiptec
Creator II
Creator II
Author

hi peter ,

yes iam using a pivot table

raadwiptec
Creator II
Creator II
Author

hi sunny,

when I trying to use this iam getting every month the sum which is not correct..

raadwiptec
Creator II
Creator II
Author

at the end I should have one total column.. i.e for product  a - total price is 30

raadwiptec
Creator II
Creator II
Author

hi peter ,

if I do as u mentioned. I get the total price of all the products for jan month.. which is still not  correct.

it should be only column adding up to a total for a single product

sunny_talwar

Can you share a sample?

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Switch to a subtotal for the other dimension and see what happens.

Don't hesitate to experiment in QlikView. You never know what great new tricks you'll discover.