Exibir: exibe o resultado de um cálculo entre dois campos em uma coluna

You can use text mode in a column to display a calculation between two fields.

For example, if you want to find out the number of week days that elapsed between two dates, you can use text mode syntax and data expressions to calculate this difference.
For example, you can calculate the week day difference between the Planned Completion Date and the Actual Completion Date of a task and display the result in a column.

You can use any other two dates in this calculation (Actual Start, Actual Completion, Projected Start, Projected Completion, etc).
For more information about calculated data expressions, see Overview of calculated data expressions.

Requisitos de acesso

Expanda para visualizar os requisitos de acesso da funcionalidade neste artigo.
table 0-row-2 1-row-2 2-row-2 3-row-2 layout-auto html-authored no-header
Pacote do Adobe Workfront Qualquer
Licença do Adobe Workfront

Colaborador ou solicitação para modificar um filtro

Padrão ou Plano para modificar um relatório

Configurações de nível de acesso

Acesso de edição a relatórios, painéis e calendários para modificar um relatório

Editar acesso a filtros, exibições e agrupamentos para modificar um filtro

Permissões de objeto Gerenciar permissões para um relatório

Para obter mais detalhes sobre as informações contidas nesta tabela, consulte Requisitos de acesso na documentação do Workfront.

Display the result of a calculation between two fields in a column

To add this column to a task view:

  1. Ir para uma lista de tarefas.

  2. No menu suspenso Exibição, clique em Nova Exibição.

  3. Click Add Column, then Switch to Text Mode > Edit Text Mode.

  4. Remove the text you find in the Text Mode box, and replace it with the following code:

    code language-none
    displayname=Week Day Difference
    textmode=true
    valueexpression=WEEKDAYDIFF({plannedCompletionDate},{actualCompletionDate})
    valueformat=HTML
    
  5. (Optional) To aggregate the values displayed in the view in a grouping, follow the steps described in Grouping: display the result of aggregating multiple calculated values in a grouping.

  6. Clique em Concluído e depois em Salvar exibição.

recommendation-more-help
5f00cc6b-2202-40d6-bcd0-3ee0c2316b43