Forum Discussion
Anonymous
4 years agoNot applicable
Latest Phase
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
- 4 years ago
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])
vojtechsima
4 years agoSuper User
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])
- Anonymous4 years agoNot applicable
vojtechsima Its worked. Thank you so much