web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Creating View in Model...
Power Apps
Unanswered

Creating View in Model Driven App - Filtering by Related N:N Table where Related Table *does not contain data*

(0) ShareShare
ReportReport
Posted on by 116

There's 2 parts to this question as part 2 is only relevant if part 1 isn't possible.

 

PART 1 - I have 2 tables which have a many to many relationship. I want to create a view that displays relevant records which 'do not contain data' (i.e. displaying the records where a relationship between 2 records has not been made). This never used to be possible and when I would select under the filters 'Related Table ... does not contain data' it would crash and say there was a problem. I reported the error and was told that because there is no connection in the dataset, it couldn't be filtered in such a way.

 

Interestingly though, I've discovered that when I am creating a View in make.powerapps, it no longer displays the option for 'do not contain data'...fine I thought, they've removed the option because it was creating an error. HOWEVER, when I try to make the filter in the model-driven app itself using the Advanced Filter, the option displays and...it works! I see all the records where a relationship hasn't been made. Great! 

 

PART 2 - My problem is, however, that I'd like to be able for this View to displayed on a Classic Dashboard and as I can only make it as a CUSTOM view (as explained above, can't make it a SYSTEM view...as far as I am aware!), I can't display it on the Dashboard. I can add it as an iFrame and create a ridiculous model-driven app-ception OR add the view as a URL to be clicked on the sidebar but both of these are not particularly great workarounds and just wondering if anyone knew whether:

 

a) is it possible to filter an N:N relationship by 'does not contain data' for system views - have I missed something?

b) if a) isn't possible, any better workaround/possibility for displaying custom view on a dashboard (I want to display it on the dashboard so that the user can access several relevant views for them all in 1 place so if there is also an alternative to dashboard, also good)

 

Thanks!

 

*EDIT* : I've also found in documentation here: https://docs.microsoft.com/en-gb/powerapps/user/grid-filters-advanced#manage-and-share-personal-views, that it says 'Contains data is the only conditional operator that can be used with a related table in a view filter.' This doesn't appear to be the case because I've managed to filter by does not contain data in a custom view!

Categories:
I have the same question (0)
  • Verified answer
    joew72 Profile Picture
    116 on at

    Part 1 appears to be possible now 🙂

     

    Part 2, I've started a separate post relating to this type of view not appearing in the dashboard options (made separate post as not sure if I've missed something completely different).

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard