Forum Discussion
sakamotothais
9 years agoHelper III
Comparison function with if in Dax
Good afternoon, I am trying to compare values between today's date and yesterday's date. And I want to create an alert where it decreases and where it increases from yesterday to today. But I c...
- 9 years ago
I'm using it as a solution:
SUMX (
FILTER (QL2_Alerts, QL2_Alerts[dtt_data_captura] = MAX (QL2_Alerts[dtt_data_captura])),
QL2_Alerts[flt_base])
Anonymous
9 years agoNot applicable
Use your date table and show this measure next to today's date.
sakamotothais
9 years agoHelper III
I do not know how, I want to fix this measurement of today date. And compare with other reporting dates through filters. But today it has to be fixed.
Something like
CALCULATE(SUM(QL2_Alerts[flt_base],TODAY()))
- sakamotothais9 years agoHelper III
I'm using it as a solution:
SUMX (
FILTER (QL2_Alerts, QL2_Alerts[dtt_data_captura] = MAX (QL2_Alerts[dtt_data_captura])),
QL2_Alerts[flt_base])