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
Norie
ASKER CERTIFIED SOLUTION
Avatar of Norie
Norie

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Microsoft Excel
Microsoft Excel

Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.

144K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo