Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
Qlik Connect 2025! Where innovative solutions turn your data visions into reality: REGISTER TODAY
Michael_Tarallo
Employee
Employee

See how powerful FROM_FIELD() is. It helped me extract a simple JSON data structure from a field into it's own dimension table.

This is a simple example that works with flat json, meaning non-nested json hierarchies. However, you can use a combination of other functions like JSONGET() and JSONSET() to extract needed data. More examples on this to follow.

Playlist: https://www.youtube.com/playlist?list=PLW1uf5CQ_gSqF5bcmbBrk1q7Q4-h899V1

Qlik Help:

LOAD() https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegularS...

JSONGET() https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/StringFunction...

 

 

Tags (1)
12 Comments
neerajthakur
Creator III
Creator III

for values containing multiple values like "license_no":[null,"1","2","3"] values in final table is getting converted to some code how to decode it or prevent it from happening.

386 Views
AleMoi
Partner - Contributor
Partner - Contributor

Hi @Michael_Tarallo, can you please explain how to parse a more complex and nested json?
I have a json with multiple fields and one of these is a nested json. The problem is that, using from_field method, i get the field whom contain a json, as a hexadecimal value.
This is an example of my structure:
{
"id": "123",
"sorgente": "ABC",
"tipo": "MANUALE",
"data": "2019-12-30 00:00:00+01:00",
"destinazione": "SX",
"parametri": null,
"files": [
{
"id_file": "123.001",
"file_lavorato": null,
"estensione_file": "PDF",
"documenti": null
}
]
}

251 Views