Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
sum({<Customer={"=sum(Budget)>20000"},Type={'Budget'}>}Budget)
if your expression is sum(Budget)
then it will be something like this
sum({<Customer={"=sum(Budget)>20000"}>}Budget)
If(Aggr(Sum(BudgetAmt),Customer)> 20000,Sum(BudgetAmt))
Hi Anbu,
What's the advantage of using AGGR in the expression, rather than not using it ?
MV
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.
sum({<Customer={"=sum(BudgetAmount)>20000"}>}BudgetAmount)
Use calculated Diemsion
Hi Ali,
How do I include a second condition into your expression ?
Type = "Budget"
MV
sum({<Customer={"=sum(Budget)>20000"},Type={'Budget'}>}Budget)
Maureen Vickers anbu cheliyan already answered you