Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Dear community,
I really hope you are able to help me solve this problem.
I have a Measure:
Measure=
Var a=
MAXX(
FILTER(ALL(Table),Table[Column1]= SELECTEDVALUE(Table[Column1]) ),
Table[Column2]
)
Var b=
MAXX(
FILTER(
ALL(Table),
Table[Column1]= SELECTEDVALUE(Table[Column1])
&& Table[Column2]= a
),
Table[Column3]
)
RETURN
b
And I need to modify it into a column. This is possible?
Somebody could help me? Thanks!
Solved! Go to Solution.
My Column =
VAR currentColumn1 = 'Table'[Column1]
VAR a =
MAXX (
FILTER ( ALL ( Table ), Table[Column1] = currentColumn1 ),
Table[Column2]
)
VAR b =
MAXX (
FILTER ( ALL ( Table ), Table[Column1] = currentColumn1 && Table[Column2] = a ),
Table[Column3]
)
RETURN
b
Many thanks!!! Thank you very much, it has worked perfectly! 💜
My Column =
VAR currentColumn1 = 'Table'[Column1]
VAR a =
MAXX (
FILTER ( ALL ( Table ), Table[Column1] = currentColumn1 ),
Table[Column2]
)
VAR b =
MAXX (
FILTER ( ALL ( Table ), Table[Column1] = currentColumn1 && Table[Column2] = a ),
Table[Column3]
)
RETURN
b
User | Count |
---|---|
41 | |
27 | |
23 | |
19 | |
16 |
User | Count |
---|---|
54 | |
35 | |
19 | |
18 | |
15 |