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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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