Microsoft Dataverse Adds Multi-Table Lookups
I'm happy to announce the preview of Multi-Table Lookups in Dataverse! This long awaited feature allows you to create a single lookup that can pull data from multiple tables providing greater opportunities to integrate your data into apps, flows, and more.
My blog post yesterday covered some of this, but here is how multi-table lookups work in Dataverse.
A multi-table lookup uses a single referencing table, and more than one referenced tables all in one to many relationships. The example I like to use for this is a library checkout. When you check out media from a library, they are considered "checkouts" even though it may be a book, DVD, or Audio CD. (Let's ignore the fact that people may not use these formats today, it just helps with the example). When you look up media in a library, it often returns results from multiple categories allowing you to select the appropriate item.
Until now, if you wanted to create such a schema in Dataverse you had limited options:
Now, you can create a lookup that will return results from multiple tables. Here is an example of the schema:
Recommended by LinkedIn
In this example, you can see that the MediaCheckout referencing table includes a lookup column. The multi-table lookup column allows relationships with more than one table, allowing it to retrieve data from the three referenced tables: Books, DVDs, and AudioCD.
With this lookup, a user could find the book and DVD for Gone With the Wind, as well as an audiobook on CD, or the soundtrack all with a single lookup.
A few points to note about this preview:
The blog post I had mentioned earlier provides links to documentation that outlines how to create these relationships via API.
I'd love to hear more about how you're using the new feature!
Hi Nath, I was trying to update multitable lookup via plug-in code, however it isn’t working for some reason. Thought it would be similar to updating customer lookup. Seems it’s isn’t the case. Wondering if you can point out any articles/suggestions on updating a multi table lookup via plugin. Thanks
Any update regarding the long waited UI?
Hi Nathan, do you know if multi-table lookups are supported in Virtual Entity providers? Trying to determine if that is an option for some integration scenarios.
Much awaited feature indeed! Anything special needed to enable the preview in an environment Nathan Helgren? Russell Hancock 🤩
Hi Nathan, Awesome! So how does this compare with Power BI regarding pulling in data from multiple tables and multiple source types? Also is the MS Dataverse a compatible tool to use with Power BI? Thanks for sharing! Enoch