Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Unanswered

Dataverse Queries Across Multiple Join Levels

(1) ShareShare
ReportReport
Posted on by 83

The great post Dataverse is not a database sets forth how Dataverse is distinguished from an RDBMS, such as SQL Server. The follow-on comment addresses Dataverse's limitations on joins traversing multiple tables.

  

Since this is a frequent business requirement in complex applications, is there a current recommended best practice for handling it with Dataverse, or if one has this business requirements, is that sufficient reason to conclude that Dataverse is not well suited for the requirement ?

 

Here is an example scenario:

 

Hypothetical tables

  • Friends (Ann, Bob, Carl, ...)
  • Ingredients (Rum, Soda Water, Lemon, Bourbon, Vodka, Champagne, ...)
  • Cocktails (Pina Colada, Negroni, French 75, ...)
  • Cocktail Ingredients (Pina Colada X Rum, French 75 X Champagne, ...)
  • Friends Favorite Cocktails (Ann X Pina Colada, Ann X French 75, Bob X Negroni, ...)

Use case

"Query a list of ingredients needed to make any of Ann's favorite drinks" 

This scenario presents all the time in our business requirements.

 

(Thanks to @ChrisPiasecki for helping me get started with this yesterday.)

  • hromero Profile Picture
    19 on at
    Re: Dataverse Queries Across Multiple Join Levels

    I'm facing the same issue and I'm reading this 2 years later... is there still no way to use this FetchXML view in a canvas app? (i.e. inside a gallery)

  • H Sheild Profile Picture
    3,000 Most Valuable Professional on at
    Re: Dataverse Queries Across Multiple Join Levels

    Hi @Chris1969 


    One method for complex queries across multiple tables in Dataverse is to use FetchXML. However, this depends on where you want to query the data from and how you want to use it. Fetch XML is available via the Web API or through Power Automate but cannot be used directly from a Canvas Power App. 

    FetchXML builder is a great tool for learning about and generating FetchXML queries. 

    I am currently using FetchXML within Power Automate for a model-driven app to run some very complex queries and process data across multiple tables. So to answer your question, I don’t think complex queries across multiple tables is a reason not use Dataverse.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Microsoft Dataverse

#1
mmbr1606 Profile Picture

mmbr1606 22 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 19

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 15 Super User 2025 Season 1

Overall leaderboard

Featured topics