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 / Filter Canvas App gall...
Power Apps
Answered

Filter Canvas App gallery - Only show items without related table rows

(0) ShareShare
ReportReport
Posted on by 31

Hi Community, 

 

I am trying to apply some filtering to my canvas app gallery which is using Dataverse as source.

 

Description

I have a parent table (Table 1) and a child table (table 2) with a 1:N relationship. 

In my canvas app gallery I am currently displaying all Table 1 rows. 

 

Challenge/requirement

I want to filter my gallery to only show Table 1 rows that does not contain any related table 2 rows, based on the current user.

 

 

Does anyone have some pointer on how this could be achieved?

 

Thanks in advance!

Categories:
I have the same question (0)
  • Verified answer
    mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    hey @joakimgg 

     

    you can try do it this way, here is an example:

     

    Filter(
     Table1,
     IsEmpty(
     LookUp(
     Table2,
     Table2ForeignKey = Table1PrimaryKey && Table2UserField = User().Email
     )
     )
    )

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • joakimgg Profile Picture
    31 on at

    Hi @mmbr1606 ,

     

    Thank you for a very quick response! I tried to implement your logic, but I am currently experiencing the below error:

    "The specified column is not accessible in this context"

     

    Do you by chance know what the root cause could be?

  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    Can u copy paste the code u worked out please

  • joakimgg Profile Picture
    31 on at

    Please see the below code:

     

    joakimgg_0-1705676593974.png

     

    The error is thrown after the lookup step when I'm trying to retrieve table 2 (Notice Histories). 

  • joakimgg Profile Picture
    31 on at

    Hi @mmbr1606 ,

     

    I managed to resolve this, thanks! I needed to also update some of my general app settings.

     

    In addition, I could also just create the same filter by creating a dataverse view. 

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 600

#2
WarrenBelz Profile Picture

WarrenBelz 478 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 322

Last 30 days Overall leaderboard