This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi PBI Community,
I need some assistance, I am trying to parse JSON out of a column. The current connection type is Direct query to an SQL server. Unfortunatly because of this connection type i cannot use the "transform function" in the query editor to quickly parse out the JSON.
What options do i have while still remaining connected via direct query?
Data looks like
Solved! Go to Solution.
@Anonymous,
Instead of parsing JSON in Power BI Desktop, using SQL statement to combine relational rows and JSON elements with CROSS APPLY and OPENJSON() functions during the import process, then import all the data.
For moredetails about query JSON data using T-SQL, please review the following articles.
https://docs.microsoft.com/en-us/sql/t-sql/functions/openjson-transact-sql
https://sqlwithmanoj.com/2015/11/02/store-json-data-in-a-table-openjson-and-json_value-functions-sql-server-2016-part-4/
Regards,
Lydia
To clarify the direction I took for any readers of this in the future, I ended up switching the data connection type to import in order to gain full power query and dax functionality which will enable me to use "Path" and "Pathitem".
Cheers
@Anonymous,
Instead of parsing JSON in Power BI Desktop, using SQL statement to combine relational rows and JSON elements with CROSS APPLY and OPENJSON() functions during the import process, then import all the data.
For moredetails about query JSON data using T-SQL, please review the following articles.
https://docs.microsoft.com/en-us/sql/t-sql/functions/openjson-transact-sql
https://sqlwithmanoj.com/2015/11/02/store-json-data-in-a-table-openjson-and-json_value-functions-sql-server-2016-part-4/
Regards,
Lydia
Hi,
I have same problem but we are using DirectQuery into BigQuery tables, which I don't have access to how the column is parsed. Is there some other solution to working with JSON in a DirectQuery column, apart from string manipulation in DAX?
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.