Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi,
I have a table and I want to do it, how can I do it in DAX
Now:
Future:
Thanks!
Solved! Go to Solution.
please try
Column1 =
MAXX (
FILTER (
CALCULATETABLE ( 'Table', ALLEXCEPT ( 'Table', 'Table'[ExecutionReference] ) ),
'Table'[DataKey] IN { "HP", "GAF" }
),
'Table'[DataKey]
)
ExecutionReference doesn't make sense, what if you sort that column.
I mean why "GAF" not "Caudal" for example? Based on what? Or you have a list of the Key values that need to be kept?
please try
Column1 =
MAXX (
FILTER (
CALCULATETABLE ( 'Table', ALLEXCEPT ( 'Table', 'Table'[ExecutionReference] ) ),
'Table'[DataKey] IN { "HP", "GAF" }
),
'Table'[DataKey]
)