Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Distinct function returning no values after Filter

(0) ShareShare
ReportReport
Posted on by 14
Hi everyone,  
I’m working on a PowerApps application where I need to filter a dataset (`'Operational Issues'`) a few times based on selected values from dropdowns. Currently, the first selection is the business unit combobox (`bunitCombo`). Based on the selected value of that combobox, I need the `countryCombo` to display distinct `Country` values  in its dropdown.
Here’s what I’ve done so far.:  

```Filter('Operational Issues', BusinessUnit.Value = DataCardValue1.Selected.Value)```
This correctly returns all records matching the selected `BusinessUnit`, but that includes duplicates/repeats:

But when I update it with Distinct it returns no values:

```Distinct(Filter('Operational Issues', BusinessUnit.Value = DataCardValue1.Selected.Value), Country)```

I expected this to return a single-column table with unique `Country` values, but it doesn’t return any values at all. It’s completely empty.  
---

Schema

- 'Operational Issues' List:

- IssueName - Text column

- BusinessUnit - Choice column

- Country - Choice column

- Customer - Lookup column (references the 'Title' column in the Customers list)

- DisplayName - Additional lookup column (derived from the Customer column to get the DisplayName from Customers)

- LogoURL - Additional lookup column (derived from the Customer column to get the LogoURL from Customers)

- Priority - Choice column

- ReportMonth - Choice column

- IssueDescription - Multiple lines of text column-

 

- 'Customers' List that's related:

- LogoURL - Text column (hyperlinks)

- FullName - Text column

- DisplayName - Text column

- Country - Choice column

And this is what my Operational issues list currently shows for Business Unit and Country:

 
---
 
  • CU19111632-0 Profile Picture
    14 on at
    Distinct function returning no values after Filter
    @ronaldwalcott
     
    When I add .Value, this is what my table looks like:
     
    Unfortunately, it's still not showing me any values in the Country combobox:
    And the table without .Value had [Record] values instead of the actual values. And yes, `Country` is a choice column
  • ronaldwalcott Profile Picture
    3,820 on at
    Distinct function returning no values after Filter
    What does the table generated by the filter look like? Isn't country a choice column? Shouldn't it be Country.Value instead?

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 770 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 494

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 399