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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
trevrobwhite2
Frequent Visitor

Y-Axis Parameter Sorting

I'm using a parameter with a slicer to show/hide columns on a cluster column chart, this is working really well, however when the user removes a column and later adds it again it get appended to the end rather than having a sort order.

 

Quarters = {
    ("Q3 2023", NAMEOF('Results'[Q3 2023]), 0),
    ("Q4 2023", NAMEOF('Results'[Q4 2023]), 1),
    ("Q1 2024", NAMEOF('Results'[Q1 2024]), 2)
}

 

Of course if these were static fields I could just re-order them in the build visual tray but given that there is only my parameter in there now how can I utilise the sort order at the top level?

 

If I go to the sort Axis on the visual I get the following fields:

  • X Axis
  • Q3 2023
  • Q1 2024
  • Q2 2024

But I want to step a level up and sort those quarters.

 

For those looking to sort the Axis this video really helped by using the Tooltips and I'm sure there must be a way to do a simular thing with the Y axis, https://www.youtube.com/watch?v=GfBrB6czByw 

1 ACCEPTED SOLUTION
v-tianyich-msft
Community Support
Community Support

Hi @trevrobwhite2 ,

 

I'm not quite sure what that means, but maybe you can try using sort by column:

Sort one column by another column in Power BI - Power BI | Microsoft Learn

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-tianyich-msft
Community Support
Community Support

Hi @trevrobwhite2 ,

 

I'm not quite sure what that means, but maybe you can try using sort by column:

Sort one column by another column in Power BI - Power BI | Microsoft Learn

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.