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! Learn more

Reply
gtamir
Post Patron
Post Patron

Sort visual by year and month

Hi, I am struggling this for some time, and if it comes right it is par azar.

I want to sort the income month by month by the year and the month.

On the left table, I filtered to show only 0ne year, somehow it sorted it by month too.

I copied the table to the right it was sorted properly but 2019 first. As I sort it by year the visual is sorted by month alphabetically. 

What is the trick?

 

Giora

 

ScreenHunter_148.jpg

1 ACCEPTED SOLUTION

@gtamir 

 

You may take a look at the posts below.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
JarroVGIT
Resident Rockstar
Resident Rockstar

Are you using a date table? If not, that would do the trick with regard to the sorting by year, and then by month within that year.

If this answered your question, please mark this as the solution. Kudos are welcomed!




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

Proud to be a Super User!




@JarroVGIT Yes. you can see in the attached image the columns and measures involved.

ScreenHunter_149.jpg

My apologies, I didn't noticed in the opening post. In the dataview, you can select the MonthName column and pick the menu option 'Sort by' column. Then chose a column that is numbered, or for example YYMM (which would also do the trick I think). 

Did that solve your problem?





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

Proud to be a Super User!




I am not sure I understand you, but here it will sort alphabetically.

ScreenHunter_150.jpg

@gtamir 

 

You may take a look at the posts below.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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