Reply
avatar user
Anonymous
Not applicable
Partially syndicated - Outbound

Remove rows that have a null value in a specific column?

I have a column "Process Step" with qualitative data, but there are many "null" values that prevent me from pivoting the column. I get errors I can't pivot cause of NA values or blank

 

I do NOT want to keep rows with nulls. I want to remove these rows entirely.

 

How can I edit the query and removet hese rows where null exists in a specific column? 

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

Syndicated - Outbound

@Anonymous 

I think you can add a step in the PQ which is filtering that column





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

4 REPLIES 4
ryan_mayu
Super User
Super User

Syndicated - Outbound

@Anonymous 

I think you can add a step in the PQ which is filtering that column





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




avatar user
Anonymous
Not applicable

Syndicated - Outbound

@ryan_mayu wrote:

@ryan_mayu

I think you can add a step in the PQ which is filtering that column


You can add a step to filter the column, but doing so doesn't appear to let me pivot still. I get "DataFormat.Error: Invalid cell value '#N/A'." when I try to pivot. 

 

Syndicated - Outbound

@Anonymous 

could you please provide the sample data and the expected output?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




avatar user
Anonymous
Not applicable

Syndicated - Outbound

Filtering it did work actually. I was doing something wrong. Thanks!

avatar user

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)