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.
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
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 |
---|---|
45 | |
25 | |
19 | |
16 | |
8 |
User | Count |
---|---|
71 | |
49 | |
45 | |
20 | |
17 |