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,
I want to create a new key column and sort the table by this key. I know how to combine the fields (three columns), but how to sort the table by this new key field (with DAX)?
I know the standard sort function but I want automate it.
Thanks
Dominik
Solved! Go to Solution.
I'm afraid there is no better way to do that with dax. Below is the other way about sorting for your reference.
https://community.powerbi.com/t5/Desktop/Data-Sorted-Automatically/td-p/181603
Regards,
Cherie
I'm afraid there is no better way to do that with dax. Below is the other way about sorting for your reference.
https://community.powerbi.com/t5/Desktop/Data-Sorted-Automatically/td-p/181603
Regards,
Cherie
I create the key in M now and use the "Sort by Column" function in the Data view. Seems to work.
Thanks
Glad to hear it worked, please accept the reply as solution, that way, other community members will easily find the solution when they get same issue.
Regards,
Cherie
I don't think this can be done in DAX. The normal way to do this is to use the "Sort by Column" function in the Data view.
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 |
|---|---|
| 44 | |
| 43 | |
| 38 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 64 | |
| 31 | |
| 29 | |
| 24 |