Forum Discussion

jitterbug777's avatar
jitterbug777
Advocate II
3 years ago
Solved

deleting multiple rows in power query

I thought this would be simple, just like in excel,

I wanted to delete all rows from a certain row downward.

sure I can do it in excel first, im thinking about when connected to other databases though...

 

  • "Deleting Rows from a certain row downward" = "Keeping rows down to a certain row"

     

    So if you want to delete from Row 16 downward:

    Table.FirstN(#"Previous Step",15)

     

    From the UI, look for Home => Reduce Rows and pick an appropriate option

     

     

2 Replies

  • "Deleting Rows from a certain row downward" = "Keeping rows down to a certain row"

     

    So if you want to delete from Row 16 downward:

    Table.FirstN(#"Previous Step",15)

     

    From the UI, look for Home => Reduce Rows and pick an appropriate option

     

     

  • Anonymous's avatar
    Anonymous
    Not applicable

    Or just filter out the nulls in the State column. 

    --Nate