Fabric Data Warehouse ganha QUALIFY, GROUP BY ALL e novas funções estatísticas
As melhorias de T-SQL apresentadas no FabCon Europe 2026 deixam as consultas mais curtas e legíveis. Veja o que entrou em preview e como isso ajuda o seu time.
Atalhos de teclado não mudam o que você consegue fazer, mas mudam quanto tempo você leva. Algo parecido vale para a linguagem SQL: certas construções fazem a mesma coisa com menos texto e menos chance de erro. No FabCon Europe 2026, a Microsoft apresentou, em preview, melhorias de T-SQL no Fabric Data Warehouse e no endpoint de análise SQL que seguem essa linha.
As principais são as cláusulas GROUP BY ALL e ORDER BY ALL e a cláusula QUALIFY. Com GROUP BY ALL, você deixa de repetir na agregação todas as colunas já listadas no SELECT. Com ORDER BY ALL, ordena por todas as colunas selecionadas. E o QUALIFY permite filtrar o resultado de funções de janela direto na consulta, sem criar uma subconsulta só para isso. Também há suporte a um formato de consulta que começa pelo FROM, no estilo FROM ... SELECT.
Entre as funções, a cobertura cita MEDIAN, QUANTILE, APPROX_MEDIAN e APPROX_QUANTILE, em preview, e informa que PERCENTILE_CONT e PERCENTILE_DISC passam a aceitar a sintaxe de agregação. As versões aproximadas costumam ser úteis em tabelas grandes, em que um valor muito próximo do exato, calculado mais rápido, atende bem a análise exploratória.
O ganho mais claro está na manutenção. Consultas mais curtas são mais fáceis de revisar, e o QUALIFY elimina um padrão comum e repetitivo, o de uma subconsulta apenas para pegar a primeira linha de cada grupo. Para quem está migrando relatórios de outro data warehouse, essas construções também facilitam a tradução, porque alguns outros motores já oferecem recursos parecidos.
Como são recursos em preview, o caminho prudente é usar primeiro em consultas exploratórias e em ambientes de teste, e evitar colocá-los em rotinas de produção até que o status mude. Vale também combinar com o time um padrão de escrita, para que a consulta mais curta não vire uma consulta diferente em cada mão.
Fonte: cobertura do FabCon Europe 2026 publicada pela ProcureSQL em 5 de outubro de 2026. O recurso está em preview, então confirme status e disponibilidade na documentação da Microsoft antes de planejar um uso em produção.
A Maraca Hub, parceira Microsoft e especialista em Microsoft Fabric, ajuda empresas a avaliar recursos novos com critério, de um piloto controlado à governança e ao treinamento dos times. Se a sua empresa já usa ou pretende adotar o Fabric, vale uma conversa.
Fabric Data Warehouse Gains QUALIFY, GROUP BY ALL and New Statistical Functions
The T-SQL enhancements presented at FabCon Europe 2026 make queries shorter and more readable. See what entered preview and how this helps your team.
Keyboard shortcuts do not change what you can do, but they change how long you take. Something similar holds for the SQL language: certain constructs do the same thing with less text and less chance of error. At FabCon Europe 2026, Microsoft introduced, in preview, T-SQL enhancements in Fabric Data Warehouse and the SQL analytics endpoint that follow this line.
The main ones are the GROUP BY ALL and ORDER BY ALL clauses and the QUALIFY clause. With GROUP BY ALL, you stop repeating in the aggregation all the columns already listed in the SELECT. With ORDER BY ALL, you sort by all selected columns. And QUALIFY lets you filter the result of window functions right in the query, without creating a subquery just for that. There is also support for a query format that starts with FROM, in the FROM ... SELECT style.
Among functions, the coverage cites MEDIAN, QUANTILE, APPROX_MEDIAN and APPROX_QUANTILE, in preview, and says PERCENTILE_CONT and PERCENTILE_DISC now accept aggregate syntax. The approximate versions tend to be useful on large tables, where a value very close to exact, calculated faster, serves exploratory analysis well.
The clearest gain is in maintenance. Shorter queries are easier to review, and QUALIFY removes a common repetitive pattern, a subquery just to pick the first row of each group. For those migrating reports from another data warehouse, these constructs also ease translation, because some other engines already offer similar features.
Since these are preview features, the prudent path is to use them first in exploratory queries and test environments, and avoid putting them in production routines until the status changes. It is also worth agreeing on a writing standard with the team, so the shorter query does not become a different query in every hand.
Source: FabCon Europe 2026 coverage published by ProcureSQL on October 5, 2026. The feature is in preview, so confirm status and availability in Microsoft documentation before planning production use.
Maraca Hub, a Microsoft partner and Microsoft Fabric specialist, helps companies evaluate new features with discipline, from a controlled pilot to governance and team training. If your company already uses or plans to adopt Fabric, a conversation is worthwhile.