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
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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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