Forum Discussion
Proper relationship mapping recommendation
- 5 years ago
Hi PBI5851 ,
You may use function such as RELATED(), RELATEDTABLE() and USERELATIONSHIP() in your DAX formula for TableB and TableC.
For example:
Count= CALCULATE(COUNT(TableB[Value]),USERELATIONSHIP(TableB[account_id],TableC[account_id]))In addition, you may go to Query Editor, use "Merge Queries" for TableB and TableC to combine into a single table.
Or you may try to change the Cross filter direction of relationships above from Single to Both.
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi PBI5851 ,
You may use function such as RELATED(), RELATEDTABLE() and USERELATIONSHIP() in your DAX formula for TableB and TableC.
For example:
Count= CALCULATE(COUNT(TableB[Value]),USERELATIONSHIP(TableB[account_id],TableC[account_id]))
In addition, you may go to Query Editor, use "Merge Queries" for TableB and TableC to combine into a single table.
Or you may try to change the Cross filter direction of relationships above from Single to Both.
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.