Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hy guys. What am I doing wrong in Month to date calculus? The result is 0 for this expression;
=Sum({<DATE={">=$(=Num(MonthStart(Max(GetFieldSelections(DATE)))))<=$(=Max(GetFieldSelections(DATE)))"}>} SALES)
Do you select multiple dates or just a single date? May be try this:
=Sum({<DATE={">=$(=Date(MonthStart(Max(DATE)), 'DateFieldFormatHere'))<=$(=Date(Max(DATE), 'DateFieldFormatHere'))"}>} SALES)
Do you select multiple dates or just a single date? May be try this:
=Sum({<DATE={">=$(=Date(MonthStart(Max(DATE)), 'DateFieldFormatHere'))<=$(=Date(Max(DATE), 'DateFieldFormatHere'))"}>} SALES)
Can you share a sample with expected output..
In the above expression you are using "Num" for the greater than date, Is the date is numeric ?
may be helpful for you?
Would you be able to provide sample or try this too. I've added num function in the second date which you required
=Sum({<DATE={">=$(=Num(MonthStart(Max(GetFieldSelections(DATE)))))<=$(=num(Max(GetFieldSelections(DATE))))"}>} SALES)
Thanks alot guys. It was the dateformat problem. I`m so happy when I see that I get answers so fast ![]()
Thank you again.