cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
michaelpaul
Resolver I
Resolver I

Dataverse Indirect relationship help, Collect, filter

Hi All,

 

I am looking for a bit of help to get past a stuck point. I am building an asset tracking app to track assets on projects. I have 3 tables that I am working with:

  • Project
    • Name
    • Number
  • Equipment
    • Unit Number
    • Make
    • Model
    • etc
  • Unit Project
    • Unit Number (lookup Equipment)
    • Project (Lookup Project)
    • Start Date
    • End Date

The issue that I'm running into is I want to be able to show all the units in the master (preferably in a data table but for now I can only get it to work in a gallery), show the current (active) project for the unit, and optionally filter those units by the current project based on a dropdown. Currently I can add the current active project into a gallery with:

First(Filter(ThisItem.'Equipment Projects',Status = 'Status (Equipment Projects)'.Active)).Project.'Project Number'

 

I am trying to sort the gallery based on a dropdown that pulls the items from the project table. I have tried several different things and I just can't seem to get it to filter. Any ideas or solutions would be greatly appreciated. 

 

Thanks

2 REPLIES 2
Daniel_A
Regular Visitor

Hello @michaelpaul ,

 

Could you please state where, what control, the above function is used?

 

Please include an exampel of the expected outcome in a table format. It's very hard to understand your requierment whithout it. What are the Units? What are the Master? Do you have a master Project. 

 

I can help you with this given a bit more background 🙂.

 

Thanks

Daniel_A
Regular Visitor

Hello @michaelpaul ,

 

Could you please state where, what control, the above function is used?

 

Please include an example of the expected outcome in a table format. It's very hard to understand your requirement without it. What are the Units? What are the Master? Do you have a master Project. 

 

I can help you with this given a bit more background 🙂.

 

Thanks

Helpful resources

Announcements
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.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

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.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Users online (1,633)