Forum Discussion

IanDavies's avatar
IanDavies
Helper III
2 years ago
Solved

Matching Columns that contain the same text

I am using Power Query to consolidate web assets. I have a list of domains and a list of target URLs they go to and I want to mark them of they match. For example taking two columns   if URL = http...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi IanDavies ,

    Please try:

    = if Text.Contains(Text.Upper([sample_url]),Text.Upper(Text.Trim([domain])),Comparer.OrdinalIgnoreCase) and [Final Status Code] = 200 then "yes" else "no"

    If that still doesn't work, consider providing sample data that is not privacy related.
    How to provide sample data in the Power BI Forum

    Best Regards,
    Gao

    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
    If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

    How to get your questions answered quickly --  How to provide sample data in the Power BI Forum