Microsoft Fabric Updates Blog

Announcing improved JSON support in Fabric DW

We’ve improved the JSON support in Fabric Datawarehouse (Fabric DW) and have added the following features in Fabric DW:

  • Fabric DW enables you to use FOR JSON query option that formats the query results as JSON text. This was one of the features that is requested on Microsoft Fabric Idea site.
  • Fabric DW enables you to use all JSON scalar functions that can also be used in Azure SQL database. In addition to the existing JSON scalar functions (ISJSON, JSON_VALUE, JSON_QUERY, and JSON_MODIFY), we have added support for the latest JSON functions that exist in Azure SQL Database – JSON_PATH_EXISTS, JSON_OBJECT, and JSON_ARRAY.

The JSON_PATH_EXIST function checks if there is a value on the given path in JSON text. The JSON_OBJECT and JSON_ARRAY functions enable you to more easily create JSON objects or arrays based on a set of scalar values without a need to concatenate and escape the values to produce a properly formatted JSON text.

In the following example you can see the new approach that you can use to create JSON objects in the queries:

Formatting without JSON_OBJECTFormatting with JSON_OBJECT
SELECT
     CONCAT('{"name:"', name, '",
              "size":"', size,'",
              "color":"', color,'"}')
FROM Product
SELECT
     JSON_OBJECT('name':name,
                 'size': size,
                 'color': color)
FROM Product
Formatting the vales in the rows as JSON

With the new approach, you don’t need to worry about pairing curly brackets and quotes to properly format JSON objects, and you don’t need to ensure that you are properly escaping the values before you concatenate them.

In addition to the new functionalities, we have enabled you to use the OPENROWSET function with CROSS/OUTER APPLY operator. This was one of the feature requests asked in Microsoft Fabric Idea site.

With these improvements, the JSON support in Azure SQL database and Fabric DW is aligned. You can easily migrate code between Azure SQL database and Fabric without the need to rewrite and modify your T-SQL logic.

Zugehörige Blogbeiträge

Announcing improved JSON support in Fabric DW

Juni 11, 2025 von Eren Orbey

Earlier this year, we released AI functions in public preview, allowing Fabric customers to apply LLM-powered transformations to OneLake data simply and seamlessly, in a single line of code. Since then, we’ve continued iterating on AI functions in response to your feedback. Let’s explore the latest updates, which make AI functions more powerful, more cost-effective, … Continue reading “Introducing upgrades to AI functions for better performance—and lower costs”

Juni 2, 2025 von Kim Manis

The Microsoft Fabric Community Conference is back for its third year—and we’re bringing everything and everybody you’ve loved at past events with us to Atlanta, Georgia. After unforgettable experiences at FabCon in Las Vegas and Stockholm, the Fabric community proved just how powerful it can be when we come together. With more than 13,000 attendees across our last three conferences, it’s clear: the Microsoft Fabric community is here to drive the future of data!    And yes, we’re pleased to announce; it’s happening again! Mark your calendars … Continue reading “Microsoft Fabric Community Conference Comes to Atlanta!”