It seems the one of the most recent updates(May 21 or May 30) have crippled the Switch and If functions.
My application uses multiple CDS entities to track inventory data. Based on the location being referenced, I have multiple Switch and If functions that direct data to their respective entities.
After one of the above updates, all of my If and Switch functions give me the following message:
"All possible results of the 'If' function must reference the same data source."
"All possible results of the 'Switch' function must reference the same data source."
I do not see anywhere in recent release notes stating that this is a new feature or fix.
The inability to switch between different data sources within a Switch or If function effectivley cripples the potential capabilities of powerapps. I am sure there might be a way to get around the issue by completely reworking the backend of my application, but it would be messy and inefficient.
Until this is fixed, is there a way to revert back to a previous version in the editor? The live version of the application still works as intended but I am unable to make changes until this is fixed.
UPDATE: Just got off the phone with Microsoft. They are aware of the issue and are planning on rolling out a fix within the next few days...