Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

For specific value of one column i need to filter other column, without affecting rest of the table

Hello Iooking for help to filter one of my table only for specific value

For instance if my table is like this:

columnAcolumnBcolumnC
1rt1a
2ft1a
3gt1a
4rt2a
5gt2a
6gt3a
7ft2a
8ft3a
9rt3a
10abc1a
11dfg2a
12bgj2a
13fhi4a
14vklm1a
15eww3a

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

columnAcolumnBcolumnC
1rt1a
2ft1a
3gt1a
10abc1a
11dfg2a
12bgj2a
13fhi4a
14vklm1a
15eww3a
1 ACCEPTED SOLUTION
jaideepnema
Solution Sage
Solution Sage

Hi @Anonymous ,
Create a Calculated Column as shown below:

Filter = IF('Table'[columnB] in {"rt","gt","ft"},IF('Table'[columnC]="1a",TRUE(),FALSE()),TRUE())
Now use this column to apply a visual level filter to get the required output:
 

jaideepnema_1-1619538151317.png

 

Please accept this as a solution if your question has been answered !!

Appreciate a Kudos 😀

View solution in original post

1 REPLY 1
jaideepnema
Solution Sage
Solution Sage

Hi @Anonymous ,
Create a Calculated Column as shown below:

Filter = IF('Table'[columnB] in {"rt","gt","ft"},IF('Table'[columnC]="1a",TRUE(),FALSE()),TRUE())
Now use this column to apply a visual level filter to get the required output:
 

jaideepnema_1-1619538151317.png

 

Please accept this as a solution if your question has been answered !!

Appreciate a Kudos 😀

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.