I have a table visualization in power bi created and I would want to show data in a column based on condition from another column. I have a country, users, and a bill in the dataset that is loaded. On the table visualization I want to only show the count of users having bill \>1.
What I have in the dataset:
| country | users | bill |
|---|---|---|
| America | user1 | 1 |
| America | user1 | 1 |
| America | user1 | 1 |
| America | user2 | 1 |
| America | user2 | 1 |
| UK | user4 | 1 |
| UK | user4 | 1 |
| UK | user5 | 1 |
| UK | user6 | 1 |
What I want to look in the table visualization:
| country | count of users who have greater than 1 bill |
|---|---|
| America | 2 |
| UK | 1 |
I created below filter but it is not showing right numbers:
_filter = if(SUM('Table'\[Bill\])\>1, 1,0)
