Hi Power Apps Community,
I'm currently working on a Power Apps solution with SharePoint integration, and I need assistance with creating a formula for calculating the status of an event based on its start and end dates. Here are my specific requirements:
The status should be determined as follows:
- If the current date and time are before the StartDateAndTime, the status is "Upcoming."
- If the current date and time are between StartDateAndTime and EndDateAndTime, the status is "Ongoing."
- If the current date and time are after EndDateAndTime, the status is "Completed."
Additionally, if the event has a CancellationStatus of "Approved," the status should be "Cancelled."
I've tried several formulas, but I'm encountering issues, and the status is not updating as expected.
Second row should be completed but it is not updating.

Here is my Formula on the Status Column
