<?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: EXPRESSION IN FIELD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/EXPRESSION-IN-FIELD/m-p/1237533#M393426</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Mar 2017 07:48:05 GMT</pubDate>
    <dc:creator>muthukumar77</dc:creator>
    <dc:date>2017-03-07T07:48:05Z</dc:date>
    <item>
      <title>EXPRESSION IN FIELD</title>
      <link>https://community.qlik.com/t5/QlikView/EXPRESSION-IN-FIELD/m-p/1237530#M393423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hi&lt;/P&gt;&lt;P&gt;i have a field that contain an expression&lt;/P&gt;&lt;P&gt;i added in the end a sample of my table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my UI i have a screen that i must choose one metric&lt;/P&gt;&lt;P&gt;and in this screen i want to create a chart that the expression of the chart will be the exp field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do it?&lt;/P&gt;&lt;P&gt;is there a way of doing that without a variable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;adi&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); border-image: none; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;metric&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;exp&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;sum(amount)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;avg(amount)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;min(amount)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;x&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cccccccc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 16:02:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXPRESSION-IN-FIELD/m-p/1237530#M393423</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2017-03-06T16:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: EXPRESSION IN FIELD</title>
      <link>https://community.qlik.com/t5/QlikView/EXPRESSION-IN-FIELD/m-p/1237531#M393424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how many metric values you have? change accordingly as you required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take Straight Table&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ValueLoop(1,3)&lt;/STRONG&gt; -- Give name as &lt;STRONG&gt;metric&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression may be using this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(ValueLoop(1,3)=1, Sum(amount), If(ValueLoop(1,3)=2, Avg(amount), If(ValueLoop(1,3)=3, Min(amount))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Match(ValueLoop(1,3),1,2,3), Sum(amount), avg(amount), min(amount))&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 16:06:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXPRESSION-IN-FIELD/m-p/1237531#M393424</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-03-06T16:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: EXPRESSION IN FIELD</title>
      <link>https://community.qlik.com/t5/QlikView/EXPRESSION-IN-FIELD/m-p/1237532#M393425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi. but for this solution i dont need the expression in the field...&lt;/P&gt;&lt;P&gt;the idea is that the expression is dymanic and extract from a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;adi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 07:06:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXPRESSION-IN-FIELD/m-p/1237532#M393425</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2017-03-07T07:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: EXPRESSION IN FIELD</title>
      <link>https://community.qlik.com/t5/QlikView/EXPRESSION-IN-FIELD/m-p/1237533#M393426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 07:48:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXPRESSION-IN-FIELD/m-p/1237533#M393426</guid>
      <dc:creator>muthukumar77</dc:creator>
      <dc:date>2017-03-07T07:48:05Z</dc:date>
    </item>
  </channel>
</rss>

