I have a Sharepoint List data source for a Power App. The list is of contractors. Two of the fields in the list are Start Date and End Date. In the Power App, I would like to add a calculated field to determine the Status by comparing the Start Date and End Date to Today, e.g.
=IF([Start Date] > TODAY, "Inactive",
IF(AND([Start Date] < TODAY, [End Date] > TODAY), "Active",
IF(AND([Start Date] < TODAY, [End Date] < TODAY), "Inactive",
IF(ISBLANK([Start Date]), "Inactive",
"Active"))))
But I haven't been able to determine where to add the calculated field in Power Apps. Can anyone advise? Thanks!