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 / 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,906 Moderator 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard