Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
@BobKoenen , 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")))
@BobKoenen , 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")))
User | Count |
---|---|
25 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
30 | |
13 | |
11 | |
9 | |
6 |