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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Anonymous
Not applicable

Dataflow queries suddenly getting changed automatically

Hello,

 

I've these queries that have been running without issue for months now on dataflows. Since yesterday, however, a part of these queries is getting edited automatically, i think every time it gets refreshed.

 

The column names did not have the #"" earlier (except for names with special characters, of course) but now they're getting added on their own. It gets added each time i refresh.

How it starts:

girishks90_0-1629281248706.png

 

How it ends:

girishks90_1-1629281379332.png

 

i came to know abt this while investigating a datatype error for a column, in a dashboard that connects to this dataflow. This issue was unusual in itself because the dashboard has been running smoothly for months. Does this have to do with any updates in the M query script??

 

Edit: I also notice that two steps are getting added automatically at the end of this query. If I delete them, they get created again.

girishks90_0-1629285508132.png

 

Edit2: What is happening is that the columns are losing their datatypes in the Table.Group step for some reason. And this is happening only to those columns which have names with more than one word, or if they have special characters. Seems like a purely script issue.

3 REPLIES 3
lbendlin
Super User
Super User

Do you have a Pro license? If yes then you may want to raise a ticket directly with Microsoft.  This looks rather serious.

https://powerbi.microsoft.com/en-us/support/pro/

 

(I have seen the last two lines added as well. Ticked me off immensely, to the point that I abandoned my dataflow project. Well, that and the insistence of pushing the incremental refresh code back to the very end, no matter how much I moved it up.)

Anonymous
Not applicable

Yes, I've a pro license. But it is governed by my employer. When i try to raise a ticket on the portal you shared, it asks for some license details which I unfortunately do not have.

You should be able to pick these from the dropdown menu.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.