Hi, i have a small Sharepoint list (<500 items including the hidden system columns). I'm trying to load a specific Sharepoint list based on a dropdown box choice into a collection using ClearCollect.
It appears there is a bug (unless I'm missing something) in that a number of columns do not get loaded into the collection when the ClearCollect is called from within a Switch or If statement, with Switch and If (I've tried both) determining the correct Sharepoint list to load based on the dropdown box selection.
If I do a ClearCollect on any one of the Sharepoint lists outside of the If/Switch logic (ie. dropdown choice has no effect) then all columns load fine.
Am I missing something or is this a bug? I've tried closing Powerapps and restarting, removing and re-connecting the Sharepoint lists and disabled the "explicit column selection" setting.
PowerApps ver 3.21081.49.
Sample Code:
//works fine - all columns retrieved and in the Units collection
ClearCollect(Units,'Conversion Table - xyz')
//does not work fine - some columns are missing in the units collection
If(dropdownName.Selected.Value="xyz",ClearCollect(Units,'Conversion Table - xyz'))