Native analytical and statistical functions in Fabric Warehouse
Microsoft Fabric Data Warehouse and the SQL analytics endpoint now support built-in analytical and statistical aggregation functions.
O que mudou
Use cases
Imagine you need to calculate medians, standard deviations, or approximate percentiles directly on your lakehouse tables without complex subqueries. Built-in analytical functions bring native statistical capabilities to the SQL engine.
- Calculate descriptive statistics such as average, median, variance, and standard deviation.
- Perform approximate counts and percentiles using memory-efficient algorithms.
- Concatenate text values from multiple rows into a single string.
How to use
Run aggregate functions directly within your SQL queries in your preferred editor.
SELECT
department,
AVG(salary) AS avg_salary,
APPROX_MEDIAN(salary) AS median_salary,
STDEV(salary) AS salary_stdev
FROM
my_warehouse.dbo.employees
GROUP BY
department;
What happens in this code:
- The query groups employee records by department.
- The
AVGfunction calculates the arithmetic mean of salaries. - The
APPROX_MEDIANfunction efficiently estimates the salary median. - The
STDEVfunction computes the sample standard deviation of salaries per group.
Limitations and requirements
- Available in Public Preview.
- Supported in Microsoft Fabric Warehouse and the SQL analytics endpoint.
- Except for
COUNT(*), aggregate functions ignoreNULLvalues. - Functions such as
APPROX_MEDIANandAPPROX_QUANTILEare nondeterministic.
- fabric
- warehouse
- sql
- analytics
- aggregate functions
Warehouse analytical functions (Preview)
Resumo e explicação gerados por IA a partir da release note oficial. Em caso de dúvida, a documentação oficial da plataforma prevalece.
Relacionadas
- Microsoft FabricGA
Fabric IQ leva dados do Power BI para o Microsoft 365 Copilot
O Fabric IQ agora está disponível de forma geral no Microsoft 365 Copilot, respondendo perguntas de negócio com relatórios e modelos semânticos governados.
fabric iq · microsoft 365 copilot - Microsoft FabricGA
Nomes customizados de captura no SQL CDC para Copy jobs
Use tabelas CDC existentes com nomes fora do padrão padrão nos seus Copy jobs do Microsoft Fabric.
sql · cdc - Microsoft FabricGA
Monitore o status e a saúde de copy jobs em um só lugar
Acompanhe o status de execução, vazão e tendências de saúde de copy jobs de forma centralizada.
microsoft fabric · copy job