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

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

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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
    Microsoft Employee 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

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 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard