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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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

@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

@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!




Anonymous
Not applicable


@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. 

 

@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!




Anonymous
Not applicable

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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