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

Sort month date table

 

Hey, 

 

I Created a date table and related the table to my Sales table, which contains a sales per day (date).

 

Now i Created a "Line and clustered column chart", at the shared axis i put the month from the date table, and at the values i put the sales from my sales table. the visualization shows me the sales sorted from the biggest to the smallest, instead a chronological order (January - June). How i sort the axis chronological?

 

Thanks!

 

 

img2.PNG

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

Hi @Anonymous 

see a docs here

https://docs.microsoft.com/en-us/power-bi/consumer/end-user-change-sort


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

5 REPLIES 5
az38
Community Champion
Community Champion

Hi @Anonymous 

see a docs here

https://docs.microsoft.com/en-us/power-bi/consumer/end-user-change-sort


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

Hey thanks!

 

Another question - now at the total number there is no comma, how can I add a comma seperator?

 

 

az38
Community Champion
Community Champion

@Anonymous 

pick your formatted column at the right pane, then set decimal numbers in Column/Measure tools ribbon

Снимок.PNG


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

Thanks! Other issue (instead opening new discussion..):

 

I Have a graph that orderd in alphabetical order:

 

Itay_0-1594490485182.png

In my Date table i created a new column with the number of the day at the week (The full date is in hebrew language):

 

Itay_1-1594490554803.png

Now I'm trying the solution you gave me before (Sort the X axis by DayOrder at the "Sort By Column" button), and i get this error message:

 

Itay_2-1594490638861.png

What can be wrong? Thanks!

 

az38
Community Champion
Community Champion

@Anonymous 

try to remove new column from bar chart and use this technique https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column instead


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.