Forum Discussion

bmacman's avatar
bmacman
Frequent Visitor
3 years ago
Solved

Using the Text.Contains and List.AllTrue

Hi ALl, I am not getting the results from the Text.Contains to work at all. I am trying to use it as part of the List.AllTrue string. Does it work or any suggestions?   if List.AllTrue( {[Delay C...
  • wdx223_Daniel's avatar
    3 years ago

    if List.AllTrue({[Delay Catergory]="Planned Down",
    Text.Contains([Description], "Plant",Comparer.OrdinalIgnoreCase)
    }
    ) then "71"
    else if List.AllTrue({[Delay Catergory]="Planned Down"}
    ) then "7"