cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
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
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Check out the Power Apps Community Call for January 2021

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (8,864)