web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Populating Drop Down I...
Power Apps
Unanswered

Populating Drop Down Items with Filtered Collection

(0) ShareShare
ReportReport
Posted on by 13

I have a drop down that is populated from a Sharepoint list called "Interface".

 

items = Distinct(Interface,Story)

This works fine, but there is always a blank value added to the list. I want to fix that problem, like this:

 

items = RemoveIf(Distinct(Interface,Story),IsBlank(Story))

When I try this, I get the following intellisense error: "This function can only be used in Action rules".

 

What am I doing wrong?

Categories:
I have the same question (0)
  • nickduxfield Profile Picture
    497 on at

     

    Its better to create an entry of Un-Selected in the list, then set the Default value of the SharePoint field to "Un-Selected".

    Then in the AllowedValues Control the default will be "Un-Selected" when a  new person creates a new item.

     

    This assumes, the the form has a field like 'Interface' of single line of text from a SharePoint List.

    And the lookup pulls data from another list which has a 'Story' entry of "Un-Selected".

     

    Work for me and can be implemented anywhere even lists with unique values.

     

    The problem is that the Not! or Distinct(Filter,XXX),XX) is not supported with the connector or service, or the column doesn't support the code, or the code is not delegatable.

    There fore the simple approach I find works well be cause it is supported and deals with Simple Fields.

     

     

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 400 Most Valuable Professional

#2
11manish Profile Picture

11manish 141 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard