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

How do I show pivot results above a certain value ?

Hi Everyone.

I have a pivot table object on my dashboard which shows the sum of budget amount per customer. I want to restrict the list to those customers whose total budgets are greater than £20,000. How do I do this in set analysis ?

Thanks for your help

MV 

1 Solution

Accepted Solutions
anbu1984
Master III
Master III

sum({<Customer={"=sum(Budget)>20000"},Type={'Budget'}>}Budget)

View solution in original post

9 Replies
ali_hijazi
Partner - Master II
Partner - Master II

if your expression is sum(Budget)

then it will be something like this

sum({<Customer={"=sum(Budget)>20000"}>}Budget)

I can walk on water when it freezes
anbu1984
Master III
Master III

If(Aggr(Sum(BudgetAmt),Customer)> 20000,Sum(BudgetAmt))

Not applicable
Author

Hi Anbu,

What's the advantage of using AGGR in the expression, rather than not using it ?

MV

anbu1984
Master III
Master III

From QV help,

aggr ([ distinct | nodistinct ] [{set_expression}]expression {, dimension})


Using Aggr() you can do aggregation for the dimensions mentioned in Aggr(), instead of all the dimensions included in your chart.

simenkg
Specialist
Specialist

sum({<Customer={"=sum(BudgetAmount)>20000"}>}BudgetAmount)

sujeetsingh
Master III
Master III

Use calculated Diemsion

Not applicable
Author


Hi Ali,

How do I include a second condition into your expression ?

Type = "Budget"

MV

anbu1984
Master III
Master III

sum({<Customer={"=sum(Budget)>20000"},Type={'Budget'}>}Budget)

ali_hijazi
Partner - Master II
Partner - Master II

Maureen Vickers anbu cheliyan already answered you

I can walk on water when it freezes