Forum Discussion
JacobMich
1 year agoRegular Visitor
How do I filter POWERBI data in my visual workspace based on values in two columns?
I am working in PowerBI. I am looking for a specific filtering and counting of information from an already transformed query. The raw data of what I am asking for can be seen in the Table Below. I...
- Anonymous1 year ago
Filtered Count =
CALCULATE(
COUNTROWS('YourTableName'),
FILTER(
'YourTableName',
('YourTableName'[Country] = "US" && 'YourTableName'[Level] = 5)
|| ('YourTableName'[Country] = "MX" && 'YourTableName'[Level] = 4)
)
)
Replace with Table Name as per yours
JacobMich
1 year agoRegular Visitor
Where do I place the above code and syntax?
Anonymous
1 year agoNot applicable
Create a Dax - New measure