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 All,
I have following data
ID Item Data DataValue(String Data)
--------------------------
1 Item1 1.0
2 Item2 2.x
3 Item2 2.5
4 Item3 3.0.1
5 Item4 4.x
6 Item5 5.0.2
7 Item5 5.0.5
8 Item6 1.2
9 Item6 1.2
10 Item7 2.0.1
11 Item8 9.x
12 Item8 8.0
13 Item9 7.x
14 Item9 7.2
Find Max value from DataValue column using dax calculation
Output should be Item 8 and 9.x
Note:- GoupBy Item 8
Thanks
Create a COLUMN
Data String Rank = RANKX(ALL('Table'), 'Table'[Data String],, DESC)Then a MEASURE
MAX Item Data & String =
CALCULATE (
FIRSTNONBLANK ( 'Table'[Item Data], 1 ),
'Table'[Data String Rank] = 1
)
& " and "
& CALCULATE (
FIRSTNONBLANK ( 'Table'[Data String], 1 ),
'Table'[Data String Rank] = 1
)Hope this helps! ![]()
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.
| User | Count |
|---|---|
| 45 | |
| 43 | |
| 39 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 67 | |
| 66 | |
| 31 | |
| 28 | |
| 24 |