Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I've developed an P&L application (Profits and Losses), I've used 3 variables on Qlik Sense Desktop and they worked fine.
But when I uploaded the document to the server, the variables aren't working anymore.
Anyone can help me?
Hi,
I've figured out a way to make it work.
I had to declare the variables through script again, the variables created by the wizard on Qlik Sense Desktop do not work when accessing through the browser.
Are you referencing any file locations in your variables that might have changed during the move to a server environment?
Hi Vinicius
Do you use an extension in QSense Desktop such as Qsvariable ?
If yes , this extension must also be installed on server to work properly
Regards
Bruno
Hello,
I don't have any extensions.
The QVF is attached in this post.
Hi,
I'm not referencing to file locations, these are the definition of the three variables:
v_Ano = Ano-1
-------------------
v_Mes =
if(Mês = 1, 12,
Mês-1)
-------------------
v_MesAtual = GetFieldSelections(Mês)
Hi
Not sure but could you test your mesure by changing doublequote with single quote :
this with single quote '
(sum(Percentual))
-
(
if(Mês = 1,
sum({<Mês={'$(=$(v_Mes))' },Ano = {'$(=$(v_Ano))'} >} Percentual),
sum({<Mês={'$(=$(v_Mes))'} >} Percentual)
)
)
(sum(Percentual))
-
(
if(Mês = 1,
rather than double quote "
sum({<Mês={"$(=$(v_Mes))" },Ano = {"$(=$(v_Ano))" } >} Percentual),
sum({<Mês={"$(=$(v_Mes))" } >} Percentual)
)
)
Still no success Bruno.
I also tried to create a variable with a single text and the text doesn't appear when accessing through the browser.
Hi,
I've figured out a way to make it work.
I had to declare the variables through script again, the variables created by the wizard on Qlik Sense Desktop do not work when accessing through the browser.
Yes i saw in late in your script the // in front of your variable déclaration
Yes, I've added the comments because the variables were created by the Variable Wizard.