Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
Gartner® Magic Quadrant™: 15 YEARS A LEADER - GET THE REPORT
cancel
Showing results for 
Search instead for 
Did you mean: 
der_buschdoktor
Contributor II
Contributor II

Load statement for a complex, nested JSON-file

Hi ev'ryone,

I'm trying to create a load statement for a json file for the first time in Qlik Sense and ask for your help.
The structure of the json file looks like this:

{
field1:value,
field2:value,
field3:{subfield1:value,
           subfield2:value},
field4:value,
field5:[
           {subfield_a:value,
            subfield_b:value},
           {subfield_a:another value,
            subfield_b:another value}
          ],
field6
}

I would appreciate any help you can offer to create a working load statement.

Thank you 🙂

Labels (1)
1 Solution

Accepted Solutions
NoNameFound
Contributor III
Contributor III

Hi Buschdoktor, 

you might want to consider upgrading to May 2025, works quite well in the load editor. 
See here on how to load json data from a file: https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/working-with-J... 

I know it says Qlik Cloud, but it works on premise now, too.

Below I've attached an arbitrary demo file and a screen-cap of how it is loaded in the load editor. 

When loading like this, Qlik automatically splits nested data into its own table and connects it to the rest of the data through a hash used as a key. 

View solution in original post

6 Replies
NoNameFound
Contributor III
Contributor III

Are you trying to load directly from a file or do you receive the data through the REST connector? 

rafaelencinas
Partner - Creator
Partner - Creator

Hi! 

 

If you are in Qlik Cloud Environment, JSON files are fully supported.

If you are in Qlik Desktop May 2025 patch 1 , its fully supported too.

rafaelencinas_0-1749160749318.png

 

It makes your work easier !

 

Bye!

 

 

 

Senior Qlik Architect
Cobra, Stallone, "You're a problem and I'm the solution"
der_buschdoktor
Contributor II
Contributor II
Author

directly from a file

der_buschdoktor
Contributor II
Contributor II
Author

Hi, we're still on November '24, Patch 8.

NoNameFound
Contributor III
Contributor III

Hi Buschdoktor, 

you might want to consider upgrading to May 2025, works quite well in the load editor. 
See here on how to load json data from a file: https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/working-with-J... 

I know it says Qlik Cloud, but it works on premise now, too.

Below I've attached an arbitrary demo file and a screen-cap of how it is loaded in the load editor. 

When loading like this, Qlik automatically splits nested data into its own table and connects it to the rest of the data through a hash used as a key. 

der_buschdoktor
Contributor II
Contributor II
Author

Thanks for your advice. We will uipdate Qlik Sense next week.