Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello power community!
I have two tables with a Many-To-Many relationship.
Here is a screenshot of an exmple I made in Excel:
Here is the relation between the two tables:
Table1.VSaccount *-----<>-----* Table2.Account (Many-To-Many WITH Cross-filter set to BOTH)
My issue is when I create a table visual in Power BI that have columns from Table1 and columns from Table2, the records that only exists in Table 1 that has no related records on the 2nd table does not show in the result table.
Here is the power BI result example:
As you can see the account "C" of table 1 did not appear in the resulted table.
How can I show it?/How can I include the records that does not have a counter part on the 2nd table?
Thanks in advance!
Solved! Go to Solution.
Hi , @I_NeedMorePower
According to your existing description, I am not sure what your problem is.
So I made a sample directly here:
After establishing a corresponding many-to-many relationship between tables ,I create a measure in table A:
Net = CALCULATE(SUM(Table1[Amount]))+CALCULATE(SUM(Table2[Amount]))
The results table shown below:
If it doesn't meet your requirement, kindly share your sample data and expected result if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi , @I_NeedMorePower
According to your existing description, I am not sure what your problem is.
So I made a sample directly here:
After establishing a corresponding many-to-many relationship between tables ,I create a measure in table A:
Net = CALCULATE(SUM(Table1[Amount]))+CALCULATE(SUM(Table2[Amount]))
The results table shown below:
If it doesn't meet your requirement, kindly share your sample data and expected result if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.