UiPath Documentation
activities
latest
false
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.

Atividades de produtividade

Create Pivot Table

UiPath.Excel.Activities.Business.CreatePivotTableX

Description

Cria uma tabela dinâmica de uma tabela ou intervalo especificado para você calcular, resumir e analisar dados. Após ter sido adicionada, você pode adicionar campos na tabela dinâmica, como linhas, colunas, filtros ou campos de resumo. A atividade pode ser usada com um arquivo Excel selecionado para uma atividade Use Excel File pai ou com o Project Notebook.

Para aprender a usar essa atividade, consulte o Tutorial: como criar uma tabela dinâmica.

Configurando a atividade

Painel do Designer

  • Source range - Select Plus on the right side of the field and then, from the menu, select the Excel file and then select a named range, table, or sheet from the file, or select Indicate in Excel to indicate a range directly from the file. Alternatively, you can select Open in Advanced Editor to enter a VB expression.

  • New table name - Select Plus on the right side of the field and then, from the menu, select Text to enter a name for the table in the Text Builder. If a pivot table with the same name already exists at the destination, the table is deleted and recreated.

    Ou então, você pode usar uma das opções disponíveis no menu para indicar o nome:

    • Dados do Project Notebook, um arquivo do Excel pai ou conta do Outlook. Por exemplo, selecione uma célula em um arquivo do Excel ou um campo em um email do Outlook selecionado.
    • Use Saved Value - Select a value that you previously saved for later use in the project.
    • Perguntar quando executar - Solicitação de um nome quando o projeto é executado.
    • Open in Advanced Editor - Enter a VB expression.
  • Destination range - Select Plus on the right side of the field and then, from the menu, select an Excel file and then a table or sheet where to create the pivot table, or select Indicate in Excel to indicate directly from the file. Alternatively, you can select Custom Input to enter the range manually, or Open in Advanced Editor to enter a VB expression.

  • Add Pivot Table Field - Select this button to add a pivot table field.

Opções de campo dinâmico

  • Field - Select Plus on the right side of the field and then, from the menu, select Range and a column header, or select the Excel file and then Indicate in Excel to indicate a column header in the file. Alternatively, you can select one of the other options in the menu to indicate the column header:

    • Use Saved Value - Select a value that you previously saved for later use in the project.
    • Texto - Insira o texto no cabeçalho da coluna usando o Construtor de Texto.
    • Perguntar quando executar - Solicitação de texto no cabeçalho da coluna quando o projeto é executado.
    • Open in Advanced Editor - Enter a VB expression.
  • Is a - Select what the field should be in the pivot table: Row, Column, Filter, or Value.

  • Função - Se o campo for um valor, selecione qual função deve ser usada: Soma, Contagem, Média, Máximo. Mínimo. Produto, ContarNúmeros, DesvPad, DesvPadp, Var ou Varp.

Painel de Propriedades

Comum
  • DisplayName - The name displayed for the activity in the Designer panel.
Entrada
  • Intervalo do Destino - Consulte Intervalo do Destino no corpo da atividade.
  • Layout - Enhances the pivot table layout and format. The compact form optimizes for readability while the tabular and outline forms include file headers. The default value is compact.
  • Nome da nova tabela - Consulte Nome da nova tabela no corpo da atividade.
  • Intervalo da tabela - Consulte Intervalo de origem no corpo da atividade.
  • Values added as - Select how to add the values in the pivot table, either as columns (the default option) or rows.
Diversos
  • Particular — se selecionada, os valores de variáveis e argumentos não são mais registrados no nível Verbose.
  • Description
  • Configurando a atividade
  • Painel do Designer
  • Painel de Propriedades

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