When I apply ShowColumns while building a collection from a SharePoint table, the undesired columns are still added to the collection. The records in the collection contain no data within these columns. My expectation is these columns do not exist at all in the collection.
See below where I illustrate the result in colCountries. Then see that if I apply the exact same function to build colCountries2 (against a non SharePoint data source that in this example will be an existing collection), ShowColumns works as expected.
ClearCollect(
colCountries,
Sort(
ShowColumns(
tblCountry,
"ID", "Country", "Selectable", "ReplacementFK", "PTO"),
Country
)
)

Now, I will repeat this same operation on an existing collection:
ClearCollect(
colCountries2,
Sort(
ShowColumns(
colCountries,
"ID", "Country", "Selectable", "ReplacementFK", "PTO"),
Country
)
)
