Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
HI all,
My Projecttable looks like this
| Projectcode | type | Customer | Extra columns |
| A1 | 1 | Jill | bla bla |
| A2 | 2 | Jill | bla bla |
| A3 | 1 | Joe | bla bla |
| A4 | 2 | Joe | bla bla |
| A5 | 3 | Joe | bla bla |
Now I want DAX to return all rows where
Type <> 1 AND Customer = "Jull"
Or
Type <> 2 AND Customer = "Joe"
The output should look like this in a table visual
| ProjectCode | Type | Customer |
| A2 | 2 | Jill |
| A3 | 1 | Joe |
| A5 | 3 | Joe |
I hope you can help me
Solved! Go to Solution.
@Anonymous , add this measure along with other columns in a visual
calculate(countrows(Table), filter(Table, (Table[Type] <> 1 && Table[Customer] = "Jull") || ( Table[Type] <> 2 && Table[Customer] = "Joe")))
@Anonymous , add this measure along with other columns in a visual
calculate(countrows(Table), filter(Table, (Table[Type] <> 1 && Table[Customer] = "Jull") || ( Table[Type] <> 2 && Table[Customer] = "Joe")))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 20 | |
| 11 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 28 | |
| 19 | |
| 11 | |
| 10 |