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
Danielle_E
New Member

Changes in Transform Sample File do not make changes in Final Query

Hi all,

 

In short:

 

I made some changes in a Transform Sample File (e.g. adding a column, replacing values, changing data type). But when I look in the final Query that has been made, I only see the added column. It seems like the replacing values and changing data type did not work.

 

Then the more elaborated version of my problem:

 

I´ve loaded some txt files (from a Sharepoint folder) which contains decimal numbers like 0.010793. When changing the datatype to decimal number (in the Transform Sample File), I first have to replace the “.” by a “,”, because otherwise it will not be recognized as a decimal number. Both steps go well in the Transform Sample File. Here a small part of my Transform Sample File after making those changes:

 

Danielle_E_0-1700072001373.png

 

Now when I look at the final Query that has been made, the data types are incorrect and Power Query just removed the “.”, instead of making it a decimal number.

 

Danielle_E_1-1700072064803.png

 

 

The other changes (added columns) do actually work. I can see in the final Query (which you cannot see in these screenshots).

 

Does someone know how I can fix this problem? Thank you!

 

P.S. I am looking for a solution without having to make changes in the txt files.  

1 REPLY 1
PhilipTreacy
Super User
Super User

Hi @Danielle_E 

 

Need to see your query code, preferably the Excel/PBI file + some sample txt files to help.

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


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.