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

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
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 Fabric 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.