Skip to content
BeryxTechBeryxTech
Retour au guide de l'application

Documentation de BeryX

Ce document technique est disponible en portugais.

Negócio

Esta página diz, em linguagem de negócio, como evoluem as métricas que defines sobre os teus datasets, como a receita ou as encomendas. Cada insight separa o que mudou no negócio do que coincide com problemas abertos nos dados das origens.

O que podes fazer

  • Mudar de aba: a página abre em Métricas, e tem também Nova métrica (se escreves no workspace), Definições de métricas e Envio do resumo (se fores administrador). Criar métrica, no topo, abre a Nova métrica com o cursor no primeiro campo; o que já escreveste não se perde ao mudar de aba.
  • Escolher o Dataset de cada origem pelo caminho completo, fonte › schema › tabela, com o ícone do conector. A lista agrupa os datasets por fonte e diz a camada e os domínios de cada um; escrever na caixa procura na fonte, no conector, no schema, na tabela, na camada e nos domínios. As setas percorrem a lista, Enter escolhe e Esc fecha.
  • Ver as colunas do dataset escolhido como campos: na Coluna de data, na Coluna do valor e no Segmento, cada coluna diz o tipo, o tipo semântico do perfil e os termos aprovados do glossário, e a tabela das colunas diz qual é a data, o valor e o segmento da métrica. Por baixo, a Consulta que vai correr mostra o SQL que o scan corre em cada origem e os períodos que lê, só de leitura.
  • Definir uma métrica: Nome, Agregação (soma dos valores, contagem de linhas, contagem de distintos ou média dos valores), Unidade (euros, clientes, contagem ou número), Período (por dia ou por semana) e, em cada origem, o Dataset, a Coluna de data, a Coluna do valor e, na soma e na contagem, um Segmento opcional. A soma e a contagem aceitam até 5 origens; a média e a contagem de distintos não se dividem por segmento nem juntam origens. As colunas vêm do perfil do dataset: a Coluna de data tem de ser do tipo data ou data e hora, e a soma e a média pedem uma Coluna do valor numérica. Uma coluna com dados pessoais ou confidenciais não serve de Segmento, de data nem de valor de uma soma ou média; a contagem de distintos aceita-a. Só os datasets de PostgreSQL, MySQL, SQL Server, Fabric, Snowflake, BigQuery, Databricks e SQLite calculam métricas.
  • Ler o resumo de cada métrica: o último período completo contra o anterior, a variação, onde ela está (segmento e origem, na soma e na contagem) e se é habitual para o período (o mesmo dia da semana ou as últimas semanas).
  • Ver a etiqueta de cada insight: Variação sem problemas nos dados, Rever os dados (a maior parte da variação está em origens com problemas abertos nos dados), Parte nos dados, Habitual para o período, Estável ou Por atualizar (o último período ainda não foi calculado em alguma origem; o valor aparece depois do próximo scan).
  • Abrir a Evidência: os datasets de origem, os problemas abertos nos dados de cada um e a consulta que correu na fonte, só de leitura; e os Valores por período numa tabela.
  • Ver o valor em euros ou os clientes em linhas com problemas de qualidade, quando a métrica é em euros ou em clientes e a origem tem regras a falhar no último scan.
  • Escolher, ao definir uma métrica, uma Definição registada já aprovada: o nome e a descrição passam a ser os da definição, também depois de cada versão nova, e a Agregação e o Período têm de bater com a fórmula de referência e o grão dela.
  • Registar as Definições de métricas, uma por métrica: a Definição em linguagem de negócio, a Fórmula de referência, os Filtros, o Grão, o Dono, a Autoridade de definição e os Datasets de origem. Um rascunho edita-se à vontade, e Submeter para aprovação abre um pedido que se decide em As minhas tarefas (quem pediu não decide). Numa definição aprovada, Propor mudança segue para aprovação, e a versão em vigor mantém-se até lá. Assina a autoridade de definição, e quem pediu ou um administrador pode Retirar pedido.
  • Abrir uma definição para ver as Implementações (as métricas dbt com o mesmo nome e as métricas de negócio que a seguem), cada uma Conforme ou Diverge, com o valor registado e o implementado, e o Histórico de versões com as assinaturas de cada versão. Uma divergência abre também um problema de métrica em Problemas.
  • Abrir o separador Proteção de uma definição para ver que dados o KPI lê: os Datasets de origem, as colunas que a fórmula, os filtros e as métricas de negócio ligadas citam e, pela linhagem de colunas, as que estão a montante, até 20 fontes e 200 colunas. Cada coluna mostra as Regras ativas e a Última medição, cada fonte os problemas abertos, e o KPI tem um Estado: Protegido, Parcial, Sem proteção ou Indeterminado. Uma fonte a que não tens acesso não aparece pelo nome, só conta, e o estado fica Indeterminado. Com a lista truncada, o estado nunca é Protegido.
  • Se escreves no workspace, usar Propor regras: propõe regras a partir do perfil do último scan e dos packs de regras, só nas colunas sem regra, com o porquê «Protege o KPI …» preenchido. Entram em Sugestões e não duplicam uma sugestão aberta. Uma fonte só de leitura para ti fica sem propostas, e a mensagem diz quantas.
  • Se fores administrador, usar Importar do dbt para criar rascunhos das métricas do semantic layer dbt já importadas que ainda não estão no registo.
  • Usar Analisar agora para pedir um scan das origens (os valores calculam-se em cada scan) e, se fores administrador, escolher os canais de email, Slack ou Teams do workspace e a frequência do envio periódico do resumo, ou Enviar agora.

Ver também

English

Business

This page tells you, in business language, how the metrics you define over your datasets are moving, such as revenue or orders. Each insight separates what changed in the business from what coincides with open problems in the data of the sources.

What you can do

  • Switch tabs: the page opens on Metrics, and also has New metric (if you write in the workspace), Metric definitions and Summary delivery (if you are an admin). Create metric, at the top, opens New metric with the cursor on the first field; what you have typed is kept when you switch tabs.
  • Choose the Dataset of each source by its full path, source › schema › table, with the connector icon. The list groups the datasets by source and gives the layer and the domains of each one; typing in the box searches the source, the connector, the schema, the table, the layer and the domains. The arrows move through the list, Enter chooses and Esc closes.
  • See the columns of the chosen dataset as fields: in the Date column, the Value column and the Segment, each column gives its type, the semantic type from the profile and the approved glossary terms, and the column table shows which one is the metric's date, value and segment. Below, Query that will run shows the SQL the scan runs on each source and the periods it reads, read-only.
  • Define a metric: Name, Aggregation (sum of values, row count, distinct count or average of values), Unit (euros, customers, count or number), Period (per day or per week) and, for each source, the Dataset, the Date column, the Value column and, for sum and count, an optional Segment. Sum and count accept up to 5 sources; average and distinct count do not split by segment or combine sources. The columns come from the dataset profile: the Date column must have a date or date-and-time type, and sum and average need a numeric Value column. A column with personal or confidential data cannot be the Segment, the date or the value of a sum or average; a distinct count accepts it. Only datasets from PostgreSQL, MySQL, SQL Server, Fabric, Snowflake, BigQuery, Databricks and SQLite compute metrics.
  • Read the summary of each metric: the last complete period against the previous one, the change, where it is (segment and source, for sum and count) and whether it is usual for the period (the same weekday or the last few weeks).
  • See the label of each insight: Change without data problems, Check the data (most of the change is in sources with open problems in the data), Partly in the data, Usual for the period, Stable or Awaiting update (some source has not computed the last period yet; the value appears after the next scan).
  • Open the Evidence: the source datasets, the open problems in the data of each and the query that ran on the source, read-only; and the Values per period in a table.
  • See the value in euros or the customers in rows with quality problems, when the metric is in euros or customers and the source has rules failing in the last scan.
  • When defining a metric, pick an approved Registered definition: the name and description become the definition's, also after each new version, and the Aggregation and Period must match its reference formula and grain.
  • Register the Metric definitions, one per metric: the Business definition, the Reference formula, the Filters, the Grain, the Owner, the Definition authority and the Source datasets. A draft can be edited freely, and Submit for approval opens a request decided in My tasks (the requester does not decide). On an approved definition, Propose change goes to approval, and the version in force stays until then. The definition authority signs, and the requester or an admin can Withdraw request.
  • Open a definition to see the Implementations (the dbt metrics with the same name and the business metrics that follow it), each one Conforms or Diverges, with the registered and the implemented value, and the Version history with the signatures of each version. A divergence also opens a metric problem in Issues.
  • Open the Protection tab of a definition to see which data the KPI reads: the Source datasets, the columns cited by the formula, the filters and the linked business metrics and, through column lineage, the ones upstream, up to 20 sources and 200 columns. Each column shows the Active rules and the Last measurement, each source the open issues, and the KPI has a Status: Protected, Partial, Unprotected or Undetermined. A source you cannot access is not shown by name, only counted, and the status stays Undetermined. With a truncated list, the status is never Protected.
  • If you write in the workspace, use Propose rules: it proposes rules from the profile of the last scan and from the rule packs, only on the columns with no rule, with the purpose «Protege o KPI …» filled in. They go to Suggestions and never duplicate an open suggestion. A source that is read-only for you gets no proposals, and the message says how many.
  • If you are an admin, use Import from dbt to create drafts of the dbt semantic layer metrics already imported that are not in the registry yet.
  • Use Analyse now to request a scan of the sources (values are computed on every scan) and, if you are an admin, choose the workspace email, Slack or Teams channels and the frequency of the periodic summary, or Send now.

See also

  • Issues — the data problems the summary cites.
  • Notifications — create the channels that receive the summary.