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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Anonymous
Not applicable

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.