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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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]
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 11 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 32 | |
| 19 | |
| 12 | |
| 10 |