cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ddluizaud
New Member

Restrict two choices from dropdown menu

I would like to restrict the choices from a drop down menu to 3 choices.

Currently I have 5 choices:

  1. In Progress
  2. Pending
  3. Finished
  4. Approved (it's not to appear)
  5. In Revision (it's not to appear)

Does anyone know how to do this?

I have tried: Filter(Choices(MyDataSource.Status),Value="In Progress" and "Pending" and "Finished") and sooo many ways 

but it doesn't work I'M FREAKING OUT

 

Thanks 

1 ACCEPTED SOLUTION

Accepted Solutions
AJ_Z
Super User
Super User

Hey It would be useful to understand the datasource as that can play a factor in this sometimes but firstly I can see a slight issue with the logic try this:

 Filter(Choices(MyDataSource.Status),Or(Value="In Progress", Value= "Pending", Value= "Finished"))

I have done the above with the assumption a Microsoft List/Sharepoint List is your source.
This needs to be an Or and not an And



Signature:


If you appreciated my comments/responses please be sure to Like/Kudo them it really does make me smile 🙂 !
Link to the Power Platform Professionals United Kingdom User Group:

https://powerusers.microsoft.com/t5/Power-Platform-Professionals/gh-p/PowerPlatformProfessionalsUnit...

View solution in original post

3 REPLIES 3
AJ_Z
Super User
Super User

Hey It would be useful to understand the datasource as that can play a factor in this sometimes but firstly I can see a slight issue with the logic try this:

 Filter(Choices(MyDataSource.Status),Or(Value="In Progress", Value= "Pending", Value= "Finished"))

I have done the above with the assumption a Microsoft List/Sharepoint List is your source.
This needs to be an Or and not an And



Signature:


If you appreciated my comments/responses please be sure to Like/Kudo them it really does make me smile 🙂 !
Link to the Power Platform Professionals United Kingdom User Group:

https://powerusers.microsoft.com/t5/Power-Platform-Professionals/gh-p/PowerPlatformProfessionalsUnit...

ddluizaud
New Member

IT WORKED, THANK YOU SO MUCH I LOVE U!!! (my data source was actually Sharepoint haha)

Haha I am happy to hear that 🙂 ! have a Fantastic day and good luck with your App!



Signature:


If you appreciated my comments/responses please be sure to Like/Kudo them it really does make me smile 🙂 !
Link to the Power Platform Professionals United Kingdom User Group:

https://powerusers.microsoft.com/t5/Power-Platform-Professionals/gh-p/PowerPlatformProfessionalsUnit...

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,030)