Quite simple issue : I'm looking for a way to get MIN(columnA) knowing that column has been sorted by another columnB.
columnA data type = Text
Currently the MIN() function give me the minimum value with values beginning by "A"..
Go to Solution.
Multiple ways to do this. Easiest way is to find the min order and get the Word for the min order:
Min Word =
VAR MinOrder =
MIN ( 'Table'[Order] )
CALCULATE ( MIN ( 'Table'[Words] ), 'Table'[Order] = MinOrder )
View solution in original post
What's the expected result? Maybe share a sample too.
Here is a data table :
I sorted the column "Words" by the column "Order" :
I'd like to get in DAX : MIN(Words) = "What" instead of "A".
I wonder if the DAX logic could respect the sort order I set previously.
Kudos to you if you earned one of these! Check your inbox for a notification.
Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.
Find out where you can attend!