Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |