Forum Discussion
Analyze in Excel Changes Data Types
Hi roncruiser ,
Based on testing, I did not reproduce your problem.
The data source I used for testing was EXCEL. This is the table I tested, column 1 is imported from the data source, column 2 is calculated by column 1, column 3 is calculated by the RAND () function, I set their data format uniformly as whole number.
In the excel analysis they are also all sorted numerically.
Here are the possible related settings in excel for your reference.
I attached my test PBIX at the end, you can also use it to test to see if the data type still changes. You can also share some details of your test environment at the same time, thanks in advance.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Anonymous
Also, after you retrieve your data in Excel, drag Column2 into rows and then sort the column. You will find you cannot sort numerically. Not Largest to Smallest or Smallest to Largest.