<?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 Expressions in a table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expressions-in-a-table/m-p/272406#M497777</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to set up a few reports (lists) where the report should be described in an external source (in this example as inline)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Report:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Report, Line, Text, Expression&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 1, "Line 1 - A1", "sum(&amp;nbsp; { &amp;lt;Account='A1'&amp;gt; } Amount)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 2, "Line 2 - A2", "sum(&amp;nbsp; { &amp;lt;Account='A2'&amp;gt; } Amount)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 3, "Line 3 - A3", "sum(&amp;nbsp; { &amp;lt;Account='A3'&amp;gt; } Amount)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 1, "Line 1 - B1", "sum(&amp;nbsp; { &amp;lt;Account='B1'&amp;gt; } Amount)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 2, "Line 2 - B2", "sum(&amp;nbsp; { &amp;lt;Account='B2'&amp;gt; } Amount)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 3, "Line 3 - B3", "sum(&amp;nbsp; { &amp;lt;Account='B3'&amp;gt; } Amount)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 4, "Line 4 - B4", "sum(&amp;nbsp; { &amp;lt;Account='B4'&amp;gt; } Amount)"&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, by selecting either report 1 or 2, It would use different expressions (set analysis) for the report.&lt;/P&gt;&lt;P&gt;Is that possible in any way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Steen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Aug 2011 12:43:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-15T12:43:57Z</dc:date>
    <item>
      <title>Expressions in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-in-a-table/m-p/272406#M497777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to set up a few reports (lists) where the report should be described in an external source (in this example as inline)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Report:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Report, Line, Text, Expression&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 1, "Line 1 - A1", "sum(&amp;nbsp; { &amp;lt;Account='A1'&amp;gt; } Amount)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 2, "Line 2 - A2", "sum(&amp;nbsp; { &amp;lt;Account='A2'&amp;gt; } Amount)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 3, "Line 3 - A3", "sum(&amp;nbsp; { &amp;lt;Account='A3'&amp;gt; } Amount)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 1, "Line 1 - B1", "sum(&amp;nbsp; { &amp;lt;Account='B1'&amp;gt; } Amount)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 2, "Line 2 - B2", "sum(&amp;nbsp; { &amp;lt;Account='B2'&amp;gt; } Amount)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 3, "Line 3 - B3", "sum(&amp;nbsp; { &amp;lt;Account='B3'&amp;gt; } Amount)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 4, "Line 4 - B4", "sum(&amp;nbsp; { &amp;lt;Account='B4'&amp;gt; } Amount)"&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, by selecting either report 1 or 2, It would use different expressions (set analysis) for the report.&lt;/P&gt;&lt;P&gt;Is that possible in any way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Steen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2011 12:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-in-a-table/m-p/272406#M497777</guid>
      <dc:creator />
      <dc:date>2011-08-15T12:43:57Z</dc:date>
    </item>
    <item>
      <title>Expressions in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-in-a-table/m-p/272407#M497778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I think it is possible, but you may have to add a variable (&lt;EM&gt;vExpression &lt;/EM&gt;for instance), and add triggers on the field so this variable is set when you select one of the Expression values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use $(vExpression) as the expression for the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/g&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2011 14:04:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-in-a-table/m-p/272407#M497778</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2011-08-15T14:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-in-a-table/m-p/272408#M497779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is simple if you have one line per report, but not so simple with two dimensions (report and line). You might get a simpler solution if your table was something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Report, Text1, Expression1, Text2, Expression2, ... Textn, Expressionn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, if you select a report, you can get the expression for each line using (say 3 for example)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(=Expression3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tip: best if your report selection list box is set to "one and only one" selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may be able to use your structure by selecting both report and line (either from list boxes or through set analysis) and using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(=Expression)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2011 18:48:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-in-a-table/m-p/272408#M497779</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2011-08-15T18:48:19Z</dc:date>
    </item>
  </channel>
</rss>

