<?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 Straight table conditional value doesn't work in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Straight-table-conditional-value-doesn-t-work/m-p/1051205#M352839</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 am trying to achieve the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show records were two fields in the same record differs.&lt;/P&gt;&lt;P&gt;For this I am using a condtional validation construction like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(inc_Aantal_bon)&amp;lt;&amp;gt;num(inc_Antal_art)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so the fields compared are inc_Aantal_bon with inc_Antal_art when these differ I want to show them.&lt;/P&gt;&lt;P&gt;I put them on the dimension and on the expression as conditional value like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-05-01 17_59_27-QlikView x64 Personal Edition - [D__klant_Blokker_Qlikview_BRS_BRS_all.qvw_].png" class="jive-image image-1" src="/legacyfs/online/123211_2016-05-01 17_59_27-QlikView x64 Personal Edition - [D__klant_Blokker_Qlikview_BRS_BRS_all.qvw_].png" style="height: 440px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-05-01 18_00_13-QlikView x64 Personal Edition - [D__klant_Blokker_Qlikview_BRS_BRS_all.qvw_].png" class="jive-image image-2" src="/legacyfs/online/123218_2016-05-01 18_00_13-QlikView x64 Personal Edition - [D__klant_Blokker_Qlikview_BRS_BRS_all.qvw_].png" style="height: 462px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The result of this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="2016-05-01 18_00_32-QlikView x64 Personal Edition - [D__klant_Blokker_Qlikview_BRS_BRS_all.qvw_].png" class="jive-image image-3" src="/legacyfs/online/123219_2016-05-01 18_00_32-QlikView x64 Personal Edition - [D__klant_Blokker_Qlikview_BRS_BRS_all.qvw_].png" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;So I got rows were both are equal. I played with it for hours but can't figure out why.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I hope you can help me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 01 May 2016 16:11:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-05-01T16:11:32Z</dc:date>
    <item>
      <title>Straight table conditional value doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-conditional-value-doesn-t-work/m-p/1051205#M352839</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 am trying to achieve the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show records were two fields in the same record differs.&lt;/P&gt;&lt;P&gt;For this I am using a condtional validation construction like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(inc_Aantal_bon)&amp;lt;&amp;gt;num(inc_Antal_art)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so the fields compared are inc_Aantal_bon with inc_Antal_art when these differ I want to show them.&lt;/P&gt;&lt;P&gt;I put them on the dimension and on the expression as conditional value like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-05-01 17_59_27-QlikView x64 Personal Edition - [D__klant_Blokker_Qlikview_BRS_BRS_all.qvw_].png" class="jive-image image-1" src="/legacyfs/online/123211_2016-05-01 17_59_27-QlikView x64 Personal Edition - [D__klant_Blokker_Qlikview_BRS_BRS_all.qvw_].png" style="height: 440px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-05-01 18_00_13-QlikView x64 Personal Edition - [D__klant_Blokker_Qlikview_BRS_BRS_all.qvw_].png" class="jive-image image-2" src="/legacyfs/online/123218_2016-05-01 18_00_13-QlikView x64 Personal Edition - [D__klant_Blokker_Qlikview_BRS_BRS_all.qvw_].png" style="height: 462px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The result of this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="2016-05-01 18_00_32-QlikView x64 Personal Edition - [D__klant_Blokker_Qlikview_BRS_BRS_all.qvw_].png" class="jive-image image-3" src="/legacyfs/online/123219_2016-05-01 18_00_32-QlikView x64 Personal Edition - [D__klant_Blokker_Qlikview_BRS_BRS_all.qvw_].png" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;So I got rows were both are equal. I played with it for hours but can't figure out why.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I hope you can help me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 May 2016 16:11:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-conditional-value-doesn-t-work/m-p/1051205#M352839</guid>
      <dc:creator />
      <dc:date>2016-05-01T16:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table conditional value doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-conditional-value-doesn-t-work/m-p/1051206#M352840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you don't need a conditional statement. You need a calculated dimension here. Replace your dimension &lt;STRONG&gt;inc_BonNr&lt;/STRONG&gt; with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Num(inc_Aantal_bon) &amp;lt;&amp;gt; Num(inc_Antal_art), inc_BonNr)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and make sure to select '&lt;STRONG&gt;Suppress When Value Is Null&lt;/STRONG&gt;' to suppress Null Value in dimensions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 May 2016 16:45:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-conditional-value-doesn-t-work/m-p/1051206#M352840</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-01T16:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table conditional value doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-table-conditional-value-doesn-t-work/m-p/1051207#M352841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Conditional option is to show or hide the expression column altogether. It operates at the chart level, not the row level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;This expression: =num(inc_Aantal_bon)&amp;lt;&amp;gt;num(inc_Antal_art) is a boolean test. It returns either true or false. And since it's not aggregated over a dimension it doesn't return anything.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using inc_BonNr as dimension and as expressions&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Aantal bon: =if(inc_Aantal_bon &amp;lt;&amp;gt; inc_Antal_art, inc_Aantal_bon)&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Aantal art: =if(inc_Aantal_bon &amp;lt;&amp;gt; inc_Antal_art, inc_Aantal_art)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Actually, a bit nicer is to not use the If statement at all, but another way to filter the relevant inc_BonNr values:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Aantal bon: only({&amp;lt;inc_BonNr={'=inc_Aantal_bon&amp;lt;&amp;gt;inc_Antal_art'}&amp;gt;}inc_Aantal_bon)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Aantal art: only({&amp;lt;inc_BonNr={'=inc_Aantal_bon&amp;lt;&amp;gt;inc_Antal_art'}&amp;gt;}inc_Aantal_art)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;These kinds of statements are called set analysis expressions. The part &lt;SPAN style="font-size: 13.3333px;"&gt;{&amp;lt;inc_BonNr={'=inc_Aantal_bon&amp;lt;&amp;gt;inc_Antal_art'}&amp;gt;} selects only those inc_BonNr values where &lt;SPAN style="font-size: 13.3333px;"&gt;inc_Aantal_bon is not equal to inc_Antal_art.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 May 2016 16:50:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-table-conditional-value-doesn-t-work/m-p/1051207#M352841</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-05-01T16:50:02Z</dc:date>
    </item>
  </channel>
</rss>

