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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Distinct function retu...
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:

 
---
 
Categories:
I have the same question (0)
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    What does the table generated by the filter look like? Isn't country a choice column? Shouldn't it be Country.Value instead?
  • CU19111632-0 Profile Picture
    14 on at
    @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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard