Forum Discussion
Joining two tables
- 9 years ago
Hi Anonymous,
First you should create relationship between Table1 and Table2. Please click Manage Ralationships->New Relationship, you can create it by the common columns in both tables as the screenshot shown.Click OK, the relationship is built. Select the relationship button(highlighted in red line), you can there is a relationship between them.
Then, create a measure using the formula.result = CALCULATE(COUNTA(Table1[id]),FILTER(Table2,Table2[feature]<>1))
Finnaly, create a card visual to display the measure, you will get the desired result.
If you have other issues, please let me know.Best Regards,
Angelia
Hi Anonymous,
First you should create relationship between Table1 and Table2. Please click Manage Ralationships->New Relationship, you can create it by the common columns in both tables as the screenshot shown.
Click OK, the relationship is built. Select the relationship button(highlighted in red line), you can there is a relationship between them.
Then, create a measure using the formula.
result = CALCULATE(COUNTA(Table1[id]),FILTER(Table2,Table2[feature]<>1))
Finnaly, create a card visual to display the measure, you will get the desired result.
If you have other issues, please let me know.
Best Regards,
Angelia