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
PijushRoy
Super User
Super User

Table sort by two column, Date and Amount, 1st Latest Date then Largest Amount

Hi Team,

I have a default table visual and I need to by dault sort by two column. Date and Amount, 1st Latest Date then if date is same again sort by Largest Amount.

 

For Example 
Debtor / Amount / Order Date
A/10000/31.12.2022

B/1000/06.10.2022
M/5000/31.12.2022

 

Output Require

Debtor / Amount / Order Date
A/10000/31.12.2022
M/5000/31.12.2022

B/1000/06.10.2022

Please suggest

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

In the Table visual, use th shift key to sort by multiple columns.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

5 REPLIES 5
CNENFRNL
Community Champion
Community Champion

Simple enough

CNENFRNL_0-1661620097548.png


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Ashish_Mathur
Super User
Super User

Hi,

In the Table visual, use th shift key to sort by multiple columns.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

An evident limitation is all selected columns are sorted in either asending or descending order only.


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Hi,

It should be automatic when user opening the report (default view)

So what happens when you try my solution?  Does the sorting not stay as is when you open the file?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

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.