Friends,
I'm having trouble improving this expression.
The expression is included in PDF creation.
Only the [NOME_PESSOA] column is referenced.
The expression works correctly, but it does not sort the names in ascending order.
I tried a few times to treat this field, but to no avail.
<<Start: ORDERBY(FILTER(โDB_CHAMADAโ,
AND( ([ID_DATA_CHAMADA]=[_THISROW].[ID_DATA_CHAMADA]),
([PRESENCA]=โSIMโ)
)
),
[NOME_PESSOA], TRUE,
[PRESENCA], ([PRESENCA]=โSIMโ)
)>><<[NOME_PESSOA].[NOME_PESSOA]>>
Solved! Go to Solution.
ORDERBY uses [NOME_PESSOA] key values. Use [NOME_PESSOA].[NOME_PESSOA] instead.
Also I am not sure [PRESENCA], ([PRESENCA]=โSIMโ actually does. Do you need it??
Right,
I do this creating field PDF and include the PATH. Its works for me.
Thanks
ORDERBY uses [NOME_PESSOA] key values. Use [NOME_PESSOA].[NOME_PESSOA] instead.
Also I am not sure [PRESENCA], ([PRESENCA]=โSIMโ actually does. Do you need it??
Hello,
Thanks for your solution.
How i dont see my mistake? Rrrrrr
Please, let me make other question about this PDF: How to do download this file directly in smartphone after bot works?
AFIK, you cannot do that. You either send it attached to email or send the link so the person can download it manually.
Right,
I do this creating field PDF and include the PATH. Its works for me.
Thanks
The second parameter of orderby() is descending? and expects a TRUE/FALSE value, but it is false by default. If you want ASC, I think you want a FALSE there.
ORDERBY(FILTER(โDB_CHAMADAโ,
AND( ([ID_DATA_CHAMADA]=[_THISROW].[ID_DATA_CHAMADA]),
([PRESENCA]=โSIMโ)
)
),
[NOME_PESSOA], FALSE,
[PRESENCA], ([PRESENCA]=โSIMโ)
)
User | Count |
---|---|
19 | |
10 | |
7 | |
7 | |
5 |