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!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 8 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 29 | |
| 19 | |
| 17 | |
| 11 | |
| 10 |