Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hey guys,
I need help, I can't add the total using sumX with some if statements , this is the formula I'm using, but as you can see , it doesn't show the total.
My Dax
Solved! Go to Solution.
please use
Horario_Expediente_Loja =
SUMX (
'Master_Status_Pickup_Tickets (2)',
VAR Pickup = 'Master_Status_Pickup_Tickets (2)'[PickupHour_Status_Pickup_off]
VAR Inicio = 'Master_Status_Pickup_Tickets (2)'[Horario_Inicio-Loja]
VAR _compara_status_inativo_abre_loja =
MIN ( Pickup, Inicio )
VAR _compara_status_ativo_fecha_loja =
MAX ( Pickup, Inicio )
RETURN
DATEDIFF (
_compara_status_inativo_abre_loja,
_compara_status_ativo_fecha_loja,
MINUTE
)
)
please use
Horario_Expediente_Loja =
SUMX (
'Master_Status_Pickup_Tickets (2)',
VAR Pickup = 'Master_Status_Pickup_Tickets (2)'[PickupHour_Status_Pickup_off]
VAR Inicio = 'Master_Status_Pickup_Tickets (2)'[Horario_Inicio-Loja]
VAR _compara_status_inativo_abre_loja =
MIN ( Pickup, Inicio )
VAR _compara_status_ativo_fecha_loja =
MAX ( Pickup, Inicio )
RETURN
DATEDIFF (
_compara_status_inativo_abre_loja,
_compara_status_ativo_fecha_loja,
MINUTE
)
)
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
19 | |
14 | |
10 | |
7 |