UiPath Documentation
insights
2023.4
false
Insights
Importante :
Este contenido se ha localizado parcialmente a partir de un sistema de traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.

Fórmulas comunes

Requisitos previos

Acceder a fórmulas en Insights <2021.10

  1. Un usuario necesita permisos de diseñador y tendrá que acceder al Portal de Insights.

  2. Accede a un panel existente o crea un panel nuevo.

  3. A continuación, edita un widget o crea un widget nuevo.

  4. A continuación, el diseñador tendrá que seleccionar el signo más junto a los valores

  5. Select the fx button to create a new formula

  6. Aquí, verás la pestaña de funciones

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

Acceso a las fórmulas en Insights 2023.4

  1. Un usuario necesita permisos de diseñador y puede acceder a un panel existente o crear uno desde cero.

  2. A continuación, el usuario debe editar el panel.

  3. A continuación, selecciona añadir mosaico y, seguidamente, elige la visualización.

  4. A continuación, selecciona una exploración.

  5. Crea una nueva fórmula personalizada utilizando la opción Añadir nueva medida, Añadir nueva dimensión o Cálculo de la tabla.

Comparación

Fórmulas comunes Insights <2021.10 Insights 2023.4

Suma: añade los números de una lista

  • En la pestaña Funciones, busca la función Suma y selecciónala.
  • 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.

Redondear: devuelve el número redondeado

  • Busca la función Redondear y selecciónala en la pestaña.
  • 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.

Ahora: devuelve el periodo actual

  • Busca la función Ahora y selecciónala en la pestaña Funciones.
  • 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 la 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.

  • Busca la función Máx. y selecciónala para añadirla al 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.

Si: ejecuta una expresión numérica basada en una condición

  • En la pestaña Funciones, busca la función Si (If) y selecciónala.
  • Primero, haz clic en el botón Añadir situado junto a los 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.

Mínimo: devuelve el número redondeado a la baja hasta múltiplo de "1" más cercano

  • Busca la función Mínimo y selecciónala para incorporarla a la 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 en 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.
  • Seguidamente, verás el filtro en la parte superior de la visualización.

Diferencia de día: devuelve la diferencia entre la hora de inicio y finalización

  • Busca la diferencia de día en la pestaña Funciones y, a continuación, selecciona la función Diferencia de día.
  • 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.

Contar: cuenta el número de valores únicos

  • Ejemplo: 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 todo: devuelve el recuento de elementos real de la lista de elementos, incluyendo los duplicados

  • Ejemplo: DUPCount(ProcessName)
  • En la pestaña Funciones, busca Contar todo y selecciona la función estadí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.

Caso: ejecuta la expresión de resultado basada en la condición. Si no se cumple ninguna condición, se devuelve la condición Si No

  • Busca la función Caso y, seguidamente, selecciónala en la pestaña Funciones.
  • 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.

Promedio: calcula la media

  • Busca Promedio en la pestaña Funciones y selecciónalo.
  • 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

  • No disponible

Máximo: redondea al alza hasta el número entero más cercano

  • En la pestaña Funciones, busca Máximo y elige esa función para llevarla al 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.
  • Requisitos previos
  • Acceder a fórmulas en Insights <
  • Acceso a las fórmulas en Insights 2023.4
  • Comparación

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado