Forum Discussion

Dicken's avatar
Dicken
Icon for Post Prodigy rankPost Prodigy
2 years ago
Solved

Power Query Select Rows by position

Hi,    I was looking at selecting list items by positin but cuould not find much for Tables,   I came up wiht this  to retunr rows 1,3, 6 ,   List.Accumulate( { 0,2,5} , #table( {},{} ), ...
  • AlienSx's avatar
    2 years ago
        Table.FromRecords(
            List.Transform(
                {0, 2, 5},
                (x) => SourceTable{x}
            )
        )