Forum Discussion

drrai66's avatar
drrai66
Icon for Resolver I rankResolver I
8 years ago
Solved

How Can I write this Statement in Power BI

Hi Guys, This  Tableau Statement Excludes Strings  containing "Mainframe" and "Mobile" from the  Field called Platform in my Data. How Can I write This Equivalent Statement in Power BI Thanks Dee...
  • Phil_Seamark's avatar
    8 years ago

    HI drrai66

     

    I think I follow what you are after and this might be close

     

            NOT (
                SEARCH("Mainframe",[Platform TYpe],1,0) > 0 && 
                SEARCH("Mobile",[Platform TYpe],1,0) > 0
                )

    This will match where you have both the terms "Mobile" and "Mainframe" in the same text field.

  • drrai66's avatar
    drrai66
    8 years ago

    I was able to Solve it