<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Use an expression, without display it in graph in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-an-expression-without-display-it-in-graph/m-p/213423#M67168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found I have to set my variables not in the loading script, but in the properties of the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jan 2010 11:33:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-18T11:33:17Z</dc:date>
    <item>
      <title>Use an expression, without display it in graph</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-expression-without-display-it-in-graph/m-p/213417#M67162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I'm developing my QV application, I use a graph (table) having many expressions like this :&lt;/P&gt;&lt;P&gt;Exp1 = a long expression&lt;BR /&gt;Exp2 = a very long expression&lt;BR /&gt;Exp3 = a very very long expression&lt;BR /&gt;TOTAL = [Exp1] + [Exp2] / [Exp3]&lt;/P&gt;&lt;P&gt;This allows me to verify that every step of my formula are right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for the production, I don't want to display the "Exp1", "Exp2" and "Exp3", only the "TOTAL" is interesting.&lt;/P&gt;&lt;P&gt;I would like to hide the columns, but I want the expressions still calculated.&lt;/P&gt;&lt;P&gt;If I uncheck "active" on an expression, the column is no more displayed, but the value of "[Exp1]" has no more value, so the "TOTAL" column is false.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My only solution is to replace&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;TOTAL = [Exp1] + [Exp2] / [Exp3]&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;TOTAL = a long expression + a very long expression / a very very long expression&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;but it's not really "human readable".&lt;/P&gt;&lt;P&gt;Is there a solution to have an expression active but hidden ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2010 10:42:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-expression-without-display-it-in-graph/m-p/213417#M67162</guid>
      <dc:creator />
      <dc:date>2010-01-15T10:42:00Z</dc:date>
    </item>
    <item>
      <title>Use an expression, without display it in graph</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-expression-without-display-it-in-graph/m-p/213418#M67163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;if you have a straight table go to properties and "Hide Column".&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2010 10:57:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-expression-without-display-it-in-graph/m-p/213418#M67163</guid>
      <dc:creator />
      <dc:date>2010-01-15T10:57:22Z</dc:date>
    </item>
    <item>
      <title>Use an expression, without display it in graph</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-expression-without-display-it-in-graph/m-p/213419#M67164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, I'm using a "cross table".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2010 11:18:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-expression-without-display-it-in-graph/m-p/213419#M67164</guid>
      <dc:creator />
      <dc:date>2010-01-15T11:18:22Z</dc:date>
    </item>
    <item>
      <title>Use an expression, without display it in graph</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-expression-without-display-it-in-graph/m-p/213420#M67165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;and if you define your expressions as variables like:&lt;/P&gt;&lt;P&gt;SET varEXP1 = YourLongExpression;&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2010 11:29:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-expression-without-display-it-in-graph/m-p/213420#M67165</guid>
      <dc:creator />
      <dc:date>2010-01-15T11:29:21Z</dc:date>
    </item>
    <item>
      <title>Use an expression, without display it in graph</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-expression-without-display-it-in-graph/m-p/213421#M67166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK.&lt;/P&gt;&lt;P&gt;It was what I though at first, but after a quick try, it didn't worked and I made this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you said the same thing, I tried depper. After several tries (SET / LET / with quotes / without quotes / =[VARNAME] / =$([VARNAME] / ...), I found the correct syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my load script, I set for instance :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;SET [TEST Toto] = if(varCountMois = 1, sum({$} [Cumul Marché]), '-');&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;(no quotes surrounding the expression)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my graph, I use :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;=$(#TEST Toto)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;(&lt;B&gt;no brackets&lt;/B&gt; !!!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the result is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you ! &lt;IMG alt="Yes" src="http://community.qlik.com/emoticons/emotion-21.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2010 15:12:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-expression-without-display-it-in-graph/m-p/213421#M67166</guid>
      <dc:creator />
      <dc:date>2010-01-15T15:12:49Z</dc:date>
    </item>
    <item>
      <title>Use an expression, without display it in graph</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-expression-without-display-it-in-graph/m-p/213422#M67167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This solution does not work everytime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If in my graph, I set the following expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=sum({$&amp;lt;[Year]={$(#=Only(Year)-1)}&amp;gt;} [Incoming])&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;, I have a correct value displayed. &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;If in my script, I set the following variable :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SET varFooBar =sum({$&amp;lt;[Year]={$(#=Only(Year)-1)}&amp;gt;} [Incoming]);&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;and in my graph &lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=$(varFooBar)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;I have no more values displayed. &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I think there is a problem where I use other variables / formulas in my formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 11:05:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-expression-without-display-it-in-graph/m-p/213422#M67167</guid>
      <dc:creator />
      <dc:date>2010-01-18T11:05:27Z</dc:date>
    </item>
    <item>
      <title>Use an expression, without display it in graph</title>
      <link>https://community.qlik.com/t5/QlikView/Use-an-expression-without-display-it-in-graph/m-p/213423#M67168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found I have to set my variables not in the loading script, but in the properties of the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 11:33:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-an-expression-without-display-it-in-graph/m-p/213423#M67168</guid>
      <dc:creator />
      <dc:date>2010-01-18T11:33:17Z</dc:date>
    </item>
  </channel>
</rss>

