Qlik Community

Ask a Question

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Qlik Highlights 2020 Giveaway! Watch, reply and have a chance to win a $200 Amazon Gift Card! Watch Video
cancel
Showing results for 
Search instead for 
Did you mean: 
Contributor III
Contributor III

Set analyses with masteritem vBudget

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)

1 Solution

Accepted Solutions
Partner
Partner

Hi Marcellino....

vBudget= Sum({<Year = '2017'>} Budget)


wherever you need this expression, use this variable as "$(vBudget)"


Regards,

Jayshri

View solution in original post

8 Replies

May be this?

Sum({<Year = {2017}>} Budget)

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
Contributor III
Contributor III

I want to use the masteritem vBudget within the set analyses (QlikView)

This?

Sum({<Year = {2017}, masteritem = {$(vBudget)}>} Budget)

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
Contributor III
Contributor III

=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))

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
Partner
Partner

Hi Marcellino....

vBudget= Sum({<Year = '2017'>} Budget)


wherever you need this expression, use this variable as "$(vBudget)"


Regards,

Jayshri

View solution in original post

Contributor III
Contributor III

Thanks Jayshri,

The following expression I have used now:

Sum({$<SalesPerson={"=$(vBudget)>355000"}>}Budget)

Regards,

Marcellino

Partner
Partner

Welcome  Marcellino....