Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I need sum(sales) only when start date > approved date. How can I achieve this in set analysis .
@tresesco any suggestion
Try like:
Sum({<Sales={"=StartDate=ApprovedDate"}>}Sales)
Tried above and this Sum({<startdate={">=approveddate"}>}sales)
Both did not work
Hi,
As @tresesco suggested,
Sum({<Sales = {"=StartDate>ApprovedDate"}>}Sales)
Above expression should work
hello Ashutosh,
I get '0' when I use the above expression.it is not the syntax error when I say that "It doesn't work"
Hi @v_jaideep ,
Check if both field date format is same.
Yes, Date format are same.
I got this working when used in the backend and create a flag and using that flag in set analysis.
But now I want the whole condition in set analysis , so that I could save a 'Join' in the script.
Can you share sample data or expression which you have used>
I think you need a Key field (you can create it with autonumber in the script) and then
Sum({<Key = {"=(StartDate> ApprovedDate)" } >} Sales)
Even this didn't work.😫
P.S: Above all options are not syntax errors just the data shown is '0 in my case.