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

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,822)