web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
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)
  • 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.

  • 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)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 509 Most Valuable Professional

#2
Haque Profile Picture

Haque 302

#3
11manish Profile Picture

11manish 265

Last 30 days Overall leaderboard