Forum Discussion
Anonymous
7 years agoNot applicable
Or Logic for multiple fields in filter
In same table, I have two fields with sample value as shown in table. I want to filter data only when
Field1=A OR Fields2 =A.
As understood, the default logic in this case is AND not OR. Please help.
| Field1 | Field2 |
| A | A |
| B | X |
| C | Y |
| D | Y |
Hi Anonymous
Create a calculated table:
NewTable = FILTER ( Table1, Table1[Field1] = "A" || Table1[Field2] = "A" )
2 Replies
- AlBCommunity Champion
Hi Anonymous
Create a calculated table:
NewTable = FILTER ( Table1, Table1[Field1] = "A" || Table1[Field2] = "A" )
- AnonymousNot applicable
AlB Thanks. I have organizational limitations due to live data source. Is there any way to achieve this only being on level of report without going to data or model?
Just started learning and quite excited.