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.
Hello Iooking for help to filter one of my table only for specific value
For instance if my table is like this:
columnA | columnB | columnC |
1 | rt | 1a |
2 | ft | 1a |
3 | gt | 1a |
4 | rt | 2a |
5 | gt | 2a |
6 | gt | 3a |
7 | ft | 2a |
8 | ft | 3a |
9 | rt | 3a |
10 | abc | 1a |
11 | dfg | 2a |
12 | bgj | 2a |
13 | fhi | 4a |
14 | vklm | 1a |
15 | eww | 3a |
now I need to take put this condition
when columnB has (rt, ft, gt) then filter columnC = 1a, without affecting other rows,
Output should be like this
columnA | columnB | columnC |
1 | rt | 1a |
2 | ft | 1a |
3 | gt | 1a |
10 | abc | 1a |
11 | dfg | 2a |
12 | bgj | 2a |
13 | fhi | 4a |
14 | vklm | 1a |
15 | eww | 3a |
Solved! Go to Solution.
Hi @Anonymous ,
Create a Calculated Column as shown below:
Filter = IF('Table'[columnB] in {"rt","gt","ft"},IF('Table'[columnC]="1a",TRUE(),FALSE()),TRUE())
Please accept this as a solution if your question has been answered !!
Appreciate a Kudos 😀
Hi @Anonymous ,
Create a Calculated Column as shown below:
Filter = IF('Table'[columnB] in {"rt","gt","ft"},IF('Table'[columnC]="1a",TRUE(),FALSE()),TRUE())
Please accept this as a solution if your question has been answered !!
Appreciate a Kudos 😀
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
8 | |
7 |