Hi,
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!
Tobi
Hi @Tobi_1
Sounds like you need to use one of these functions: https://powerapps.microsoft.com/en-us/tutorials/function-filter-lookup/
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 🙂
Hi @Tobi_1,
Here is an example. For your reference:
Regards,
Mona
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!
Tobi
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
185 | |
53 | |
41 | |
37 | |
31 |
User | Count |
---|---|
246 | |
75 | |
71 | |
69 | |
65 |