web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Apps
Unanswered

Filter or search

(0) ShareShare
ReportReport
Posted on by

Hi

 

I am not sure if this is posible but here goes, I have with the help of this board created my first APP and it works perfectly. I have been asked to give it another function and this is where either my Brain is dead or I am missing the obvious.

 

I have two sharpoint table

A Matix Table and a Supplier Data table (samples of each can be found on the attached document)

 

I have been asked if the Matrix table can be searched to create a list of all suppliers that can carry out a perticular service i.e Escalator Cleaning.

 

From the resulting list be able to select an individual supplier and call up on a popup details from the Supplier Data table.

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    on at

    Hi @Anonymous,

    Could you please share a bit more about your scenario?

    Do you want to get corresponding records from the Supplier Data table when you select a individual supplier from the Matrix table?

    If you want to get corresponding records from the Supplier Data table when you select a individual supplier from the Matrix table, I have made a test on my side, please take a try with the following workaround:3.JPG

     

    4.JPG

    Set the Items proeprty of the Drop down control (Dropdown1) to following:

     

    MatrixTable /* <-- MatrixTable represents your MatrixTable */

    Set the Value proeprty of the Dropdown control to VendorName.

     

    Set the Items property of the Gallery control to following:

     

    Filter(SupplierData, Vendor = Dropdown1.Selected.VendorNumber)

     

     

    In addition, if you want to create a list of suppliers that can carry out a particular service within Supplier Data based on the selected Individual supplier, I have made a test on my side, please take a try with the following workaround:5.JPG

     

    6.JPG

    Set the Items property of the first Drop down control (Dropdown1) to following: 

    MatrixTable /* <-- MatrixTable represents your MatrixTable */

    Set the Value proeprty of the Dropdown control to VendorName.

    Set the OnSelect proeprty and OnChange property of the first Dropdown control (Dropdown1) to following:

     

    ClearCollect(
    AllSupportedWorkTypes,
    LookUp(MatrixTable, VendorNumber = Dropdown1.Selected.VendorNumber, WorkType1),
    LookUp(MatrixTable, VendorNumber = Dropdown1.Selected.VendorNumber, WorkType2),
    LookUp(MatrixTable, VendorNumber = Dropdown1.Selected.VendorNumber, WorkType3),
    ...
    LookUp(MatrixTable, VendorNumber = Dropdown1.Selected.VendorNumber, WorkType40)
    )

    Set the Items property of the second Drop down control (Dropdown2) to following:

    AllSupportedWorkTypes

    Set the OnSelect proeprty of the "Add" button to following:

    Patch(
    SupplierData,
    Defaults(SupplierData),
    {
    Vendor: Dropdown1.Selected.VendorNumber,
    Vendor_Name: Dropdown1.Selected.VendorName,
    WorkType: Dropdown2.Selected.Value,
    ...
    }
    )

    More details about the Patch function, please check the following article:

    Patch function

     

     

    Best regards,

    Kris

  • Community Power Platform Member Profile Picture
    on at

    Thank You Kris

     

    I want to create a new Gallery that allows a user to search the Supplier Matrix Table for all suppliers that can carry out a work type using a Drop down control to list the options.

     

    Once the list has been created the user then can click on each individual result to call up that supplers details from Supplier Data  Table in a pop up screen.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 740 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 342 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard