Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I am using Python scrpit to pull data. On Jupyter Lab the pd dataframe column order is just fine. But when I export data on PowerBI using the same exact script, column name orders to alphabetical by itself.
Does any one have an idea why this would be the case?
hi @numersoz
In power bi, the data is sort by alphabetical by default.
And you could use "sort by column" to custom it. see more details as below:
https://radacad.com/sort-by-column-in-power-bi
Regards,
Lin
Hi it is alphabetical by default on modelling view but not on Power Query. It is by the original column order there. All other data sources I export are by original order except for the one that I am trying to get from Python.
When I run the Python code outside of PowerBI it is working but just inside Power Query it is not by the original order.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
98 | |
81 | |
65 | |
62 |
User | Count |
---|---|
147 | |
116 | |
104 | |
88 | |
65 |