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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
SantoshKumar
Microsoft Employee
Microsoft Employee

[Text Columns] extract values from one column by applying filter for other column in the same table

Hi,
 I have Two columns in my table.
1. Event 2. EventType both are text values.
By providing EventType ="ABC" i need to extract values from Event column
where "ABC" is one of the eventtype
i am looking for a quering to create new column which applys the above filter.

1 ACCEPTED SOLUTION

@SantoshKumar

 

Maybe this formula will help:

 

Column = IF (Table[EventType] = "ABC", TRUE(), FALSE())

Then on the filter pane you can add everything which is true

View solution in original post

3 REPLIES 3
themistoklis
Community Champion
Community Champion

@SantoshKumar

 

Maybe a simple if statement will help?

 

Column = IF (Table[EventType] = "ABC", Table[Event], "")

Then on the filter pane on the right exclude eveyrthing which is blank

thanks @themistoklis

Actually i used that option and looking for result with only true value (which satisfy the condition).

@SantoshKumar

 

Maybe this formula will help:

 

Column = IF (Table[EventType] = "ABC", TRUE(), FALSE())

Then on the filter pane you can add everything which is true

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.