

Creator
‎2010-02-26
11:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Another Set Analysis issue
Hi, guys,
I need to sum sales for supply scheme A1 in all branches and A1,A2 schemes in Office. Using IF(..) statement, it would be
sum(if(supp_scheme='A1' or bra_id='OFI', sales))
However it is part of set analysis, so I need to write it in that style. It could be something like
sum({<supp_scheme={'A1'} - {"bra_id='OFI'"}>} sales)
Any ideas would be appreciated,
Justinas
318 Views
1 Solution
Accepted Solutions

.png)
Luminary Alumni
‎2010-02-26
12:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I hope the following is you are looking for.
sum({<supp_scheme={$(=if(bra_id='OFI', 'A1,A2', 'A1'))}>}sales)
Regards
231 Views
1 Reply

.png)
Luminary Alumni
‎2010-02-26
12:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I hope the following is you are looking for.
sum({<supp_scheme={$(=if(bra_id='OFI', 'A1,A2', 'A1'))}>}sales)
Regards
232 Views
