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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
ankurbajaj07
Helper I
Helper I

Sorting visual by date not by Value

HI,

I am having a date table having relationship with all other tables. Date table is sorted on year-month column (As whole number).

When i use this date table (month year column) alone in visual table it shows correct sorting by year month  but when i use it as a drag & drop in some other visual like matrix where I have other data values, sorting option on visual (clicking 3 dots on visual) gives sorting for values only and not for date.

Because of this my values is sorted as Feb Mar & Jan , not Jan Feb Mar or Mar Feb Jan.

I am not understanding whats the issue .

 

This is correct sorting output

CorrectCorrect

 

Not correct sorting - ascending / decending works for values not fo rdate header

ankurbajaj07_2-1681365547835.png

 

Dat atble already sorted by year month with whole number

ankurbajaj07_3-1681365593293.png

ankurbajaj07_5-1681365629986.png

Please help.

Thanks in advance.

3 REPLIES 3
danextian
Super User
Super User

Hi @ankurbajaj07 ,

 

Seems to be a bug. Try removing the count  from the value tile and add it back again.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
amitchandak
Super User
Super User

@ankurbajaj07 , Click on Column Month year and mark Month year sort column as the sort column

 

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

I have already mentioned that in my post. Its already sorted on year month sort column.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors
Top Kudoed Authors