Solved! Go to Solution.
PowerApps will not let you write a SWITCH statement that way because ThisItem has the potential to be different for each datasource. Instead, you must do it the longer way...
Switch(
ddSkolvaljaren.SelectedText.Value ;
"YG A"; Remove(YG2001AH; ThisItem);
"YG B"; Remove(YG2002AH; ThisItem);
"YG C"; Remove(YG2003AH; ThisItem);
"YG D"; Remove(YG2004AH; ThisItem);
"YG E"; Remove(YG2012AH; ThisItem)
)
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
PowerApps will not let you write a SWITCH statement that way because ThisItem has the potential to be different for each datasource. Instead, you must do it the longer way...
Switch(
ddSkolvaljaren.SelectedText.Value ;
"YG A"; Remove(YG2001AH; ThisItem);
"YG B"; Remove(YG2002AH; ThisItem);
"YG C"; Remove(YG2003AH; ThisItem);
"YG D"; Remove(YG2004AH; ThisItem);
"YG E"; Remove(YG2012AH; ThisItem)
)
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Thank you this is om nice it works .
Perfect solution.
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
207 | |
192 | |
82 | |
57 | |
38 |
User | Count |
---|---|
299 | |
247 | |
119 | |
83 | |
55 |