Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
What is the right syntax with set analyses when year=2017 and I want to use the masteritem vBudget?
masteritem in script is: vBudget = sum(Budget)
Hi Marcellino....
vBudget= Sum({<Year = '2017'>} Budget)
wherever you need this expression, use this variable as "$(vBudget)"
Regards,
Jayshri
May be this?
Sum({<Year = {2017}>} Budget)
I want to use the masteritem vBudget within the set analyses (QlikView)
This?
Sum({<Year = {2017}, masteritem = {$(vBudget)}>} Budget)
=for example: sum({$<Jaar={'2012'}>} $(vBudget)) but this doesn't work (2 sums)
It works but it sums the double
sum({$<Jaar={'2012'}>} Aggr($(vBudget), YourDimensions))
Hi Marcellino....
vBudget= Sum({<Year = '2017'>} Budget)
wherever you need this expression, use this variable as "$(vBudget)"
Regards,
Jayshri
Thanks Jayshri,
The following expression I have used now:
Sum({$<SalesPerson={"=$(vBudget)>355000"}>}Budget)
Regards,
Marcellino
Welcome Marcellino....