<?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 expression in Straight Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-expression-in-Straight-Table/m-p/1580008#M456737</link>
    <description>&lt;P&gt;Would you be able to show this using an example?&lt;/P&gt;</description>
    <pubDate>Tue, 14 May 2019 15:21:16 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-05-14T15:21:16Z</dc:date>
    <item>
      <title>Conditional expression in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-in-Straight-Table/m-p/1579993#M456734</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;i want to use a conditional in one of the expressions of my straight table.&lt;/P&gt;&lt;P&gt;I want the metric appear or disappear depending on the field, example&lt;/P&gt;&lt;P&gt;if i have vendor=1 i want the expression to make a sum(), so as if i have vendor=2 but if i have vendor=3 i want to appear nothing like ' '.&lt;/P&gt;&lt;P&gt;I used this expression(obviously didn't work):&amp;nbsp;=if(Vendor= '1', sum([metric_1]), if(Vendor= '2', sum([metric_1]), ' '))&lt;/P&gt;&lt;P&gt;I tried backwards as: =if(Vendor= '3', ' ', sum([metric_1]))&lt;/P&gt;&lt;P&gt;didn't work either.&lt;/P&gt;&lt;P&gt;I hope you could help me!&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:35:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-in-Straight-Table/m-p/1579993#M456734</guid>
      <dc:creator>s_herrera_pugli</dc:creator>
      <dc:date>2024-11-16T03:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional expression in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-in-Straight-Table/m-p/1579995#M456735</link>
      <description>&lt;P&gt;Try this instead&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum({&amp;lt;Vendor = {'1', '2'}&amp;gt;}[metric_1])&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 14 May 2019 14:55:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-in-Straight-Table/m-p/1579995#M456735</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-05-14T14:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional expression in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-in-Straight-Table/m-p/1580005#M456736</link>
      <description>&lt;P&gt;sill doesn't work, it shows the same for all the fields (the sum of the expression) despite the vendor&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 15:17:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-in-Straight-Table/m-p/1580005#M456736</guid>
      <dc:creator>s_herrera_pugli</dc:creator>
      <dc:date>2019-05-14T15:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional expression in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-in-Straight-Table/m-p/1580008#M456737</link>
      <description>&lt;P&gt;Would you be able to show this using an example?&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 15:21:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-in-Straight-Table/m-p/1580008#M456737</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-05-14T15:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional expression in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-in-Straight-Table/m-p/1580031#M456738</link>
      <description>Have your checked the spelling?&lt;BR /&gt;&lt;BR /&gt;If you are making selections to vendor then you could adjust &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt; expression like this.&lt;BR /&gt;Sum({&amp;lt;Vendor *= {'1', '2'}&amp;gt;}[metric_1])</description>
      <pubDate>Tue, 14 May 2019 15:47:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-in-Straight-Table/m-p/1580031#M456738</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-05-14T15:47:32Z</dc:date>
    </item>
  </channel>
</rss>

