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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
nh27
Helper III
Helper III

Removing rows with all null values

Hi All,

 

Currently building a model in Power BI and quite often with data refresh and new files we will have multiple rows where all values are blank but once in Power BI in the query editor they appear as null.

 

My question is, does anyone know of a formulae or a way to remove any rows where all values across that row are null?

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

Two options

  1. In Power Query, you apply a filter to the column so that it does not include nulls.
  2. Regardless of the column, you remove rows that are blank. Start menu. Remove Rows option, Remove Blank Rows option.

View solution in original post

4 REPLIES 4
nh27
Helper III
Helper III

Thank you all for your help, removing the blank rows worked, however needed to do this at an earlier step in my query editor for it to kick in. It did not seem to want to remove blanks after a number of applied steps for some reason.

v-yalanwu-msft
Community Support
Community Support

Hi, @nh27 ;

You could remove empty in power query ,like below:

vyalanwumsft_0-1628149143872.pngvyalanwumsft_1-1628149182904.png

The final output is shown below:

vyalanwumsft_3-1628149220940.png
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

This little step just saved me hours of torment & heart ache. Thank you thank you thank you

 

Syndicate_Admin
Administrator
Administrator

Two options

  1. In Power Query, you apply a filter to the column so that it does not include nulls.
  2. Regardless of the column, you remove rows that are blank. Start menu. Remove Rows option, Remove Blank Rows option.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.