Soma- adiciona os números em uma lista
|
- Na aba Funções, procure a função Sum (Soma) e, em seguida, selecione a função.
|
- First select the Add button next to the custom fields.
- Select Table Calculation.
- Then type Sum and enter the necessary parameters.
- Choose a name for the table calculation and select Save.
Check more details in the Looker user guide.
|
Arredondar- retorna o número arredondado
|
- Procure a função Arredondar e depois selecione-a na aba.
|
- First, select the Add button next to the custom fields.
- Select Table Calculation.
- Type Round and enter the necessary parameters.
- Choose a name for the table calculation and select Save.
Check more details in the Looker user guide.
|
Agora - retorna o período de tempo atual
|
- Procure a função Agora e, em seguida, selecione-a na aba Funções.
|
- First, select the Add button next to the custom fields.
- Select Table Calculation.
- Choose a name for the table calculation and select Save.
Check more details in the Looker user guide.
|
Mediana - calcula a mediana
|
- Search for the Median function in the Functions tab. Then select the function to bring the median function into the formula editor.
|
- First, select the Add button next to the custom fields.
- Select Table Calculation.
- Then type Median and enter the necessary parameters.
- Choose a name for the table calculation and select Save.
Check more details in the Looker user guide.
|
|
|
- Procure a função Max e selecione-a para adicioná-la ao editor de fórmulas.
|
- First, select the Add button next to the custom fields.
- Select Table Calculation.
- Then type Max and enter the necessary parameters.
- Choose a name for the table calculation and select Save.
Check more details in the Looker user guide.
|
Se - executa uma expressão numérica baseada em uma condição
|
- Na aba Funções, pesquise “se” e depois selecione a função.
|
- Primeiro, clique no botão Adicionar ao lado dos campos personalizados.
- Select Table Calculation.
- Then type IF and enter the necessary parameters.
- Choose a name for the table calculation and select Save.
Check more details in the Looker user guide.
|
Floor- retorna o número arredondado para baixo para o múltiplo mais próximo de "1"
|
- Procure a função Floor e, em seguida, selecione-a para trazer para a fórmula.
|
- First, select the Add button next to the custom fields.
- Select Table Calculation.
- Then type Floor and enter the necessary parameters.
- Choose a name for the table calculation and select Save.
Check more details in the Looker user guide.
|
|
|
- to filter a field inside a formula, add the field next to the original field, select it, select Rename, and then choose the filter.
|
- To add a filter, select the Filter button next to the field name.
- Em seguida, você verá o filtro na parte superior da visualização.
|
Diferença de dias- retorna a diferença entre a hora do início e do término
|
- Procure a diferença de dias na aba Funções, em seguida, selecione a função de diferença de dias.
|
- First, select the Add button next to the custom fields.
- Select Table Calculation.
- Then type diff_days and enter the necessary parameters.
- Choose a name for the table calculation and select Save.
Check more details in the Looker user guide.
|
Contagem - conta o número de valores exclusivos
|
- Exemplo:
Count(ProcessName)
- In the Functions tab type Count and select the function. Then navigate to the Data Browser tab, and select processname inside of the function.
|
- First, select the Add button next to the custom fields.
- Select Table Calculation.
- Type Count_Distinct and enter the necessary parameters.
- Choose a name for the table calculation and select Save.
- Optionally, select the three dots next to a field and select Count.
Check more details in the Looker user guide.
|
Contar tudo - retorna a contagem real de itens da lista de itens, incluindo duplicatas
|
- Exemplo:
DUPCount(ProcessName)
- Na aba Funções, procure por Contar tudo e, em seguida, selecione a função estatística.
|
- First, select the Add button next to the custom fields.
- Select Table Calculation.
- Then select Type Count and enter the necessary parameters.
- Choose a name for the table calculation and select Save.
- Optionally, select the three dots next to a field and select Count.
Check more details in the Looker documentation.
|
Maiúscula ou minúscula- executa a expressão de resultados com base na condição. Se nenhuma condição for atendida, a condição outra será retornada
|
- Procure a função Maiúsculas/minúsculas e, em seguida, selecione-a na aba Funções.
|
- First, select the Add button next to the custom fields.
- Select Table Calculation.
- Then type Case and enter the necessary parameters.
- Choose a name for the table calculation and select Save.
Check more details in the Looker documentation.
|
|
|
- Procure Média na aba Funções e, em seguida, selecione-a.
|
- First, select the Add button next to the custom fields.
- Select Table Calculation.
- Type mean and enter the necessary parameters.
- Choose a name for the table calculation and select Save.
Check more details in the Looker documentation.
|
|
|
|
|
Teto- arredonda até o dígito de 1
|
- Na aba Funções, procure Teto e, em seguida, escolha essa função para trazer para o editor de fórmulas.
|
- First, select the Add button next to the custom fields.
- Select Table Calculation.
- Then type Ceiling and enter the necessary parameters.
- Choose a name for the table calculation and select Save.
Check more details in the Looker documentation.
|