I do a filter data by the customer, then I would subtract one year from this filter, to be able to sort a column by the filter of the map and the other column for the result of subtraction of dates
You should use : CALCDATE('<-1Y>', YourFilteringDate);
Otherwise if you work in another language, it might be that 'Y' has no sense and thus gives an error.
Regards,Alain Krikilion No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
I've a similar problem.
A table has a starter and an ending date.
I need to insert a new column to calculate the remaining days. So the task sounds very simply, but when I saw the CALCDATE in the Help I said myself: oh my God... what a difficult it is.
Can anyone help me in this?
I would need the formula that operates the substraction.
Comments
# of days = date1 - date 2
http://www.BiloBeauty.com
http://www.autismspeaks.org
http://www.BiloBeauty.com
http://www.autismspeaks.org
Otherwise if you work in another language, it might be that 'Y' has no sense and thus gives an error.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
I've a similar problem.
A table has a starter and an ending date.
I need to insert a new column to calculate the remaining days. So the task sounds very simply, but when I saw the CALCDATE in the Help I said myself: oh my God... what a difficult it is.
Can anyone help me in this?
I would need the formula that operates the substraction.
I played a little with the fields.
I created an Integer variable in the C/AL Globals.
Then I typed this: newdate := endingDate - startingDate;
And it seems it works. I get the result of the substraction in days
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!