Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon'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.
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...)
Solved! Go to Solution.
Thank you both - I removed teh transform step and now have the data I need. On to the next steps...
Grant
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
Thank you both - I removed teh transform step and now have the data I need. On to the next steps...
Grant
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.
Proud to be a Super User! | |
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.
Click on Navigation and change the data type to Text
Delete any other change types which converts your column into date.
Close and Apply and it will stay as required.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
118 | |
79 | |
47 | |
45 | |
32 |
User | Count |
---|---|
172 | |
90 | |
66 | |
46 | |
45 |