Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Boy do I need help! As of May 2025 Qlik Sense Enterprise on Windows supports Native json as per the following:
Direct JSON file loading: Supports loading .json files directly into Qlik Sense without additional connectors, and interrogation of JSON within a single field, for example out of a database.
I have seen many examples of working with .json files, but have had no luck finding any examples of working with the 'interrogation of JSON within a single field' from a data base.
So, here's what I have:
LOAD *; SELECT
id as specification_id,
name as cam_code,
type as cam_type,
cam_details,
dealer_id as DEALER_SETUP_KEY
FROM cam_specification;
Where 'cam_details' is text formatted as json:
HI,
Can you explain more on this "The kicker is that none of the 'id' fields within the json link to the id of the sql table row."
PFA, I tried to replicate and got the attached output.
Note: Used only two id in json because of excel cell limitation.
Thanks for your response! Regarding your question: Can you explain more on this "The kicker is that none of the 'id' fields within the json link to the id of the sql table row." I mean none of the 'id' values in the json relate to the primary id of the row that the json data belongs to. Here's the schema for the table this comes from:
So there is no 'id' within the json which relates back to the primary key of the table. What I want is to expand the json and append it to the existing table so that the json data will maintain the relationship to its row.