Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

Power Query; Is it possible to addColumn and populate with a formula

$
0
0
I am creating a table that 

1) reads a current table
2) adds 10, null filled, columns to the current table
3) adds 1 column that I want to populate with =counta(newcol1:newcol10)
4) write new table

I have no problem with steps 1, 2, and 4 but I cannot figure out how to populate the final column with a counta formula

The purpose of the new table is for the user to mark an appropriate column and the last column to show the number of columns selected.

What I have done to get around the problem for now is to create my table with steps 1, 2, and 4 and then manually populate the last column with the counta formula. 

I would really like to be able to add the formula as the table is being built in the query.

thanks for your assistance,

Viewing all articles
Browse latest Browse all 11829

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>