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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
senref
Frequent Visitor

Unexpected behaviour from 'Sort by column' on second report built on semantic model

Hi all,  

I have a report built on a semantic model which includes a date table. 

[Year-Month] contains data like this: Dec 2025

[Year-Month Code] contains data like this: 202512

 

On my original report, the sort by column field appears as expected:

senref_0-1720622644202.png

 

On the report I've built on top of the original model, however, [Year-Month] is still being sorted by [Year-Month].  

senref_1-1720623176235.png

 

I've tried opening and closing bother versions, refreshing my original, republishing it, and then refreshing both it and the second report (even if the second is connected live) but I'm getting nowhere.  Is there anything I might be missing?  

 

Thanks for ny help.

1 ACCEPTED SOLUTION
senref
Frequent Visitor

OK - I think I've worked out where I've gone wrong here.  I just needed to ignore the greyed out data and change the sort axis on the vis.  Although the model view makes it look like [Year-Month] is being sorted by [Year-Month], if I sort the axis of the visual using this data by [Year-Month], it's in the order of [Year-Month Date] as I'd hoped.  

View solution in original post

3 REPLIES 3
senref
Frequent Visitor

OK - I think I've worked out where I've gone wrong here.  I just needed to ignore the greyed out data and change the sort axis on the vis.  Although the model view makes it look like [Year-Month] is being sorted by [Year-Month], if I sort the axis of the visual using this data by [Year-Month], it's in the order of [Year-Month Date] as I'd hoped.  

senref
Frequent Visitor

Thanks for taking the time to respond @v-yangliu-msft .  On the original model, I've changed it.  It's not following through to the second report built on the same model, however.  I can't change it on that second report - I guess because that report is using a live connection to the first report's semantic model, the option is greyed out in the model view.  You can see that in the images above but my apologies for not making that at all clear.

v-yangliu-msft
Community Support
Community Support

Hi  @senref ,

 

As far as I know, the Sort by column of the calculation table in the model view defaults to sorting by its own columns, and you need to specify manually which columns to sort by.

vyangliumsft_0-1720758537799.png

 

 

Best Regards,

Liu Yang

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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.