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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
MegaOctane1
Helper I
Helper I

Dataflow gen 2 adds steps to functions causing the functions to not work properly when invoked

I am moving my queries from Datamart (preview), to Fabric. I have created a new Warehouse, and am adding Dataflow gen 2. 

I have some functions that are invoked by queries. The problem is, Power Query is adding extra steps to my functions, causing the functions to get data from API, and then deleting everything again....

The functions is invoked for a list of customer numbers, and the API returns invoice information, that is then added to my table.

All the columns in the function has column type added in the function:

MegaOctane1_4-1723191397109.png

When i publish the dataflow, there are som steps that are added, and the update is aborted.

 

From value and Remove Columns are added automatically. I delete these, publish, but they are added again.

MegaOctane1_0-1723191125886.png

MegaOctane1_1-1723191179885.png

MegaOctane1_2-1723191195234.png

On my queries, this results in the following error:

MegaOctane1_5-1723191502859.png

 

 

Once i delete the steps, the "Fx" logo is back on the functions in the left pane, and my flows work again, but only in the power query. Once i pulish, the steps are added back again, and it stops working

MegaOctane1_0-1723191706326.png

 

 

 

1 REPLY 1
Anonymous
Not applicable

Hi @MegaOctane1 ,

Regarding your problem, according to the description in this article, this problem occurs because the type is not set for the column.

Why are Power Platform Dataflows adding steps automatically at the end? (thebiccountant.com)

You seem to use M code to define column types. Perhaps you can try to define column types explicitly.

1.Selected Column

2.In the "Convert" menu, click the "Data Type" drop-down button and select the desired data type

3.Repeat steps

vzhouwenmsft_0-1723431512516.png

 

 

Best Regards,
Wenbin Zhou

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors