Forum

Fill down the text ...
 
Notifications
Clear all

Fill down the text through the number in Power Query

10 Posts
3 Users
0 Reactions
82 Views
(@ayemu7)
Posts: 197
Reputable Member
Topic starter
 

Hi Team,

I would like to fill down the names through the numbers (which actually was date previously).

can you please check my working and let me know how to get it in Power query.

Thank you so much.

Regards,

Aye

 
Posted : 06/11/2019 2:49 am
(@mynda)
Posts: 4761
Member Admin
 

Hi Aye,

Add a column that extracts the text and ignores numbers. You can use the Column from examples to extract the text values. When you give it the example for the date, enter 'null'. You can then use the fill down.

Mynda

 
Posted : 06/11/2019 7:49 am
(@ayemu7)
Posts: 197
Reputable Member
Topic starter
 

Thanks, Mynda.

can you please let me know the formula of the column for extract the text only.

I am sorry, if you can refer me the course, that will be great too.

Thank you.

regards,

Aye

 
Posted : 06/11/2019 6:18 pm
(@mynda)
Posts: 4761
Member Admin
 

Use the 'Column from examples' button. It writes the formula for you. Session 4.20.

 
Posted : 06/11/2019 6:30 pm
(@ayemu7)
Posts: 197
Reputable Member
Topic starter
 

Hi Mynda,

Thanks for your reply.

I cannot have that written by Column from examples.

Please see attached. I might have done something wrong.

Regards,

Aye

 
Posted : 07/11/2019 12:08 am
(@catalinb)
Posts: 1937
Member Admin
 

You can do a transformation in that column, check if that value is a number and replace it with null, this way fill down will work in that column.

Value.Is(_, type number) will return true for numbers.

TransformColumn= Table.TransformColumns(#"Changed Type", {{"Period End", each if Value.Is(_, type number) then null else _, type text}})

Fill Down and that's all.

 
Posted : 07/11/2019 12:56 am
(@mynda)
Posts: 4761
Member Admin
 

Hi Aye,

In the second example cell type null over the top of the faded 43739 value and it will fill down correctly. i.e. you need to give it the first two examples.

Mynda

 
Posted : 07/11/2019 4:24 am
(@ayemu7)
Posts: 197
Reputable Member
Topic starter
 

Hi Mynda,

Thanks for your reply.

I tried typing up to 11 rows and still recognising. Please see attached.

Please have a look and let me know.

thank you

Regards,

Aye

 
Posted : 09/11/2019 5:50 am
(@mynda)
Posts: 4761
Member Admin
 

Then use Catalin's suggestion and add a conditional column with a logical test for a number:

= if Value.Is([Period End], type number) then null else [Period End]

Then you can fill down.

Mynda

 
Posted : 09/11/2019 6:11 am
(@ayemu7)
Posts: 197
Reputable Member
Topic starter
 

Thanks, Mynda,

It works. I did with '_' before and it was not working.

Thanks, Catalin.

Regards,

Aye

 
Posted : 09/11/2019 7:12 am
Share: