Ligar ao Excel / Power BI
Liga o Power Query, no Excel ou no Power BI, a tabelas estáveis de scores, problemas, SLO, custos e atividade do workspace, com um token só de leitura. Usa-a para fazeres as tuas análises sem pedir nada à equipa de dados.
O que podes fazer
- Criar um token só de leitura com Criar token para o BI (só os admins do workspace criam tokens), para o poderes revogar sem afetar mais ninguém, ou usar um token existente de Equipa.
- Copiar os parâmetros BaseUrl e DataVaultToken para o Power Query e seguir as indicações da primeira ligação: acesso Anónimo e, no serviço Power BI, «Ignorar teste de ligação».
- Colar a função DataVaultFeed no Editor Avançado; trata da paginação, do token e dos tipos das colunas.
- Escolher um feed (scores, issues, slo, finops, activity ou datasets) e copiar a consulta dele, com a lista de colunas e tipos.
- Consultar o Contrato estável: colunas versionadas que só crescem no fim, limite de linhas por página, 300 pedidos por minuto por token e a opção de receber os dados em CSV.
Ver também
- Equipa — onde estão os tokens de API do workspace.
- Governação — os KPIs do programa, com o scorecard em CSV.
- Ligar o teu agente — o mesmo tipo de token para agentes de código.
English
Connect Excel / Power BI
Connect Power Query, in Excel or Power BI, to stable tables of the workspace's scores, issues, SLO, costs and activity, with a read-only token. Use it to run your own analyses without asking the data team for anything.
What you can do
- Create a read-only token with Create a token for BI (only workspace admins can create tokens), so you can revoke it without affecting anyone else, or use an existing token from Team.
- Copy the BaseUrl and DataVaultToken parameters into Power Query and follow the first-connection steps: Anonymous access and, in the Power BI service, "Skip test connection".
- Paste the DataVaultFeed function into the Advanced Editor; it handles pagination, the token and the column types.
- Pick a feed (scores, issues, slo, finops, activity or datasets) and copy its query, with the list of columns and types.
- Check the Stable contract: versioned columns that are only ever appended at the end, a row limit per page, 300 requests per minute per token and the option to get the data as CSV.
See also
- Team — where the workspace's API tokens live.
- Governance — the programme KPIs, with the scorecard as CSV.
- Connect your agent — the same kind of token for coding agents.