Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
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
Is the returned table from a FILTER, automatically sorted based on the SORT applied in the DATA tab?
If not, how can I sort it based on multiple criteria?
Thanks!
Solved! Go to Solution.
You would need to use the ORDER BY statement within a DAX query. But your best bet is to sort the visual (Table, matrix, chart) the way you want. The order of the data in the actual table or query is irrelevant to the results. The only time I use ORDER BY is in DAX Studio so I can see the results the way I want, but once I copy my DAX back to Power BI, I remove that and just sort my visuals the way I want.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingYou would need to use the ORDER BY statement within a DAX query. But your best bet is to sort the visual (Table, matrix, chart) the way you want. The order of the data in the actual table or query is irrelevant to the results. The only time I use ORDER BY is in DAX Studio so I can see the results the way I want, but once I copy my DAX back to Power BI, I remove that and just sort my visuals the way I want.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingIf 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 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 67 | |
| 33 | |
| 31 | |
| 29 |