Forum Discussion

SantoshKumar's avatar
SantoshKumar
Microsoft Employee
7 years ago
Solved

[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.

  • themistoklis's avatar
    themistoklis
    7 years ago

    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

3 Replies

  • themistoklis's avatar
    themistoklis
    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

    • SantoshKumar's avatar
      SantoshKumar
      Microsoft Employee

      thanks themistoklis

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

      • themistoklis's avatar
        themistoklis
        Community Champion

        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