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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.