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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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