Hi,
I’m trying to make a Valid_if function to restrict the maximum value from another table. I have the following formula:
MAX(SELECT(GLOSARIO INVENTARIO[Máximo], AND([_THISROW].[Frecuencia] = [Frecuencia], [_THISROW].[Punto de venta] = [Lugar], [_THISROW].[Momento] = [Momento])))
It says the formula is ok but it is not a expected Valid If condition. Any thoughts?
Solved! Go to Solution.
@AlejandroCamacho
Valid_if needs to evaluate to a TRUE/FALSE value. You can maintain this simply:
[_THIS]<=MAX(SELECT(GLOSARIO INVENTARIO[Máximo], AND([_THISROW].[Frecuencia] = [Frecuencia], [_THISROW].[Punto de venta] = [Lugar], [_THISROW].[Momento] = [Momento])))
User | Count |
---|---|
36 | |
8 | |
3 | |
2 | |
2 |