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 / Filter and distinct da...
Power Apps
Answered

Filter and distinct data from collection in dropdown

(0) ShareShare
ReportReport
Posted on by 102

Hi, 

 

I have dataset with 10K+ rows, so I am pulling them to collection.

Dataset has Class, Code, Description and other fields.

 

Dropdown1 is distinct value of Class - I have done this.

Dropdown2 is distinct values of Code within Class chosen by Dropdown1. - I am struggling with this, I want to reduce items shown here by first filtering by Class, but my codes give nothing.

 

I am going to filter gallery based on combination of two outputs from Dropdowns - I have done this as well.

 

Can someone help me with Dropdown2 code?

Thanks!

Categories:
I have the same question (0)
  • Verified answer
    Dulat Profile Picture
    102 on at

    Distinct(
    Filter(
    col_main_table,
    field_1 = Filter_Line_class_1.Selected.Value), field_5
    )

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard