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 / Reverse search / searc...
Power Apps
Answered

Reverse search / search for non-existent data

(0) ShareShare
ReportReport
Posted on by 36

Hi
I hope this great forum can help me again with a tip - I just can't find a solution.

 

I have a gallery. My users can use a button to mark posts that have already been read as such. With the help of the patch function, their user name is entered in the "Read status" column of Datavers.

 

Since we have a lot of posts, I would like to create a filter with which all unread posts can be displayed.

Although I manage to display all the read posts. But I can't manage to do the search in reverse, so that only the posts are displayed where the user name is not yet in the table.

 

Do you have an idea how I could go about this?

 

Many thanks for your help!

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @nic86 

    Probably the easiest way to do this is to create a view from your dataverse table and use that view for your gallery.!1.jpg

  • nic86 Profile Picture
    36 on at

    Hi @Drrickryp 

    Thanks for your tip.

     

    Unfortunately, if I understand it correctly, this doesn't seem to solve my problem either. Since all user names are written one after the other in one line with the patch function, I would otherwise have to create a separate Dataverse view for each user. And make them available separately for each user in PowerApps. Or am I wrong?

  • Verified answer
    nic86 Profile Picture
    36 on at

    Fortunately, I think I've finally found a solution that works (and actually wasn't difficult at all).

    I'm not (yet) able to search directly for the username. But via the detour of an additional text input, the whole thing now works as desired. The (not visible) text input gets its data automatically via User().FullName.

    Maybe it helps someone else here:

    If(
     Checkbox2.Value;
     Filter(
     Test;
     Not(TextInput1.Text in ReadStatus)
     );
     Test
    )

     

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 490

#2
WarrenBelz Profile Picture

WarrenBelz 427 Most Valuable Professional

#3
Vish WR Profile Picture

Vish WR 381

Last 30 days Overall leaderboard