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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

 @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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.