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 Platform Community / Forums / Power Automate / Using Lookup reference
Power Automate
Answered

Using Lookup reference

(0) ShareShare
ReportReport
Posted on by 373

Hello all

 

I have two tables - one for Clients which has their address, contact name etc.

 

The other table lists items of equipment which need to be inspected. It contains things like the equipment name, manufacturer name, serial number and the name of the Client that owns it, via a Lookup to the Client table.

 

In PowerApps, if I have a gallery of equipment (i.e. the data source is the second table), then I can put a text box in the gallery and populate with;

Gallery1.Selected.Client.Address

 

Although the Gallery is only linked to the Equipment table I can display the address of the client by using Power Apps to address the other table via the lookup.

 

I'm looking to do the same thing in Power Automate. I start my Flow by fetching rows from the Equipment Dataverse table. I'm then building an HTML string for a report (which I'll convert to PDF later).

 

I can insert the name of the owning client easily enough using dynamic content, but what I can't see how to do is to grab the client address from the other table via Lookup.

 

Any ideas please?

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

    Hi @Martin_W ,

     

    In Power Automate, you can get the Value from a LookUp column and also use this GUID value as the Id to get a record from source table:

    vjefferni_1-1708326698264.png

    vjefferni_2-1708326768031.png

     

    Best regards,

  • Verified answer
    ivan_apps Profile Picture
    2,187 Moderator on at

    You can do the method that @v-jefferni suggested and that is ok. Common and easy to use.

     

    Another method to use is the “Expand Query” option. This will “expand” a lookup for you to bring in properties from that lookup, without requiring you to perform another query. Take a look at this article for how to use the expand query, as it expects a specific format to properly return the data.

    https://www.crmcrate.com/power-automate/dynamics-365-understanding-using-the-expand-query-in-power-automate/#:~:text=If%20you%20are%20utilizing%20the,values%20of%20the%20related%20entities.

     

    prefix_YourTableSchemaName($select=prefix_YourColumnName)

  • Martin_W Profile Picture
    373 on at

    Hi @v-jefferni 

     

    I think the thing I'm stuck with is limiting the amount of data returned by the "List Rows" step. I only want the rows where the "Site" column match a name, but the Site column is the lookup. 

     

    thanks,

    Martin

  • Verified answer
    v-jefferni Profile Picture
    on at

    Hi @Martin_W ,

     

    Please check the video and see how to use odata filter query for Dateverse LookUp columns:

    Explainer (EN) (youtube.com)

     

    Best regards,

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard