Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi all,
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"..
Thanks !
Solved! 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] ) RETURN CALCULATE ( MIN ( 'Table'[Words] ), 'Table'[Order] = MinOrder )
Hi @Anonymous,
What's the expected result? Maybe share a sample too.
Best Regards,
Dale
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.
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] ) RETURN CALCULATE ( MIN ( 'Table'[Words] ), 'Table'[Order] = MinOrder )
Thanks !!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
98 | |
78 | |
64 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |