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 / ForAll() in ForAll()
Power Apps
Unanswered

ForAll() in ForAll()

(0) ShareShare
ReportReport
Posted on by 19

 

Hello Community.!

 

I created a relationship between two tables (Product and Order).
Product has an ID as a parameter and order has a new_name as a parameter (both primary keys in each table).


How can I create the relationship between the two?
The relationship is of the many-to-many type.

The code that i have to create : 


ForAll(
       ProductGallery.AllItems,
           ForAll(OrderGallery.AllItems,
          Relate(

          )
)
);

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Iep90 

    Dataverse?

  • Iep90 Profile Picture
    19 on at

    yes

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Iep90 

    I am an old school developer and for many to many relationships, I always create a junction table with the primary keys of each parent table as foreign keys in the junction.  This allows me to add other fields that are specific to the interaction within the junction table such as a date or description of the interaction.  Dataverse can create a many to many relationship as described in the documentation here:  https://docs.microsoft.com/en-us/power-apps/maker/data-platform/create-edit-nn-relationships , but the junction table is hidden and cannot be accessed or modified.  

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 600

#2
WarrenBelz Profile Picture

WarrenBelz 478 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 322

Last 30 days Overall leaderboard