There are a few ways to increase precision and productivity when using DAX to calculate interconnected relationships between different tables in Power BI.
Use the Relationships: The first thing to do is to establish the relations many tables have with one another, and these relations should strive to be one too many.
DAX Functions—Use of Relationships: Functions such as RELATED, RELATED TABLE, LOOKUPVALUE, and TREATS are usually used in DAX expressions to import most related tables without creating extra relationships. The USERELATIONSHIP function will come in handy for inactive relationships, enabling you to use a relationship in your measure at a particular point without any possibility of permanently destroying that relationship.
CALCULATE Allows Data Optimization: Whenever a calculation needs to be followed with a filter over the existing data, CALCULATE must also be used to modify the filter context with the help of filter modifiers. This is important when moving from one table to another and looking for a calculation to apply. It helps use some filters or switch on relationships only when necessary, thus ensuring low chaos.
Minimize Complexity by Pre-Aggregating: Where possible, pre-aggregate the data in Power Query before bringing it into DAX. This cuts down on heavy DAX calculations, leading to more reasonable calculations that can also be debugged easily.
Adjusting and Using DAX Functions Correctly Will Avoid Stress While Performing Calculation With Relationship Over Multiple Tables In Power Bi.