T-SQL query may fail when a scalar user-defined function (UDF) contains an ordered aggregate
Microsoft lists this known issue for Data Warehouse; its status is Active. It was published on 18 November 2026.
Active1 version
Facts
- Microsoft id
2040- Status
- Active
- Products
- Data Warehouse
- Product family
- Data Warehouse
- Status
- Active
- Published
- 18 November 2026
- Issue ID
- 2040
- Status pages
- Microsoft Fabric status
- First captured by us
- Microsoft last modified
- Source
- Microsoft Fabric and Power BI known issues · open the original at Microsoft
Microsoft says
Queries calling a scalar user-defined function (UDF) containing MEDIAN, QUANTILE, PERCENTILE_CONT, PERCENTILE_DISC, or JSON_ARRAYAGG with ORDER BY, may fail during compilation and terminate the connection.
What Microsoft changed
One version so far. If Microsoft edits it, each change shows here with what was removed and added.
v1 First version we captured
As first seen: Active
- Status
- Active
Seen by us · Microsoft's timestamp · Microsoft's page
Incidents around this change
Possible connection
Incidents in the same services that started shortly after this change took effect. A shared service and time is not evidence that the change caused them.
- Microsoft Fabric customers with capacities in West US may have experienced failures or degraded performance while accessing the service. · started · Same service; started 15 hours after it was published
Related changes
Other changes for Microsoft Fabric
- Enable Azure Blob Storage Events Without Compromising Your Tenant Private Links Policy
- On-demand billing for Fabric Data Warehouse (Preview)
- Fabric on-demand billing and Zero-provisioned (F0) Capacity (Preview)
- Tune the performance of your medallion pipeline in Fabric Data Warehouse
- Fabric Developer Experiences: Git Integration - File level commit · Planned
- Fabric Developer Experiences: Git Integration - Branch workspace admin profile · Planned
- Scalar User-defined functions (UDFs) in Microsoft Fabric Data Warehouse (Generally Available)
- IQ: Outbound access protection for Ontology · Planned
Last updated