Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Recoba88
Helper III
Helper III

Remove rows in Power Query

Hi,

 

If I want to remove rows (3,4,5) - all the rows automatically that have no value (null) in specific column (name)

 

How can I do it?

 

The reason that I don't want that my excel workbook will bring data that I will not use and will calculate it when file will be refreshed

 CHECK2.PNG

1 ACCEPTED SOLUTION

If you filter it in Power Query, the query will be optimized to exclude those rows and not import them.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
Greg_Deckler
Super User
Super User

Use the drop down in Name and just filter out the null's by unchecking it.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

If I filter the data like you said

 

I  still don't want that my excel workbook will bring data that I will not use and will calculate it when file will be refreshed

If you filter it in Power Query, the query will be optimized to exclude those rows and not import them.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.