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 / Radio Box Distinct Fun...
Power Apps
Answered

Radio Box Distinct Function help

(0) ShareShare
ReportReport
Posted on by 364

Hi All, 

 

I have an app that that is used to quote the cost of Wire Harnesses. I have a Dataverse table named AUNA Wire Harnesses that currently contains every part associated with our Wire Harnesses, and it contains data like the "Category", "Wire Harness Number", "Price", "Description", etc. 

 

I would like help trying to figure out how to get a distinct list of my part numbers based on their category. Currently in my radio box, I am using Filter('AUNA Wire Harnesses', Text(Category) = "Connector") to pull in all my parts marked as connectors. My issue is the same connector can be used in multiple different wire harnesses, so there are multiple rows with the same part, resulting in duplicates in my radio box. I would like to have each part number appear only once in the radio box. My goal is to later on have the app figure out which wire harness is being produced based on the selected choices. Connectors are the very first part that needs to be selected. I have tried using the Distinct function but have not had success.

 

Aurora_0-1661789420662.png

Duplicate parts have a red dot next to them.

 

Any assistance is greatly appreciated!

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Aurora 

    What issue have you run into with Distinct?

    Your formula should be:

    Distinct(
     Filter('AUNA Wire Harnesses', Category = "Connector"),
     Category 
    )

    Assuming that Category is what you are displaying.

     

    I hope this is helpful for you.

  • Aurora Profile Picture
    364 on at

    Never Mind, I solved it with this: 

     

    Distinct(Filter('AUNA Wire Harnesses', Text(Category) = "Connector"), 'Part Number')

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Aurora 

    Very good.  However, you need not convert a Text column to Text...it is already Text.  So your formula should be:

    Distinct(Filter('AUNA Wire Harnesses', Category = "Connector"), 'Part Number')

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 993

#2
Valantis Profile Picture

Valantis 675

#3
11manish Profile Picture

11manish 545

Last 30 days Overall leaderboard