Forum Discussion
Create new column returning a value based on multiple criteria in another column
Hiya all
I have a table which has one column with a lot of text in it. I wish to search that text and identify whether the word "ALERT or RESPONSE" was used and whicg region was contained in the text. For example, see below, how do I check if NORTH EAST and ALERT were used to return a value of Yes. Please bear in mind it may be any location (there are several in the organisation) and I would like to search for the words ALERT or RESPONSE being used in that column too.
| NORTH EAST HAVE DECLARED REGIONAL ALERT WITH IMMEDIATE EFFECT IN RELATION TO |
Best regards
Grizzly
5 Replies
- edhansCommunity Champion
Can you provide a table of example data and a screenshot perhaps of the expected result, or sample columns with the expected result?
How to get good help fast. Help us help you.
How to Get Your Question Answered Quickly
How to provide sample data in the Power BI Forum- GrizzlydadHelper I
Message Region Response Alert THE NORTH WEST REGION HAS ESCALATED TO REGIONAL ALERT DUE TO PROTESTS TOMORROW MORNING WHICH WILL IMPACT ON THE NORTH WEST NETWORK. North West No Yes - GrizzlydadHelper I
So I want to extract from the message column, which region and whether alert or response was used. The message column often contains text written inconsitently
- v-juanli-msftCommunity Support
Hi Grizzlydad
Is this problem sloved?If it is sloved, could you kindly accept it as a solution to close this case and help the other members find it more quickly?If not, please feel free to let me know.Best RegardsMaggie