Fórmula para filtrar dados entre data inicial, data final e funcionário

Olá pessoal, sou novo no appsheet e no momento não estou conseguindo filtrar dados entre dois dados com uma terceira condição que seria por funcionario. Precisando de uma fórmula para gerar relatório de funcionamento entre dois dados (data inicial e data final)

Olá pessoal, sou novo no appsheet e no momento não estou conseguindo filtrar dados entre duas datas com uma terceira condição que seria por funcionário. Precisando de uma fórmula para gerar um relatório de funcionário entre duas datas (data inicial e data final)

Captura de tela 2023-05-29 000221.png

Solved Solved
0 9 1,370
2 ACCEPTED SOLUTIONS

1. Please update on which table you want to run the filter. Does the table have [Date] and [Employee] columnss?

2 Please update if the RELATORIODINAMICO is a slice or table and is it  the same table in point 1 or slice  on the table mentioned in point 1?

In general expression can be something like

AND(
[DATA]>= ANY(RELATORIODINAMICO[DATA_INICIAL]),
[DATA]<= ANY(RELATORIODINAMICO[DATA_FINAL]),

[Servidor] = ANY(RELATORIODINAMICO[Servidor])

)

You will need an enum  dropdown in RELATORIODINAMICO table or slice to list all the Servidors  so that the user can select any one of them.

View solution in original post


@Suvrutt_Gurjar  wrote:

Thank you. Are REPORT and FILTERED REPORT views on the same table?


Please respond on the above request.


@Edmundo  wrote:

I thought about that, but every time a new server enters, I will have to edit the table (enum), being hostage to sporadic editing.


You could use valid_if constraint to always get the latest list of servers. You could get that list by using the expression Servers Table[Server Name] or Servers Table[Server ID] in the valid_if constraint for example.

Drop-down from Valid_If - AppSheet Help

 

 

 

 

View solution in original post

9 REPLIES 9
Top Labels in this Space