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
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.


Follow on LinkedIn
@ 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
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.

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.