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 Apps / Dataverse Queries Acro...
Power Apps
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.)

I have the same question (0)
  • hromero Profile Picture
    19 on at

    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)

  • Hamish Sheild Profile Picture
    3,005 Most Valuable Professional on at

    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

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
Kalathiya Profile Picture

Kalathiya 428

#2
WarrenBelz Profile Picture

WarrenBelz 374 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 333 Super User 2025 Season 2

Last 30 days Overall leaderboard