I am using a data collection and attempting to "substitute" some data table column values, to text, for example "1" equals "Approved" and "2" equals "Denied". However, some entries do not have any status and should be considered equal to "Pending". Meaning, while they show in my table in PowerApps, because they exist in the collection, their status "Approved/Denied" has not been set yet, so that data does not exist in my data collection for this column and I think would then be considered "null", "blank" or "empty" in the data collection. However, I have tried the following strings and while they successfully replace the "1" and "2", the empty field will not update. Perhaps I am missing the "substitute" function in this case?
Substitute(Substitute(Substitute(ThisItem.Status, "1", "Approved"),"2", "Denied"), "", "Pending")
Substitute(Substitute(Substitute(ThisItem.Status, "1", "Approved"),"2", "Denied"), IsBlank(ThisItem.Status), "Pending")
Substitute(Substitute(Substitute(ThisItem.Status, "1", "Approved"),"2", "Denied"), IsEmpty(ThisItem.Status), "Pending")
Substitute(Substitute(Substitute(ThisItem.Status, "1", "Approved"),"2", "Denied"), Blank(), "Pending")
I just need that "Blank" or missing value to return "Pending". Thank you.