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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Date Sort

Hi,

 

i have the below visual but i am unable to sort it by date. is it possible to sort it by date and how?

 

gheecalipes25_0-1729079001050.png

 

Thanks.

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @Anonymous ,

 

Generally speaking, if the data type of your calendar column is set to 'Date', the line chart will automatically sort by date. However, I assume your column is of the 'Text' type. I've conducted a test for your reference.

 

1\I assume there is a table

vbofengmsft_0-1729130830770.pngvbofengmsft_1-1729130855955.png

2\Add a new caculate column DateValue and set it's format to mmm dd

 

DateValue = DATEVALUE('Table'[DataColumn])

 

vbofengmsft_2-1729131051802.png

3\Using the new column DatValue as the x-axis

vbofengmsft_3-1729131095250.png

4\Set X-axis

vbofengmsft_1-1729131333596.png

 

vbofengmsft_0-1729131301916.png

 

Best Regards,

Bof

 

View solution in original post

Anonymous
Not applicable

this worked perfectly. Thank you so much

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

this worked perfectly. Thank you so much

Anonymous
Not applicable

Hi @Anonymous ,

 

Generally speaking, if the data type of your calendar column is set to 'Date', the line chart will automatically sort by date. However, I assume your column is of the 'Text' type. I've conducted a test for your reference.

 

1\I assume there is a table

vbofengmsft_0-1729130830770.pngvbofengmsft_1-1729130855955.png

2\Add a new caculate column DateValue and set it's format to mmm dd

 

DateValue = DATEVALUE('Table'[DataColumn])

 

vbofengmsft_2-1729131051802.png

3\Using the new column DatValue as the x-axis

vbofengmsft_3-1729131095250.png

4\Set X-axis

vbofengmsft_1-1729131333596.png

 

vbofengmsft_0-1729131301916.png

 

Best Regards,

Bof

 

Anonymous
Not applicable

the date format on the visual is what the stakeholder wants.. 😞

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.