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 / Is it possible to buil...
Power Apps
Unanswered

Is it possible to build a business rule within three or more Dataverse tables?

(0) ShareShare
ReportReport
Posted on by

Hello again, community!

 

Long after talking with my team about the limitations of Microsoft Lists as a data source, we have decided to switch to Dataverse as our data source for the canvas app I'm working for my company's asset management. In the process, I have decided to create a model driven app and delve into learning about this new data source within Microsoft Learn.

 

In the process, I've built a more normalized structure of tables, amongst which my concern within this message is a trio of tables for an Asset Type, a Model and an Asset, each linked in reading order with a one-to-many relationship through lookup columns.

 

For all the forms within the latter table, I have a Phone line lookup column which I need to show and mark as mandatory only when the asset model's type is a smartphone. However, the included business rule modeler doesn't seem to allow me to add other tables for the purpose of making this validation.

 

Is this an inevitable limitation of the modeler? Are there any other ways I can try to apply this rule?

I have the same question (0)
  • Verified answer
    MarioRing Profile Picture
    541 Super User 2024 Season 1 on at

    Unfortunately, current no-code business rules capabilities don't allow querying related records. 

    To solve your problem, you must apply JavaScript to the form, which queries if the related record is a smartphone, and then set the Phone line field as business required.

    Here you can read more about how to use JavaScript to apply complex business rules on the Model Driven forms.

     

  • Community Power Platform Member Profile Picture
    on at

    I see. That's indeed unfortunate.

     

    I'm going to opt for the safer de-normalization route, then, and link the asset type table directly with the asset table, then.

     

    Thanks in advance for the information.

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

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard