cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DynamicsHS
Resolver I
Resolver I

Filter active users only ?

Hello, 

 

I have a gallery which is pulling from two tables worker address and workers (parent table) - I want to just show the active users in the gallery are pulling from the workers table. 

 

My current view has both active and inactive users, and I currently have a search filter set like this: so that I can search via users names. However, where would I add the status in this formula to only show active users in the gallery?

 

Filter('Worker Addresses', StartsWith('Worker (cdm_WorkerId)'.'Full Name', TextSearchBox1.Text))

 

 

Thank you,

Henry

12 REPLIES 12
SBax
Impactful Individual
Impactful Individual

Hi,

 

Can you open the Dataverse tables and grab the display names of the columns? Usually this is what you would use in your formulas (looks like you are using the logical names)

Hi @SBax ,

 

The column for the workerid for both tables is called cdm_workerid. 

Worker table (cdm_worker):

DynamicsHS_0-1660622582590.png

It is classified as a look up in worker address table (cdm_workeraddress):

DynamicsHS_1-1660622641129.png

 

I used the names of the columns like you suggested, but the function seems to still be incorrect? 

DynamicsHS_2-1660622742133.png

 

Just can't seem to get my head around this one. 

 

Thank,

Henry 

 

@SBax , 

I gave this a function a shot as well - but it also isn't working:

DynamicsHS_3-1660624672067.png

 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (6,388)