I am currently working on an app where we want to do a CALENDAR REPORT based on the start date and frequency. This seems kind of unachievable on my part. I tried this formula for the occurrence based on the start date but somehow it displays wrong data.
If([Frequency] = "Daily",
ToText([Start Date]),
If([Frequency] = "Weekly",
ToText(ToDate(Month([Start Date]) & "-" & ToText(DayOfWeek([Start Date]) + 7) & "-" & Year([Start Date]))),
If([Frequency] = "Semi Monthly",
ToText(ToDate(Month([Start Date]) & "-" & If(Day([Start Date]) > 15, "01", "16") & "-" & Year([Start Date]))),
If([Frequency] = "Monthly",
ToText(ToDate(Month([Start Date]) + 1 & "-01-" & Year([Start Date]))),
""
)
)
)
)
Could you please provide some insights?
------------------------------
XYZ
XYZ
------------------------------