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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
neelterdal
Regular Visitor

Sort Month Year in Power BI reports when using Azure Analysis Services for data model.

Hi Everyone, 

 

I am using Azure Analysis Services for my data modeling. When I try to build a report based on the model I cannot sort the Month-Year Axis utilizing the sort by column method as it is a direct connection. Below is the screenshot of the date table created in the Azure Analysis Services. 

neelterdal_0-1659994305933.png

And below is the screenshot in Power BI when I try to build any report based on the Month-Year column:

neelterdal_1-1659994410480.png

When I sort this in Power BI - it sorts as per the alphabetical order. 

Help would be appreciated. 

 

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

In VS, select the Month_Year column and set the Sort By Column property to use your [MonthYear Sort] column.

jdbuchanan71_0-1659995639979.png

 

View solution in original post

1 REPLY 1
jdbuchanan71
Super User
Super User

In VS, select the Month_Year column and set the Sort By Column property to use your [MonthYear Sort] column.

jdbuchanan71_0-1659995639979.png

 

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.