Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Filter with user field

(0) ShareShare
ReportReport
Posted on by 145

Hi community,

I don't able to resolve that: I have a table where I filter some records of a List. In one field I have user name but some record username are empty. With that filter the result is that the table show me only record that username are fill in, but I ha ve several  record with username empty. I want see all record. Could you help me? Many thanks

 

Filter(myList;StartsWith(value1.Value; drpValue1.Selected.Value) &&

                         StartsWith(value2;txtValue2.Text)                         &&

                         StartsWith(UserID.DisplayName ;txtname.Text)

);

Categories:
  • Verified answer
    v-siky-msft Profile Picture
    v-siky-msft on at
    Re: Filter with user field

    Hi @Giorgio67 ,

     

    Do you mean show records that both meet the DisplayName search criteria and records that don't have user names, on basis of the first two criteria, right?

    If so, please try with this.

     

    Filter(myList;

    StartsWith(value1.Value; drpValue1.Selected.Value) &&

    StartsWith(value2;txtValue2.Text) &&

    (StartsWith(UserID.DisplayName ;txtname.Text)|| UserID.DisplayName=Blank())

    );

     

    Hope this helps.

    Sik

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,475

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,767

Leaderboard