Forum Discussion
crodrigueza
4 years agoRegular Visitor
filter a table excluding selected elements
Hi, I would like to make a count on a table, but excluding first some elements in another table. The next example may clarify the situation: Table A: User Product A Product A ...
- 4 years ago
Hi, crodrigueza
Since you have created a one-to-one relationship in two tables.
You can directly create the measure like this:
Measure = var a= COUNTROWS(TableB) var b=COUNTROWS(ALL(TableB)) return b-aDid I answer your question? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.
Best Regards,
Community Support Team _ Janey
v-janeyg-msft
4 years agoCommunity Support
Hi, crodrigueza
Since you have created a one-to-one relationship in two tables.
You can directly create the measure like this:
Measure = var a= COUNTROWS(TableB)
var b=COUNTROWS(ALL(TableB))
return b-a
Did I answer your question? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.
Best Regards,
Community Support Team _ Janey