Hi,
I have the following expression in the โValid Ifโ of a Reference column, to show the options, according to different filters. In addition, 2 more options are added at the end that must always be present.
The first list, I want it to be sorted alphabetically, but, as seen in the image, it doesnโt work.
Any suggestions as to why the list is not sorted?
SORT(
SELECT(Productos[Producto Id],
AND(
OR(
IN([DiaSem],[Dias]),
IN([Feriado],[Dias])
),
IN([Turno],[Turnos]),
IN([Salรณn],[Salones]),
[_THISROW].[Tipo de Evento]=[Tipo Evento]
)
),FALSE)+
SELECT(Productos[Producto Id],
OR(
[Producto]=โPrecio Personalizadoโ,
[Producto]=โRESERVADOโ
)
)
The result of this expression is as follows:
The list is being sorted by the โProducto Idโ value. Is that the value displayed in the dropdown?
Ah, certainly! What Iโm seeing is the label, but itโs sorting the list by Key Idโs !! I did not think about it like that.
Do I have any way of ordering using another field as criteria?
In that case I could create a virtual column with the labels and sort by that criterion. True?
User | Count |
---|---|
18 | |
9 | |
8 | |
5 | |
5 |