Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am trying to get a sum of the amount of lines sold for this current month using set analysis with the following:
SUM({$<Month([Order Date]) = {month(today())}>} [Line Amount])
I am getting errors, any ideas?
Thanks in advance
Sum({<[Order Date] = {">=$(=Date(MonthStart(max([Order Date))))<=$(=Date(Max([Order Date])))"}>}[Line Amount])
You can also create month field in Script as
Monthname([Order Date]) as Month
Use this in Set Analysis
Sum({<Month = {"$(=Maxstring(Month))"}>}[Line Amount])
Thankyou for your help, worked perfectly