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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

How to delete rows with blank data without deleting the first row

Hi, Team.

 

Got confused how can I delete entire rows with blank data without touching or deleting the first row.

Ann_Fajardo_0-1692887808178.png

First Row

Ann_Fajardo_1-1692887942579.png

 

Thank alot

 

Ann

 

4 REPLIES 4
ImkeF
Community Champion
Community Champion

Hi @Anonymous ,
I cannot make sense of your screenshots, as none of the column headers seem to relate to each other.
Please revise and try to display the logic a bit clearer.
Also, creating a file with some sample data usually helps a lot.

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

mlsx4
Memorable Member
Memorable Member

Hi @Anonymous 

 

It could be a not elegant solution but you can create a conditional column where you check all the columns:

IF Column1<>null, return Column1

IF Column2<>null, return Column2
IF Column3<>null, return Column3

else null

 

In this way, if a any of the column has a value, it will keep it. Otherwise, you will get a null in the column and those are the ones you can remove

PijushRoy
Super User
Super User

Hi @Anonymous 

Please share image with Row no pane (left side ) and mention which rows you want to delete (line Row 3 and Row 4) and why want to delete

 

Thanks

Pijush




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





Anonymous
Not applicable

Hi, Pijush

Please see below screen shot I have the full details 

1 I wan to retain the first row even its blank as well

Ann_Fajardo_0-1692961127869.png

2 But I need to delete those with No Value in Org Unit 4
Ann_Fajardo_1-1692961307353.png


Thank you so much
Ann

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors