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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
ashicool_10061
Helper III
Helper III

How to remove null v alues from multiple columns in one go and get a Tabular view

HI There,

I am stuck in Power Query where i have 6 columns with null values on alternate rows and column and i want to remove those Null values and geta clean Tabular view .

 

Please see below screenshot :

Issue in Power Query :

 

Null.PNG   

 

 

ashicool_10061_1-1728115406010.png

 



Eaxpected Result:

Tabular.PNG

Can anyone help me how to get it done in one go .?

 

Thanks,

Ash

 

@SamWiseOwl @amitchandak @Ashish_Mathur 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @ashicool_10061 


If I understood correctly, the challenge here is that the null values for the other fields don't match the null values in the rows with names. The solution would be to:

1. Perform a fill-down operation on the names so that each row has a name.

Ritaf1983_0-1728116535562.png

 


2. Filter out the null values for the dates/other fields.

Ritaf1983_1-1728116603765.pngRitaf1983_2-1728116629089.png

 


If something was missed since you only attached an image,

please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

The pbix with my example is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
Jpss
Resolver II
Resolver II

hello @ashicool_10061 

here is the solution i have created for this scenario. the Key  step is to fill down the first column, and then remove null values from second. that will clean up all your rows. 

Jpss_0-1728116819271.png

 

Here is the pbix for your reference : ashicool_10061_jpss_sol.pbix

Ritaf1983
Super User
Super User

Hi @ashicool_10061 


If I understood correctly, the challenge here is that the null values for the other fields don't match the null values in the rows with names. The solution would be to:

1. Perform a fill-down operation on the names so that each row has a name.

Ritaf1983_0-1728116535562.png

 


2. Filter out the null values for the dates/other fields.

Ritaf1983_1-1728116603765.pngRitaf1983_2-1728116629089.png

 


If something was missed since you only attached an image,

please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

The pbix with my example is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Hi , Thank you for your response . 
It worked. Appreicate your help.

 

Thanks,

Ash

Helpful resources

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

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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