Discussion board where members can learn more about Qlik Sense App Development and Usage.
I have figured how to do what I want, but I don't completely understand how it is working. If there's anyone out there who understands this, I would love for you to explain it to me and let me know if there is any other way to accomplish the same result.
LOAD * INLINE [
SET vTest2= =Concat(location, ', ');
Then in my report I have a table with dimension of ='$(vTest2)'
Which give the result of siteA, siteB, siteC, siteD (or whichever of these are selected)
(I need it to be a table dimension because in my real app, I need to display it as a URL, and my understanding is that only table dimensions can be clickable URLs)
Why do I need the equal sign in the table dimension? This blog post (The Little Equals Sign) says that data can be interpreted as expression or text, and the default varies for different objects.
I have no idea about why. I've seen a lot of strange thing in Sense...
In the official help page, it just says so:
Ok, so I'm making progress. I think I understand this much (there is a follow-up question below):
In the dimension definition: ='$(vTest2)'
Then for the variable: SET vTest2= =Concat(location, ', ');
How can I make this work without any variable or dollar-sign expansion? I've tried defining my dimension as:
But neither of those work.
I can do it without the variable by defining the dimension like this: ='$(=Concat(location, ', '))', but why do I need dollar-sign expansion if I have no variable?
Maybe some Qlik expert can help you with "why" but as a first line developer, I will define a variable in the front (not script) like this:
and then use it to the dimension: