

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What dos {$1} in the modifier do in Set Analysis
This might be a really simple question, but I am hoping someone can point me in the way of some good documentation on this.
I've seen examples where {$1} is used in the moderator. What exactly does this mean?
Example could be
Sum({<Account = {$1}, Company = {$2}>}Sales)
Thanks.
- « Previous Replies
- Next Replies »
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think this is used in a variable if I am not wrong? See this:


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
$1 – previous selection ($2: the second previous selection, etc.)


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So is it used to make the set analysis calculation more dynamic based on choices? What if I you haven't made a selection yet?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Maybe one off the most usless modifier ever?! or does someone have a great example to convince me.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey Ali, this material help me a lot with set analysis
I hope this could help you too.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is not being used in set analysis as you showed.
But like Sum({$1}Sales) , Sum({$1}Sales)
In situation where you want to see what difference it makes in tables or bars based on your selections.
You may creates set of bar charts showing different states. So its kind of dynamic comparisions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think this is used in a variable if I am not wrong? See this:


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ali,
PFA document for basic set analysis.
Regards,
Mayank


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes Sunny but I think in variable parameter is used with $1 , here Ali asked about {$1}
But good that your brought this up. It helps clearing both concept.
For Ali,
Lets say you define variable vTemp with expression Sum(Sales)/$1
then using $(vTemp(1000)) would mean Sum(Sales)/1000.
Sunny, pls correct me if I am mistaking here something in understanding them

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Where are you seeing {$1}?
Sum({<Account = {$1}, Company = {$2}>}Sales) -> Looks more like variable with parameters
Sum({$1<Account = {'123'}, Company = {'xyz'}>}Sales) -> Now looks like it is referring to previous selection.....
Sample to follow

- « Previous Replies
- Next Replies »