Power Query - Filter Table Based on Distinct Conditions from List
Results 1 to 2 of 2

Thread: Power Query - Filter Table Based on Distinct Conditions from List
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    Board Regular
    Join Date
    Jul 2019
    Location
    Win 10, Office Professional Plus 2016
    Posts
    105
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Power Query - Filter Table Based on Distinct Conditions from List

    https://www.youtube.com/watch?v=fRd6wYkfDUQ

    In this video, Mike uses a list to extract rows from the Start table that DO NOT include anything from the list.

    Is the opposite possible?
    If it's in the list, then extract rows from the Start table that contain it.

    E.g.
    Suppose the list only has XYZ (Product Name)

    Then from the Start table, output would be rows that contain XYZ (Product Name)

    i.e. Output:
    https://imgur.com/a/mMZjpDH

  2. #2
    Board Regular sandy666's Avatar
    Join Date
    Oct 2015
    Posts
    2,673
    Post Thanks / Like
    Mentioned
    27 Post(s)
    Tagged
    1 Thread(s)

    Cool Re: Power Query - Filter Table Based on Distinct Conditions from List

    simply add condition <> true like:
    Code:
    Table.SelectRows(Source, each List.IsEmpty(List.Intersect({Text.Split([Product_Name]," "),NotCriteriaSolution})) <> true)
    I know you know but I forgot my Crystal Ball and don't know what you know



    In the first post, show the type of machine (PC / Mac) and the Office version you are working on
    impossible things we do on the spot. for miracles you need to wait for a while

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •