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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
GrantWilliams
New Member

Help Please - Data Import Transformation

Hello - I'm trying to educate myself to switch from Excel to PowerBI for data analysis, so learning as I go along....

 

I'm trying to import data from an excel spreadsheet - one of the columns has data in the format of:

<number><full stop><number><full stop><number> (e.g. 2.7.8)

 

I need to maintain this format for analysis but when I try to import the spreadsheet it converts it to date format, and even why I try to flag it as text in Table Editor > Data Type, all it does is convert from a text to a numeric date format (e.g. 2.7.8 starts off as "2 August 2012", and when I make it text becomes "8/2/2012")

 

Any ideas how I fix this please so I can reference the data as 2.7.8 in power BI, as I need to do a look-up against another data source to derive which customer it is for? I cheked in Exel and the data is flagged as "General"; I tried changing it to "number" but got teh same result 

 

Regards

 

Grant (Exel Guru, noob on Power BI...)

1 ACCEPTED SOLUTION
GrantWilliams
New Member

Thank you both - I removed teh transform step and now have the data I need. On to the next steps...

 

Grant

View solution in original post

4 REPLIES 4
v-denglli-msft
Community Support
Community Support

Hi @GrantWilliams ,

It looks like your problem has been solved, please mark the helpful reply and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster .
Thank you very much for your kind cooperation!

Best Regards,
Dengliang Li

GrantWilliams
New Member

Thank you both - I removed teh transform step and now have the data I need. On to the next steps...

 

Grant

Idrissshatila
Super User
Super User

Hello @GrantWilliams ,

 

power query automatically create a step that changes the type, so remove the automatic step and keep it as it is.

 

so on the right side in power query youll see a section for applied steps and remove the change type step.

Idrissshatila_0-1736771973642.png

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




NishPatel
Resolver II
Resolver II

Please add ' at the beginning of your data like '2.7.8 and format it as text. In Power BI, when you import from excel go to transform data.

NishPatel_0-1736771627369.png

Click on Navigation and change the data type to Text

NishPatel_1-1736771759895.png

Delete any other change types which converts your column into date.

Close and Apply and it will stay as required.

NishPatel_2-1736771884720.png

 

 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric Community.