Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Column SUM not working in Straight Table

Hi Guys,

I have attached sample QVW file.

I am using simple sum formula like below  [Material Cost] + [Delivery Cost] to get the Total Cost Column.

But the the total Cost Column is only showing total when both fields have value.

As shown in below.. Order ID 2,3,5 & 6 does not show total cost.

Desired Table.PNG

If Delivery Cost column does not have any value then I still want the Total Cost column to show total.

How to achieve that ?

Thanks

1 Solution

Accepted Solutions
tamilarasu
Champion
Champion

Hi Lokesh,

Try this,

RangeSum(MaterialCost , DeliveryCost)


Capture.PNG

View solution in original post

2 Replies
tamilarasu
Champion
Champion

Hi Lokesh,

Try this,

RangeSum(MaterialCost , DeliveryCost)


Capture.PNG

Not applicable
Author

Thanks