Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to get Model Name

Hi guys,

Can you please let me know how do I get the name of the model I am in.

What we need to do is based on the model name load from a different set of qvd's.

We have 2 models. One is called Model1 and the other one called Model1 (Full Version). Both these models look and are exactly the same but the one model loads from one set of qvd's which is a subset of the other models qvd's.

So I want to create a variable inside this model that determine what the model name is and based on that execute a different load statement from a different qvd, meaning that if I make changes to one model I can simply overide the other model and update it and it will have the correct data set in it.

I hope I am clear.

Thanks,
Marius

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Are you looking for system function DocumentName( ) ?

DocumentName( )

Returns a string containing the name of the current QlikView document, without path but with extension.

View solution in original post

2 Replies
swuehl
MVP
MVP

Are you looking for system function DocumentName( ) ?

DocumentName( )

Returns a string containing the name of the current QlikView document, without path but with extension.

Not applicable
Author

Awesome. Thanks.