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: 
suvechha_b
Creator III
Creator III

Is it possible to get the total by all

Capture.PNG

How to get the Total (Back Order) as sum(backorder_qty) for all products . when a particular product is selected as show in the picture .

The chart should look like this but the total should be sum(backorder_qty) for all products not just the sum of the two rows after selection.

sample model attached.

1 Solution

Accepted Solutions
sunny_talwar

Disregard my previous response, I think you might want to try this:

If(Dimensionality() = 0, Sum({1}backorder_qty), Sum([backorder_qty]))

View solution in original post

3 Replies
sunny_talwar

I think you forgot to enable the Total Mode on expression tab?

Capture.PNG

suvechha_b
Creator III
Creator III
Author

No , the total is sum of 31350 + 26400 .

But my req. is it should have sum(backorder) irespective of selected Product in the filter.

sunny_talwar

Disregard my previous response, I think you might want to try this:

If(Dimensionality() = 0, Sum({1}backorder_qty), Sum([backorder_qty]))