cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
linds787
Helper I
Helper I

Newbie needs help with varying Dropdown choice in Gallery

Hello All,

I am already feeling nice and welcome in this community and I am looking forward to growing and learning more!

 

My question today is - 

If I have a Gallery with yes/no dropdowns, am I able to use an If statement to allow some specefic questions to have a third choice of "NA"? We dont want the users to have the option of saying "NA" for most of the questions

 

I have quite a tall order for somone with no experience 6 days ago, but I am up to the challenge!

Thank you so much!

Lindsey

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-monli-msft
Community Support
Community Support

 Hi @linds787 ,

 

Is it a SharePoint Yes or No column type column in this gallery? If so, then for SharePoint list, this column would only have Yes or No value. So you won't need to use a NA to show in the gallery.

 

But if it's not a Yes or No column, then you could set below formula in the Items property of the dropdown control:

If(Label1.Text="xxxx" || Label1.Text="xxxx" ||Label1.Text="xxxx",["Yes","No","NA"],["Yes","No"])

Regards,

Mona

Community Support Team _ Mona Li
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-monli-msft
Community Support
Community Support

 Hi @linds787 ,

 

Is it a SharePoint Yes or No column type column in this gallery? If so, then for SharePoint list, this column would only have Yes or No value. So you won't need to use a NA to show in the gallery.

 

But if it's not a Yes or No column, then you could set below formula in the Items property of the dropdown control:

If(Label1.Text="xxxx" || Label1.Text="xxxx" ||Label1.Text="xxxx",["Yes","No","NA"],["Yes","No"])

Regards,

Mona

Community Support Team _ Mona Li
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 (2,026)