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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Custom X-Axis Sort for multiple visuals

Hello!
I have a report where I need to sort many visuals with a custom X-axis. Some visuals have identical categories on the x-axis (e.g. "Very interested", "Somewhat interested", etc.), but some contain completely different information.

I am familiar with creating an additional table such as below, sorting "Category" by "Rank", and building a relationship between 'Sort Table'[Category] and the column on my original table. But, is there a way to do this for multiple visuals without having to create a new table for every visual?

 

Sort Table = DATATABLE(

"Rank", INTEGER,

"Category", STRING,

{1, "Very interested"},

{2, "Somewhat interested"}

...) 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Anonymous 
If the values are different you have to create a table with a sort column for every visual with different values.
Or one big table with separate columns for the values and for sort order.
something like :

Ritaf1983_0-1689132220111.png

unfortunately, there are no other tricks
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

View solution in original post

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @Anonymous 
If the values are different you have to create a table with a sort column for every visual with different values.
Or one big table with separate columns for the values and for sort order.
something like :

Ritaf1983_0-1689132220111.png

unfortunately, there are no other tricks
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.