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!View all the Fabric Data Days sessions on demand. View schedule
Hello,
Can someone help me? Please
What measurement could I use to consider the most recent phase per HF - Unidade?
In this example, the Help Flag phase was the most recent
Solved! Go to Solution.
Hello, @Anonymous
You can do something like this (New Column in DAX)
Measure =
var currentHF = table[HF_Unidade]
var max_date = MAXX(FILTER(table, table[HF_Unidade] = currentHF), table[created_at])
return MAXX(FILTER(table, table[created_at] = max_date && table[HF_Unidade] = currentHF ), table[current_phase])
Hello, @Anonymous
You can do something like this (New Column in DAX)
Measure =
var currentHF = table[HF_Unidade]
var max_date = MAXX(FILTER(table, table[HF_Unidade] = currentHF), table[created_at])
return MAXX(FILTER(table, table[created_at] = max_date && table[HF_Unidade] = currentHF ), table[current_phase])
You could create a measure as
Most recent phase =
var HF = SELECTEDVALUE( 'Table'[HF - Unidade] )
return SELECTCOLUMNS( CALCULATETABLE( TOPN( 1, 'Table' 'Table'[created_at]), 'Table'[HF - Unidade] = HF ), "@val", 'Table'[current_phase])
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!