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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Yonas
Employee
Employee

How to use custom sort order in table visual?

Sorry, the question was not clear, I want to sort using the property colum, I have two datasets the first is in the main visual table (main page) and I have many columns, but for this case I just got two. I have two pages for the Main page(Table1) and the drillthrough page. 

 

Table1

Name    Service     product

Jhon      Buy           4 

Alice      Sell           3

 

I have unpivoted using service and property column and It look like this

 

Name    Attribute     Values

Jhon      Service         Buy

Jhon      Product        4

Alice      Service         Sell

Alice      Product        3

 

What I wanted to do is, when i drillthrough on table1 (Table Visual on main page) using Jhon(Table1), I wanted to see something like this with the sort order by attribute just like below

 

Name    Attribute     Values

Jhon      Service       Buy

Jhon      Product      4

 

But I see something like this

 

Name    Attribute      Values

Jhon      Product         4

Jhon      Service          Buy

 

the Attribute column Order is random when i drillthrough

 

Any ideas?

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Hi @Yonas ,

Maybe you could try adding an index column and then sorting by it.

2.gif

 

Best Regards,
Xue Ding
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

4 REPLIES 4
amitchandak
Super User
Super User

@Yonas ,Can you share sample data and sample output.

@amitchandakBecause of privacy I can not share sample data from my case, Can you rather use the above example datasets?

Hi @Yonas ,

Maybe you could try adding an index column and then sorting by it.

2.gif

 

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Greg_Deckler
Super User
Super User

Wait, what are you sorting on in the visual?

 

Honestly, it's an interesting question of whether/how sort is preserved as you drill through.


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.