

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
nested aggregation not allowed
Hi Friends,
(sum({<[Planning Versions]={"$(=Right(Year(Today()),1)&Num(vG_FN_CurrentMonth-1,'00'))"}>}
[Sales Plan in KS]*(if(ASP=0 and PLC=6.2 , Max(PMIN),ASP))))
is there any alternative?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looks like better approach only, try this?
(sum({<[Planning Versions]={"$(=Right(Year(Today()),1)&Num(vG_FN_CurrentMonth-1,'00'))"}>}
[Sales Plan in KS])*sum({<ASP = {0}, PLC ={'6.2'}, PMI={'$(=max(PMI))'}>}ASP))


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sum({<ASP = {0}, PLC ={'6.2'}, PMI={'$(=max(PMI))'}>}ASP))
and
if(ASP=0 and PLC=6.2 , Max(PMIN),ASP))
are same?


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
gwassenaar , any help, please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've notice now. Two are not the same and this condition works as same when you apply max statement in first expression then you may get answer. Let's wait sunny response stalwar1


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this may be:
= sum({<
[Planning Versions] = { "$(=Right(Year(Today()),1)&Num(vG_FN_CurrentMonth-1,'00'))"}
>} [Sales Plan in KS]
) * if(ASP = 0 and PLC = 6.2 , Max(PMIN), ASP)


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
will it do row by row multiplication?


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you try, it should. What chart object are you using?
