Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Showing selected items



I have created an app with several customers, machine controls and machines. If I click through the app, I can navigate from a customer to the machines. Is it possible to show only the machines beloning to one customer instead of showing all exisisting machines? In my database I have a foreign key in table machine for machine control and customer.


Many thanks in advance!



Not applicable

Hi @Tobi_1


Sounds like you need to use one of these functions:


Depending on how you are selecting your customer and how you are displaying the machines data, if for example you are using a drop down or a gallery to select the customer, then you can use DropDown.Selected.Value or Gallery.Selected.Employee as the selected employee in your filter formula.


If you need more exact explanation, please share some more info about your scenario.


Hope this helps 🙂

Community Support
Community Support

Hi @Tobi_1,


Here is an example. For your reference:




Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Regular Visitor

Thank you!


another question, because somehow I can´t post a new article to the forum?! (I have no idea why) But maybe you can help me with this as well 🙂


I want to write the two following functions within a TemplateGalleryList:


SortByColumns(Search('[dbo].[Maschine]'; TextInput2_2.Text; "Bezeichnung";"Maschinennummer"); "Bezeichnung"; If(SortDescending1; Descending; Ascending));; Search('[dbo].[Maschine]';TemplateGalleryList1.Selected.Name;"Kundenname")

If I use just one of the two functions, it works well. So I thougt I have to separate them by ";;", but this does not work. Can somebody help me with this?



Many thanks in advance!



Helpful resources

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,854)