I have a date Starting beginning of financial year. We then Have a 'Budget Number of Months' measure that users enter number of months a project will run. A rule then calculates the end date based on this month entry.
Below is the rule I use. I would like to be more accurate in the month number of days as the 365/12 sometimes targets beginning of month and other times just before. Does anyone have a suggestion on how to recognise month number days OR at least round to the closest 1st day of next month?
Code: Select all
['End Date' ] = N: DayNo('2012-07-01') + 21916+ ['Number of Months' ]* 365/12;
thanks in advance