cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BrandonWeaver
Regular Visitor

Update Broke Switch & If Functions

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...

1 ACCEPTED SOLUTION

Accepted Solutions
v-micsh-msft
Community Support
Community Support

Thank you for the updated information.

 

Quoted the Response from BrandonWeaver with the Update:

"

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...

"

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-micsh-msft
Community Support
Community Support

Thank you for the updated information.

 

Quoted the Response from BrandonWeaver with the Update:

"

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...

"

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (3,001)