Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext 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
Hello All,
There seems to be an issue with how Power BI sorts numeric month values from a Live Connection to Analysis Services. If I select Month Number from my Date table (in our database this value is set as integer) and place it in a table visual this is the order I recieve:
4, 8, 12, 2, 1, 7, 6, 3, 5, 11, 10, 9
If I switch to DESC order I get:
9, 10, 11, 5, 3, 6, 7, 1, 2, 12, 8, 4
Why isn't Power BI sorting these as a numeric value (ex. 1, 2, 3, etc...)? Why is Power BI still treating it like text? The value is set to integer in our database.
Any help or solutions would be greatly appreciated!
Thanks,
Have you check if this column is using the 'Sort By Column' feature?
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
You can't use Sort by Column when you are using a live connection to Analysis Services. All features in the Modeling tab are greyed out.
I know, I meant to check on SSAS side
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
It's sorted in chronological order.
@nleuck,
In my scenario, Month number shows in an expected order in Power BI Desktop. Please make sure that your monthnumber field is sorted correctly on SSAS side. And you can post question about SSAS sort in SSAS forum to get better support.
Regards,
Lydia
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 63 | |
| 32 | |
| 31 | |
| 23 |