Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
i've got this statement:
Sum (
{1<
Calendar.Week={$(=Max(Calendar.Week))}
>}
NetSales
)
Sum (
{1<
Calendar.Week={$(=Max(Calendar.Week))},
Calendar.CalDate={$(<=(Calendar.CalDate))}
>}
NetSales
)
Give this a try:
Sum({1<Calendar.Week={$(=Max(Calendar.Week))},Calendar.CalDate={'<=$(=Calendar.CalDate)'}>} NetSales)
I pulled the less than or equal out of the dollar-sign expansion and put the whole Set Modifier in quotes.
The easiest way to test Set Analysis is to put your expression into a chart, but don't give it a label. On the chart, the label for that expression will be the Set Analysis expression with the dollar-sign expansion evaluated.
Give this a try:
Sum({1<Calendar.Week={$(=Max(Calendar.Week))},Calendar.CalDate={'<=$(=Calendar.CalDate)'}>} NetSales)
I pulled the less than or equal out of the dollar-sign expansion and put the whole Set Modifier in quotes.
The easiest way to test Set Analysis is to put your expression into a chart, but don't give it a label. On the chart, the label for that expression will be the Set Analysis expression with the dollar-sign expansion evaluated.