<?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: Variable as a Field in Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-as-a-Field-in-Table/m-p/629564#M543682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's really berliant! I have to test this tomorrow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that this will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the only problem is performace, becuse my table is relativ big and vars are long. I'm not sure how long can be the strings in QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards - Peyman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 May 2014 17:21:04 GMT</pubDate>
    <dc:creator>azimabadi</dc:creator>
    <dc:date>2014-05-12T17:21:04Z</dc:date>
    <item>
      <title>Variable as a Field in Table</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-as-a-Field-in-Table/m-p/629560#M543678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; 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;LineNr&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;P&gt;&lt;STRONG&gt;myVar&lt;/STRONG&gt;&lt;/P&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Sum( {&amp;lt;Tbl1.Field_1={"10"}&amp;gt;} Value )&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;Sum( {&amp;lt;Tbl1.Field_1={"75"}&amp;gt;} Value )&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;Sum( {&amp;lt;Tbl1.Field_1={"130"}&amp;gt;} Value )&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i need to have a Table Diagramm and calculate the value of field "myVar" in my table as a cilumn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried expressions like $(myVar) , $($(myVar)) , $($(=Only(myVar)) , ..... but none of them calculate the experssion!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody has an idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks - Peyman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 10:18:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-as-a-Field-in-Table/m-p/629560#M543678</guid>
      <dc:creator>azimabadi</dc:creator>
      <dc:date>2014-05-12T10:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Variable as a Field in Table</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-as-a-Field-in-Table/m-p/629561#M543679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the dimension? If your table is a data island, chances are that when you use myVar in a chart (table diagram) a Cartesian product is created: Every field will associate with every variable/formula. This means that the expression has no idea which field in myVar to evaluate thus returning null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are trying to create a table with KPI, try working with ValueList() or ValueLoop() instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 10:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-as-a-Field-in-Table/m-p/629561#M543679</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2014-05-12T10:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Variable as a Field in Table</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-as-a-Field-in-Table/m-p/629562#M543680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the LineNr is my Dim. and i have considerd the point you hav mentioned in my set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Problem is to calculate the content of a filed as an experssion in my table diagramm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards - Peyman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 10:29:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-as-a-Field-in-Table/m-p/629562#M543680</guid>
      <dc:creator>azimabadi</dc:creator>
      <dc:date>2014-05-12T10:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Variable as a Field in Table</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-as-a-Field-in-Table/m-p/629563#M543681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should work as an expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Pick&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;myVar&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=Chr(39)&amp;amp; Concat(myVar, Chr(39)&amp;amp;','&amp;amp;Chr(39),LineNr) &amp;amp; Chr(39))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=Concat(myVar,',',LineNr))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 13:32:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-as-a-Field-in-Table/m-p/629563#M543681</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2014-05-12T13:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Variable as a Field in Table</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-as-a-Field-in-Table/m-p/629564#M543682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's really berliant! I have to test this tomorrow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that this will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the only problem is performace, becuse my table is relativ big and vars are long. I'm not sure how long can be the strings in QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards - Peyman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 17:21:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-as-a-Field-in-Table/m-p/629564#M543682</guid>
      <dc:creator>azimabadi</dc:creator>
      <dc:date>2014-05-12T17:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variable as a Field in Table</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-as-a-Field-in-Table/m-p/629565#M543683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I think performance should be fine because the concat() function is calculated only once for the table. All that ofc as long as your expressions are straightforward themselves.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 07:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-as-a-Field-in-Table/m-p/629565#M543683</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2014-05-13T07:24:35Z</dc:date>
    </item>
  </channel>
</rss>

