cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Hemasai1999
Helper III
Helper III

Filter in Dropdown

Hi,

I have one dropdown I want to get data from sharepoint list for which I have written formula ( Filter(SPLIST,Role = LP).FullName))

Now I want to get data from sharepoint list as well as I need to have "all" in dropdown.

 

Thanking in advance 

1 ACCEPTED SOLUTION

Accepted Solutions
CNT
Super User
Super User

@Hemasai1999 Try this,

With({varItems:Filter(SPLIST,Role = LP))},
ForAll(Sequence(CountRows(varItems)+1), {Value:If(Value=1, "All",Last(FirstN(varItems, Value-1)).FullName)}
	)
)

View solution in original post

2 REPLIES 2
CNT
Super User
Super User

@Hemasai1999 Try this,

With({varItems:Filter(SPLIST,Role = LP))},
ForAll(Sequence(CountRows(varItems)+1), {Value:If(Value=1, "All",Last(FirstN(varItems, Value-1)).FullName)}
	)
)
StalinPonnusamy
Super User
Super User

Hi @Hemasai1999 

Set Dropdown Items property 

Choices(SPlist.FieldName)

 

StalinPonnusamy_0-1626328285684.png

 

If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

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,327)