cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
TinyTV
New Member

Sort chart based on hidden column

Hi,

 

I'm new to Power BI and have used some visualisation tools in the past but am struggling with this one.

 

I need to order a chart by a column which I do not want to display i.e. by a hidden column.

 

In this case I have values by month but need to display them in order of financial year which runs July - June.

 

Every time I try something it seems to default back to alphabetical order, I've created new columns and measures using differen A-Z and 1-9 type approaches but nothing seems to work.

 

Any suggestions or help would be greatly appreciated!

 

Thanks

 

 

 

Thanks

1 ACCEPTED SOLUTION

Hi @TinyTV,

We can not sort by a measure, but we can sort by a calculated column through test. You need to select the column by which we want to sort, in the Fields pane, the Sort by Column button becomes active. You cam review more details in the blog.

1.PNG

Best Regards,
Angelia

View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

Generally this is done by using the Sort By functionality in the model. So you can select the column that you are displaying in the model and choose Sort By and then have it sorted by a different column.


@ 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!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

Hi,

 

Thanks for response - I've had some success with this on a few columns and charts but then not on others. Is there a limit to having this functionality work on a created column or measure instead of one that was included as part of the data that was imported?

 

Thanks

Hi @TinyTV,

We can not sort by a measure, but we can sort by a calculated column through test. You need to select the column by which we want to sort, in the Fields pane, the Sort by Column button becomes active. You cam review more details in the blog.

1.PNG

Best Regards,
Angelia

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors