Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Filter gallery by distinct and not isblank

(0) ShareShare
ReportReport
Posted on by 395

Hi, I have my gallery filtered to show only entries that have content but also need to show only distinct values. This is what i currently have. I thought just putting the Distinct( at the front would work but no joy

Filter(Parts_Request, Not(IsBlank(PartsOrderNumber)))

Any assistance would be much appreciated.

Categories:
  • Matt383 Profile Picture
    Matt383 395 on at
    Re: Filter gallery by distinct and not isblank

    I see what you mean now, i needed to change the field in the gallery to ThisItem.Value. Thanks WarrenBelz

  • Matt383 Profile Picture
    Matt383 395 on at
    Re: Filter gallery by distinct and not isblank

    Thanks WarrenBelz, no errors but gallery is blank. i am only trying to display one column (text field) That contains entries

  • Verified answer
    WarrenBelz Profile Picture
    WarrenBelz 145,445 on at
    Re: Filter gallery by distinct and not isblank

    Hi @Matt383 ,

    This should do it, but note that Distinct only returns one column called Value

    Distinct(
     Filter(
     Parts_Request, 
     !IsBlank(PartsOrderNumber)
     ),
     PartsOrderNumber
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,445

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,741

Leaderboard