Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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 | ||
product | price | price | price | total |
a | 10 | 10 | 10 | 30 |
b | 20 | 20 | 20 | 60 |
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.
You can do something like this:
=RangeSum(FirstExpression, SecondExpression, ThirdExpression)
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.
try:
=sum(<total Product> Price)
hi peter ,
yes iam using a pivot table
hi sunny,
when I trying to use this iam getting every month the sum which is not correct..
at the end I should have one total column.. i.e for product a - total price is 30
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
Can you share a sample?
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.