cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sdedic
Helper I
Helper I

Filter gallery based on lookup field

Hi,

 

I want to filter the gallery to show only those employees that are not billable. I have two dataverse tables that are related: Employee and Resource, where Resource table is looking at the Employee table with the 'Employee' lookup field.

Inside Employee table there is a choice column 'Non-billable' with two choices: billable and non-billable.

 

Datasource of the gallery has to be Resource table.

This is what I have tried so far, but getting no results:

Filter(Resources, Employee.Name = 'Non-billable Choices'.'Non-billable')

 

'Name' in 'Employee.Name' is the primary name column inside Employee table.

Any advice would be appreciated.

Ty.

1 ACCEPTED SOLUTION

Accepted Solutions
MM_Factor
Frequent Visitor

If there is a Dataverse table the easiest idea is to use views on Dataverse table - and filter this non billable employees.

Then in PowerApps you choose only this view in gallery and that's all.

View solution in original post

2 REPLIES 2
MM_Factor
Frequent Visitor

If there is a Dataverse table the easiest idea is to use views on Dataverse table - and filter this non billable employees.

Then in PowerApps you choose only this view in gallery and that's all.

sdedic
Helper I
Helper I

Thank you @MM_Factor !

Great idea. Working like a charm!

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Kudoed Authors
Users online (2,174)