Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello all,
I use qlik cloud. I have two spaces with two seperate data sources (one for DEV and one for PRD ). The data are similar and I want to use the same dashboard in both the spaces and the dashboard to display based on the connected data. Could you help me in this ? Is it possible. One space is shared space and one space is managed space.
How can I change the lib connect statement ?
Not sure what you mean by "Based on the connected data".
You can load from two different environments, e.g.
Load *, 'PRD' From SomePlace (Prod);
Load *, 'DEV' From SomePlace (Dev);
And then use a filter (ideally with Always One Selected to avoid confusion) in your app.
You can also use a variable to determine which one to load, but this is not something users will be able to do on the fly since the app is already loaded by the time they access it. See e.g.
Hello,
I meant based on the data connection. I want my script to load the data by checking which server it is connected to.
for eg. dev is connected to data connection x.
prd to y, i want the app to recognize the connection by an if statement and load the data accordingly.
Then you'll want the link at the end of my post (You can also search for this, there are other threads about the same question with perhaps more details).