Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland asked on

Excel Power Query Change Data Type

Hi. In Excel Power Query  I connect to a text file data source and automatically see a step called "Changed Type" with the following in the formula. As I haven't changed amy data type why do I get this?

= Table.TransformColumnTypes(Source,{{"InvoiceDate", type datetime}, {"Make", type text}, {"CountryName", type text}, {"IsDealer", Int64.Type}, {"SalePrice", Int64.Type}, {"CostPrice", Int64.Type}, {"TotalDiscount", type number}, {"DeliveryCharge", Int64.Type}, {"SpareParts", Int64.Type}, {"LaborCost", Int64.Type}, {"ClientName", type text}, {"Model", type text}, {"Color", type text}, {"ReportingYear", Int64.Type}, {"ReportingMonth", Int64.Type}, {"Registration_Date", type datetime}, {"VehicleType", type text}, {"InvoiceNumber", type text}, {"CountryISOCode", type text}, {"OuterPostode", type text}, {"Region", type text}})

Open in new window

Microsoft ExcelMicrosoft Office

Avatar of undefined
Last Comment

8/22/2022 - Mon

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.