<?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 Re: Conditional Show/Hide of Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-Show-Hide-of-Expression/m-p/681434#M247047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Theo, conditional expression enables or disables the expression for all the table, if you want certains cells to not calculate the results you should put the conditions inside the expression, ie:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(ValueList('Range', 'YTD', 'Previous YTD')='Previous YTD', Sum([Sales Previous YTD]),&lt;/P&gt;&lt;P&gt;if(ValueList('Range', 'YTD', 'Previous YTD')='Range', Sum([Sales Range]),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(ValueList('Range', 'YTD', 'Previous YTD')='YTD', Sum([Sales YTD]))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Sep 2014 10:04:34 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2014-09-24T10:04:34Z</dc:date>
    <item>
      <title>Conditional Show/Hide of Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Show-Hide-of-Expression/m-p/681433#M247046</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;I have this value list in my pivot.&lt;/P&gt;&lt;P&gt;= ValueList('Range', 'YTD', 'Previous YTD')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are a few expression. I only want to show certain ones depending on the value in the value list.&lt;/P&gt;&lt;P&gt;In other words I want to show all expressions that are YTD related to show under YTD and the previous year's expressions under 'Previous YTD' and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the expression tab I have conditional enabled on a expression and this is my condition&lt;/P&gt;&lt;P&gt;if(ValueList('Range', 'YTD', 'Previous YTD')='Previous YTD',1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It hides the expression on all of the values and if I change the 1 and 0 around it shows it on all of the values.&lt;/P&gt;&lt;P&gt;I don't understand why its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;created another expression with if(ValueList('Range', 'YTD', 'Previous YTD')='Previous YTD',1,0) just to see what value it gives me and it does Range = 0, Previous YTD = 1 and&amp;nbsp; YTD = 0. So it does work!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Theo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 09:41:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Show-Hide-of-Expression/m-p/681433#M247046</guid>
      <dc:creator />
      <dc:date>2014-09-24T09:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Show/Hide of Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Show-Hide-of-Expression/m-p/681434#M247047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Theo, conditional expression enables or disables the expression for all the table, if you want certains cells to not calculate the results you should put the conditions inside the expression, ie:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(ValueList('Range', 'YTD', 'Previous YTD')='Previous YTD', Sum([Sales Previous YTD]),&lt;/P&gt;&lt;P&gt;if(ValueList('Range', 'YTD', 'Previous YTD')='Range', Sum([Sales Range]),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(ValueList('Range', 'YTD', 'Previous YTD')='YTD', Sum([Sales YTD]))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 10:04:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Show-Hide-of-Expression/m-p/681434#M247047</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-09-24T10:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Show/Hide of Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Show-Hide-of-Expression/m-p/681435#M247048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ruben! That worked, not sure why I got stuck in my thinking!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 12:09:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Show-Hide-of-Expression/m-p/681435#M247048</guid>
      <dc:creator />
      <dc:date>2014-09-24T12:09:26Z</dc:date>
    </item>
  </channel>
</rss>

