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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

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.