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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Argument in AddColumn Function

= Table.AddColumn(
      #"Changed Type",
     "DoubleNumbers",
     each [Numbers] * 2
 )
 
I am wondering whether in this function, #"Changed Type"
is a table. Because the syntax of Table.AddColumn requires that the first argument is a table!
 
what am I missing?
1 ACCEPTED SOLUTION
artemus
Microsoft Employee
Microsoft Employee

In most cases each step in a query should be a table. In this case the #"Changed Type" refers to the result of the previous step, which is a table, not a function.

View solution in original post

2 REPLIES 2
artemus
Microsoft Employee
Microsoft Employee

In most cases each step in a query should be a table. In this case the #"Changed Type" refers to the result of the previous step, which is a table, not a function.

jbwtp
Memorable Member
Memorable Member

Hi @Anonymous,

 

This [the table] should be the case if you did not change anything manually, but can be anything (hard to say without seeing the entire query).

 

If you click on the Changed Type step in your query and see a table, this is a table.

Kind regards,

John

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors