Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello,
I was wondering if anyone knows how to preserve the sort order of a source when importing data from a SQL query. There is no order by defined, but the way the data is returned in regards to the sorting, can that be retained? If not will the addition of Order By in the SQL Query help? If that again is not possible, is the only way to do this is by sorting by different column names, or by defining a sort value column?
Thank You
Solved! Go to Solution.
hi, @nirvana_moksh
It will keep the same sort order with SQL query code.
If there is order by defined, it will keep the same sort order too.
Best regards,
Lin
hi, @nirvana_moksh
It will keep the same sort order with SQL query code.
If there is order by defined, it will keep the same sort order too.
Best regards,
Lin
Hi have the same problem but it think the problem is more related with the visualization table.
I have a view in SQL server, the view has a specif sorting (ORDER BY), when I "get the data" and go to "Trasform Data" view, the data looks OK, but when I load the data to a "Table", I'm missing the sort of my view.
Is this a bug of visualization table?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
76 | |
55 | |
37 | |
34 |
User | Count |
---|---|
99 | |
56 | |
53 | |
44 | |
40 |