cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lkysevans
New Member

Dynamic select columns to fill "up/down"

Table 1 has column of data (4 rows) and I tranpose this data into a sigle row.

 

I append this query to another table and then want to fill "up or down" this appended data.

 

The formula looks like this:

= Table.FillUp(#"Appended Query",{"Column1", "Column2", "Column3", "Column4"})

 

If I add more rows to Table 1 (go from 4 rows to "N" number of rows), how do I get the Fill command to dynamically select the updated number of colmuns?

 

Is there a way to select the range of colums like the following:

 

= Table.FillUp(#"Appended Query",{"Column1" : "ColumnN"})

 

Thanks for the help in advance I really appreciate it!

 

1 ACCEPTED SOLUTION
AnkitBI
Solution Sage
Solution Sage

Hi - Try Below.

 

Table.FillDown(#"Appended Query",Table.ColumnNames(#"Appended Query"))

Thanks
Ankit Jain

Do Mark it as solution if the response resolved your problem. Do like the response if it seems good and helpful.

View solution in original post

2 REPLIES 2
AnkitBI
Solution Sage
Solution Sage

Hi - Try Below.

 

Table.FillDown(#"Appended Query",Table.ColumnNames(#"Appended Query"))

Thanks
Ankit Jain

Do Mark it as solution if the response resolved your problem. Do like the response if it seems good and helpful.

View solution in original post

Excellent suggestion!  Its exatcly what I needed! Thank you!


@AnkitBI wrote:

Hi - Try Below.

 

Table.FillDown(#"Appended Query",Table.ColumnNames(#"Appended Query"))

Thanks
Ankit Jain

Do Mark it as solution if the response resolved your problem. Do like the response if it seems good and helpful.


 

Helpful resources

Announcements
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Top Solution Authors
Top Kudoed Authors