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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
third_hicana
Helper IV
Helper IV

Remove rows based on blank cells of a column

Hi. Asking for your help regarding transforming my table.

 

I wish to remove blank rows in my table based on blank cells of column 'Talk Title'

third_hicana_1-1715746469068.png

 

I tried to modify the code below in power query but an error occured.

 

#"Removed Blank Rows" = Table.SelectRows(#"Renamed Columns3", each not List.IsEmpty(List.RemoveMatchingItems(Record.FieldValues(_), {"", null}),each try Text.Clean(Text.Trim(_)) otherwise _ ),{""})

in

#"Removed Blank Rows"

 

third_hicana_0-1715746258892.png

 

Hoping for your help. Thank you. 

 

-Third

1 ACCEPTED SOLUTION
BA_Pete
Super User
Super User

Hi @third_hicana ,

 

Are you just trying to remove any rows where [Talk Title] is blank?

If so, then the following step should work:

Table.SelectRows(
    PreviousStepName,
    each [Talk Title] <> ""
)

 

You may need to adjust the "" bit, depending on whether your your non-null values in that column are "", " ", "    " etc.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




View solution in original post

2 REPLIES 2
BA_Pete
Super User
Super User

Hi @third_hicana ,

 

Are you just trying to remove any rows where [Talk Title] is blank?

If so, then the following step should work:

Table.SelectRows(
    PreviousStepName,
    each [Talk Title] <> ""
)

 

You may need to adjust the "" bit, depending on whether your your non-null values in that column are "", " ", "    " etc.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




@BA_Pete

 

Thank you very much

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.