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 / Dropdown options from ...
Power Apps
Answered

Dropdown options from datatable in excel online

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am having trouble populating a dropdown by filtering options from a datatable. The items are from a certain column, filtered by a different column value.

 

Here is my code in the Items value of the dropdown - Sort(Distinct(Filter(Table5,'Issue Type'="Project"),Summary),Result) - This should show options from the 'Summary' column in Table5 where 'Issue Type' equals "Project"

 

This was working recently but has now broken.


TIA

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,333 Most Valuable Professional on at

    Hi @luredrive ,

    Really the same thing, but avoiding the Delegation warning, but try this

    With(
     {
     wItems:
     Filter(
     Table5,
     'Issue Type' = "Project"
     )
     },
     Sort(
     Distinct(
     wItems,
     Summary
     ),
     Result
     )
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @WarrenBelz , unfortunately that hasn't worked. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    The datasource is an excel online document table, if that changes anything? I know excel isn't a good database but it's the only solution I need right now, using a sharePoint site isn't an option.

  • WarrenBelz Profile Picture
    156,333 Most Valuable Professional on at

    Hi @luredrive ,

    Yes, that makes a bit of sense now. I do not (for may good reasons) use Excel and complex filters are often not "good friends" with it due to its (very) limited Delegation capability. I am surprised however that what I posted does not as the only interaction with the data source is in the top With() statement. How many records are involved here ?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I know, it is a bit of a bodge job because the information is actually taken from Jira via a download. 

     

    There are ~170 records that the filter needs to work with. The records I am interested in are from rows 1-any number so I can't even capture a group of records as it's dynamic.

  • WarrenBelz Profile Picture
    156,333 Most Valuable Professional on at

    @luredrive ,

    Maybe something corrupt in the connection. Try reconnecting, but other than that, it should work.

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Found a solution - 

     

    Sort(Distinct(Filter(Table5,"Project" exactin 'Issue Type'),Summary),Result)

     

    Not sure why the previous options did not work but this does.

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 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 181 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 112 Super User 2026 Season 2

Last 30 days Overall leaderboard