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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
jbrown_99
Regular Visitor

'Sort by Column' setting gets lost when using Power BI Data Set

I've created a Data Set and published to Power BI Service.  I have a 'Sort by Column' set on one of the query columns and this works successfully in the original .pbix.   However, when I use the published data set as a new 'Power BI Data Set' source in for another Power BI desktop .pbix, the 'Sort By Column' functionality is not working and I don't see a way to update this in the .pbix - since the data set is from the Service.   Any thoughts super appreciated.   

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@jbrown_99 if you connect to Power BI Dataset, you must add this sort by column to the original Power BI dataset file, and then it will work on the file that is connecting to the Power BI dataset.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

4 REPLIES 4
parry2k
Super User
Super User

@jbrown_99 if you connect to Power BI Dataset, you must add this sort by column to the original Power BI dataset file, and then it will work on the file that is connecting to the Power BI dataset.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Thanks everyone!   Yes, this was user error.  I double checked my original .pbix data and I'd lost the Sort By in it.  After reassigning the Sory By and republishing the data set,  it only took a simple refresh the second .pbix to see the Sory By working.      

ebeery
Solution Sage
Solution Sage

Hi @jbrown_99 , are you simply using a "live" connection, or are you attempting to make additional model changes using the new "DirectQuery for Live Connections" preview feature?

If the latter, "Sort by Column" is one of the initial limitations listed with the release of that feature.

https://powerbi.microsoft.com/en-us/blog/directquery-for-power-bi-datasets-and-azure-analysis-servic...

 

ebeery_1-1609903296537.png

 

amitchandak
Super User
Super User

@jbrown_99 , May be republish and try again.

 

Also, check when clicking on the base column,  do you see the sort column option under column tools.  This should be accessible from visualization view, if available

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.