Forum Discussion
Syedshah
4 years agoNew Member
Powerbi
I am trying to make a DAX formula and I am not able to do it so I want your help. I have a table named customer and column customer_number. In customer_number some numbers fall under categroty A an...
v-kkf-msft
4 years agoCommunity Support
Hi Syedshah ,
Assuming that the numbers 1, 2, 3, and 4 in the column belong to category A, then you can use the following measure as a visual-level filter.
Measure = COUNTROWS ( FILTER ( customer, customer[customer_number] in { 1, 2, 3, 4 } ) )
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.