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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to show the total value of a field beside a particular selected value

Hello Everyone,

As I mentioned in the attachment,if I select an area and a garden it will show the corresponding sold qty. of the selected garden's season wise. But I want to show the total value of all the garden under the selected area beside the value of a particular garden of a season.Is it possible that I can also show all the total sold qty value of total area beside a selected garden's Sold Qty. value.

Thanks,

Raj

1 Solution

Accepted Solutions
deepakk
Partner - Specialist III
Partner - Specialist III

hi,

If i understand your requirment correctly. this is want you are looking at.

First expression (Sold Qty) : Sum(Qty)... > this will provide you qty as per the selected Garden or Area.

Second expression (Avg Qty) : Sum({<Garden=>} Qty) / Sum ({<Garden=>} total Qty) .. this will give you average irrespective of the selection.

I hope this what you are looking for.

View solution in original post

5 Replies
deepakk
Partner - Specialist III
Partner - Specialist III

hi,

Use the expression as below

Sum( {<Garde= {"*"}>} Qty).

I hope this helps.

Not applicable
Author

Hi,

No,this was not worked.Suppose I select an Area and then a garden then it should shown the sold qty.of that particular garden and total sold qty.value of the area beside the sold qty.value of the selected garden.

Thanks,

Raj

johnw
Champion III
Champion III

Expanding on Deepak's answer, maybe this?

sum({<Garden=>} total <Area> Qty)

If that isn't it, how about showing what you actually want to display? I'm very confused by your description.

Not applicable
Author

Hello Sir,

Let me explain it.As you seen in the first snapshot,if I select a garden it will show the corresponding sold qty.and beside that value I want to show the total avg.sold qty of all the garden under this area.Please see the snap I explain it there what I want to do.

Thanks & Regards,

Raj



deepakk
Partner - Specialist III
Partner - Specialist III

hi,

If i understand your requirment correctly. this is want you are looking at.

First expression (Sold Qty) : Sum(Qty)... > this will provide you qty as per the selected Garden or Area.

Second expression (Avg Qty) : Sum({<Garden=>} Qty) / Sum ({<Garden=>} total Qty) .. this will give you average irrespective of the selection.

I hope this what you are looking for.