UiPath Documentation
insights
2023.4
false
Insights
Importante :
A tradução automática foi aplicada parcialmente neste conteúdo. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

Fórmulas comuns

Pré-requisitos

Acesso a fórmulas no Insights <2021.10

  1. Um usuário precisa de permissões de designer e precisará navegar até o Portal do Insights.

  2. Em seguida, navegue até um painel existente ou crie um novo painel.

  3. Depois, edite um widget ou crie um novo widget.

  4. O designer terá de selecionar o sinal de adição ao lado dos valores

  5. Select the fx button to create a new formula

  6. Aqui, você verá a aba funções

  7. Commonly used functions are highlighted for comparison in the Comparison table.

Acessando Fórmulas no Insights 2023.4

  1. Um usuário precisa de permissões de designer e pode navegar até um painel existente ou criar um a partir do zero.

  2. Em seguida, o usuário deve editar o painel.

  3. Depois selecionar adicionar bloco e, em seguida, escolher visualização.

  4. Selecione um explore.

  5. Crie uma nova fórmula personalizada usando a opção Adicionar nova medida, Adicionar nova dimensão ou Cálculo de tabela.

Comparação

Fórmulas comuns Insights <2021.10 Insights 2023.4

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.
  • Then type Now.
  • Choose a name for the table calculation and select Save.
Check more details in the Looker user guide.

Mediana - calcula a mediana

docs image

  • 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.

Máx

  • 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.

docs image

  • 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.

Filtrar campo em fórmula

(Campo, campo filtrado)

  • 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.

Média- calcula a mediana

  • 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.

Todos

  • Não disponível

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.
  • Pré-requisitos
  • Acesso a fórmulas no Insights <
  • Acessando Fórmulas no Insights 2023.4
  • Comparação

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades