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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Check out the New Ideas Site

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (2,856)