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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
parry2k
Super User
Super User

Performance issue with Direct Query with SQL Azure

Hello,

 

I have a transaction table and Date Dimension table where month name in date dimension table is formatted as MMM-YY.

 

I want month name to be sorted by date (Jan-15/Feb-15/Mar-15/Apr-15 and so on...), with import data I can do the data modelling but seems like modelling is not possible with direct query.

 

Real question is what is the alternate to sort this month name field by date?

 

Tnanks,

P



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee

@parry2k

You can try:

In the visual->modeling tab, new a column="01-"&DateDimension[DT], change the column type to date, and the sort by date.

Capture.PNG

View solution in original post

2 REPLIES 2
Eric_Zhang
Microsoft Employee
Microsoft Employee

@parry2k

You can try:

In the visual->modeling tab, new a column="01-"&DateDimension[DT], change the column type to date, and the sort by date.

Capture.PNG

ankitpatira
Community Champion
Community Champion

@parry2k

You also have sorting options on visuals. So in top right hand corner for example with your column chart you can click three dots and use Sort By. Though not all visuals can be sorted this way.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.