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
HassanAli123
Helper I
Helper I

Dropdown date slicer All fields should be in desending orde

Hi, 

    I have 5 fields in dropdown slicer year quarter month week and date. i want to see all fields in descending order. how is that possible

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@HassanAli123 , Create a descending order for for column/column and mark that sort column

 

Date1 =[date]

date rank = rankx(Date, [Date],,desc,dense )

 

Mark date rank as sort column of date1

 

 

Year1=[Year]

Year rank = rankx(Date, [Year],,desc,dense )

Mark year rank as sort column year 1

 

use year1, date 1 etc in table visual

 

How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

 

View solution in original post

6 REPLIES 6
rubikajadhav123
New Member

We have an option in the slicer. for ascending or descending, try this. and please let me know if this is helpful or not

rubikajadhav123_2-1644918179199.png

 

amitchandak
Super User
Super User

@HassanAli123 , Create a descending order for for column/column and mark that sort column

 

Date1 =[date]

date rank = rankx(Date, [Date],,desc,dense )

 

Mark date rank as sort column of date1

 

 

Year1=[Year]

Year rank = rankx(Date, [Year],,desc,dense )

Mark year rank as sort column year 1

 

use year1, date 1 etc in table visual

 

How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

 

Year rank = rankx(Date, [Year],,desc,dense )

 

This dax expression is not reversing the year colum in descending order.

Hi, 

  i have 5 fields in date slicer, year, quarter, month, week, date. i want to see all in descending order like first, year 2014 2013 2012 and then quarter q4 q3 q2 and then month dec nov oct

IMG_20220215_131425.jpg

@HassanAli123 , You can use sort descending option from three dots.

 

Or you have to create a sort column if that does not work

How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

 @amitchandak i posted this question again. your previous solution which you suggested me in my previous post that helped me. the link is under following. Thanks for your response

https://community.powerbi.com/t5/Desktop/Dropdown-date-slicer-All-fields-should-be-in-desending-orde...

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.