Hello,
I'm surprised nobody posted this idea before.
I would like to create the master dimension and measure from the script, just like we can create variable. Why?
1/this allows to centralize the master items definition in a file, easy to share between app, etc.
2/ in script, you can do some check on the consistency of the items with the model, helping to build more robust items.
![image.png image.png](https://community.qlik.com/t5/image/serverpage/image-id/33472i0BB005C695B87855/image-size/large?v=v2&px=999)
Best regards,
Simon
Bi Consultant (Dataviz & Dataprep) @ Business & Decision