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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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]
)
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
7 | |
5 | |
4 | |
3 |
User | Count |
---|---|
12 | |
11 | |
10 | |
9 | |
8 |