Forum Discussion

EaglesTony's avatar
EaglesTony
Post Prodigy
3 years ago
Solved

Need help to select certain rows from one table based off another

 I have TableA as:   ID                   ORDER      CURRENT 1-3                 1                N 1-4                 2                N 1-5                 3                N 1-6            ...
  • m_dekorte's avatar
    m_dekorte
    3 years ago

    Oeps, we returned the list not the list item...

    Applying item access will resolve that, you have a newtable with 1 row, that means we can hard code the first item, since lists are zero based, add: {0}

     

    Table.SelectRows(#"Changed Type1", each 
        List.Contains(
            { #"newtable"[Start]{0}..#"newtable"[End]{0}-1} , [ORDER] )
        )

     

     Ps. If this helps solve your query please mark this post as Solution, thanks!