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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
TimNYC
Helper I
Helper I

Sorting by Column Not In Visual When Data Source is Another Report

I'm using Power BI on desktop and my data source is another Power BI report that is already in the cloud. Because the data source is from a different file, I do not have access to the "Data" tab on the left and the "Sort By Column" option is greyed out. The field that I would like to sort my visual by is in the same table as one of the fields used in my visual. How do I access that column for sorting?

 

The table has the following data. The field shown on the visual is "Time Range", but I'd like to sort on the field "Hour". Sorting by "Time Range" results in non-chronological sorting because it is a text field.

 

HourTimeTime Range
012:00 AM12:00 AM - 1:00 AM
11:00 AM1:00 AM - 2:00 AM
22:00 AM2:00 AM - 3:00 AM
etc.etc.etc.

 

Any help on this would be appriciated, thank you.

 
1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

Well, depending on the visual you could add Hour to your visual and then use the ellipses in your visual to sort by Hour. You can often shrink up this column so that it does not show in something like a table visual. What visual is this going in?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

5 REPLIES 5
Greg_Deckler
Community Champion
Community Champion

Well, depending on the visual you could add Hour to your visual and then use the ellipses in your visual to sort by Hour. You can often shrink up this column so that it does not show in something like a table visual. What visual is this going in?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thank you everyone for your replies. The visual I'm using with the XX:00 AM - XX:00 - AM filed a simple table, so adding the Hour column, shrinking it to zero width, and sorting on that will get the job done. I do wish there was a better way, after all adding extra values to a visual can sometimes cause problems.

bfernandez
Resolver II
Resolver II

You can sort the visual by selecting its More options (...) menu, select Sort by, and then select the field by which you want to sort.

 

Check out the Power BI documentation here.

 



If this post has helped you, please give it a thumbs up!


Did I answer your question? Mark my post as a solution!


- If you need further assistance, @ me on the reply -

 

Anonymous
Not applicable

Yes, my apologies, I thought the original poster was trying to sort by a column that wasn't on the visual. In that case, you need to add the "sort by another column" option in PBI desktop, which doesn't appear when you live connect to a dataset.

 

If the value you want to sort by is on the visual itself, just sort by that using the options under the ellipses as indicated.

 

Thx,

Scott

Anonymous
Not applicable

Hi @TimNYC , if you mean you're live connecting to a Power BI dataset, unfortunately you won't be able to change the sort order. That's part of the data model, and when you're live connected you don't have "edit" access to the model to make changes (even for things like display formats...which I really don't understand why I can't override those when live connecting).

 

Hope this helps,

Scott

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.