Column with ref to table not filtering correctly

Hi Guys,

I have a column called time slots that is references to table Horas_TM. The VALID_IF of this column has the following expression:

ORDERBY(SELECT(Horas_TM[ID],[Bloque]= [_THISROW].[BloqueHorario]),"Hora TM")

The column BloqueHorario is a virtual column with this expression:

[Zona_ID].[BloqueHorarioID]

I am getting the following data back that is not filtered.

0 13 289
13 REPLIES 13
Top Labels in this Space