March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
Hi,
I have the following filtered calculated table.
Active Job Records Table = FILTER('job records data', 'job records data'[job_start_date] <= NOW() && 'job records data'[job_end_date] >= NOW() &&
'job records data'[job_status] = "t" )
Is it possible to sort calcualted table based on the following columns?
'job records data'[pay_level] descending 'job records data'[job_start_date] descending 'job records data'[job_start_date] descending
Thanks in advance.
-ikel
Solved! Go to Solution.
Hi @ikelaiah ,
Yes,you can use Rankx as a variable then use filter to get the rows you need:
https://docs.microsoft.com/en-us/dax/rankx-function-dax
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
@ikelaiah , I a table visual, you can put all these columns and can do multiple column sort using shift and click
That does the trick. But is it possible to do FILTER() and sort/order by at the same time?
Hi @ikelaiah ,
Yes,you can use Rankx as a variable then use filter to get the rows you need:
https://docs.microsoft.com/en-us/dax/rankx-function-dax
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
125 | |
85 | |
69 | |
54 | |
45 |
User | Count |
---|---|
204 | |
106 | |
98 | |
65 | |
54 |