Forum

Fill down blank cel...
 
Notifications
Clear all

Fill down blank cells in Power Query

4 Posts
3 Users
0 Reactions
172 Views
(@jesaheming)
Posts: 7
Active Member
Topic starter
 

Attached excel file contains monthly payroll data in an excel table in worksheet "May'2022".

I attempt to use Power Query to transform the data into a table suitable for analysis "Table1 (2).

One of the transformation process was to replace text as blank. However, the cell value contain an single open quotation mark '.

As a result, the fill process was unsuccessful.

Can anyone suggest a work around or alternative process.

 

Appreciate greatly.

 
Posted : 08/06/2022 6:06 am
Philip Treacy
(@philipt)
Posts: 1629
Member Admin
 

Hi Johnson,

In the query I don't see any step that tries to Fill Down.  I also don't see where you tried to replace ' as blank.  And if I search the table on the May 2022 sheet I only find 2 cells with a ' in them.  So I'm a bit confused as I can't see the data or query steps you describe in the problem.

Regards

Phil

 
Posted : 08/06/2022 6:23 am
Riny van Eekelen
(@riny)
Posts: 1189
Member Moderator
 

Hi,

I note that you mimicked a Fill operation by manually entering formulae in column E (Projects) in the Table 1 (2) sheet.

When you say that the "Fill process was unsuccessful", that's because the cells you want the fill in the Project column (in PQ) are blank. They should contain null in order to apply Fill Down. So, when you alter all the 'Replaced Value' steps to look like in the picture below it will work as desired. File attached with the changes included.

Screenshot-2022-06-07-132032.png

 
Posted : 08/06/2022 7:25 am
(@jesaheming)
Posts: 7
Active Member
Topic starter
 

Hi Both,

 

Thanks for the response.

 

Riny, thank you. Your solution worked as desired.

 

Appreciate very much.

 
Posted : 09/06/2022 10:12 pm
Share: