Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
ac1dr41n
Contributor
Contributor

Creating measures and dimensions using qlik-cli

We are moving our on-premises Qlik setup to Qlik SaaS. We've successfully imported all our apps to Qlik Saas, and now we are attempting to add all our measures and dimensions using the qlik-cli.

We have been able to get the qlik-cli installed and working, but we are struggling with how to create measures and dimensions.  Based on the command-line help,  they are obviously created like this:

qlik app measure set ./measure.json -a <app-id>

The problem is we don't know the correct format of the json file.  

We already found this link, but even the example doesn't work because its missing pieces of the json:

https://help.qlik.com/en-US/sense-developer/June2020/Subsystems/Mashups/Content/Sense_Mashups/Create...

We are able adjust that json to add the missing pieces and actually run the command, and a measure gets created in the app. But the measure that gets created has no label, no definition, and is basically non-functional, so obviously our json is not correct.

Is there an example of how to properly create measures and dimensions? I think we just need to get the format of the json correctly, but there is surprisingly limited documentation on this.

Labels (2)
0 Replies