<?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: Dimension into an expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimension-into-an-expression/m-p/635029#M1094708</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blind guess (it would be better to see your application or at least data model):&lt;/P&gt;&lt;P&gt;You need this result per item, so:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;aggr(&lt;/STRONG&gt;if(Sum([Sales]) &amp;gt; 0, [Item Name] &amp;amp; '*', [Item Name])&lt;STRONG&gt;, [Item Name])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 May 2014 19:39:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-05-15T19:39:59Z</dc:date>
    <item>
      <title>Dimension into an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-into-an-expression/m-p/635027#M1094704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I&lt;SPAN style="font-family: arial black,avant garde; font-size: 12pt;"&gt; need help with an if condition that I am writing in an expression. So, the condition is like this if(Sum(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-family: arial black,avant garde; font-size: 12pt;"&gt;&lt;SPAN style="color: #800000;"&gt;[Sales]&lt;/SPAN&gt;) &amp;gt; 0, &lt;SPAN style="color: #800000;"&gt;[Item Name]&lt;/SPAN&gt; &amp;amp; '*', &lt;SPAN style="color: #800000;"&gt;[Item Name]&lt;/SPAN&gt;). When I write &lt;BR /&gt;this condition I am only getting * not the field &lt;SPAN style="color: #800000;"&gt;"Item Name"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: arial black,avant garde;"&gt;. So, can somebody tell me how to get the field name too in th expression? &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial black,avant garde;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial black,avant garde;"&gt;Don&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 19:17:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-into-an-expression/m-p/635027#M1094704</guid>
      <dc:creator>don_qlikview</dc:creator>
      <dc:date>2014-05-15T19:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension into an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-into-an-expression/m-p/635028#M1094706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and with &lt;/P&gt;&lt;P&gt;maxstring([Item Name]) instead of [Item Name]?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perhaps you have more than 1 item name for every row&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 19:39:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-into-an-expression/m-p/635028#M1094706</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-05-15T19:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension into an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-into-an-expression/m-p/635029#M1094708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blind guess (it would be better to see your application or at least data model):&lt;/P&gt;&lt;P&gt;You need this result per item, so:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;aggr(&lt;/STRONG&gt;if(Sum([Sales]) &amp;gt; 0, [Item Name] &amp;amp; '*', [Item Name])&lt;STRONG&gt;, [Item Name])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 19:39:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-into-an-expression/m-p/635029#M1094708</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-15T19:39:59Z</dc:date>
    </item>
  </channel>
</rss>

