<?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: Expressions loaded in inline table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expressions-loaded-in-inline-table/m-p/787344#M661601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;don't use apostrophs in the inline statment.&lt;/P&gt;&lt;P&gt;it should look like this:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;Analysis Type, Period Type, Pivot_Expr&lt;BR /&gt;Units, Month To Date, =SUM({$&amp;lt;MTD_Flag={1}&amp;gt;} Unit_Sales)&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the expression you used &lt;/P&gt;&lt;P&gt;$(=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Pivot_Expr&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;will work. But only one value in fields Analysis Type and Period Type can be chosen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Feb 2015 17:17:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-02-25T17:17:12Z</dc:date>
    <item>
      <title>Expressions loaded in inline table</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-loaded-in-inline-table/m-p/787341#M661597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a report where I am using the same sales expressions in many different tables.&lt;/P&gt;&lt;P&gt;I am loading an inline table with those expressions written in it as following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="79154" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/79154_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;What I don't know is how to actually proceed after that, in order to use those expressions in my pivots.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tested them separately, for example if I write in my pivot the expression&lt;/P&gt;&lt;P&gt;=SUM({$&amp;lt;MTD_Flag={1}&amp;gt;} Unit_Sales)&lt;/P&gt;&lt;P&gt;it gives the correct results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do is retrieve the expression just by using the Pivot_Expr field name, so by switching between the Units and Net Sales or the different periods, I can automatically have the right results. Another reason for this is that those expressions are used in many places in my layout tables, so I would like to have them all in one place, for better future support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried writing as an expression in my pivot the $(=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Pivot_Expr&lt;/SPAN&gt;) but it doesn't give any results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone please help me with this?&lt;/P&gt;&lt;P&gt;Thanks in advance for your time &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Maria.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 09:45:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-loaded-in-inline-table/m-p/787341#M661597</guid>
      <dc:creator />
      <dc:date>2015-02-25T09:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions loaded in inline table</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-loaded-in-inline-table/m-p/787342#M661598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The "expression" are becoming part of your data not a part of calculation so you will not be able to use them this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do not want them to rewrite many times you can create a variable and then use it in your PT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 15:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-loaded-in-inline-table/m-p/787342#M661598</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-02-25T15:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions loaded in inline table</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-loaded-in-inline-table/m-p/787343#M661600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i do this quite a bit for the same reasons you mentioned and also ease of maintenance...do you have a list box for the Analysis_Type and Period_Type? Unless there is only one possible value for Pivot_Expr, the chart will not output any results...see attached for an example (clear selections for F2 and see what happens).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 15:52:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-loaded-in-inline-table/m-p/787343#M661600</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-25T15:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions loaded in inline table</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-loaded-in-inline-table/m-p/787344#M661601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;don't use apostrophs in the inline statment.&lt;/P&gt;&lt;P&gt;it should look like this:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;Analysis Type, Period Type, Pivot_Expr&lt;BR /&gt;Units, Month To Date, =SUM({$&amp;lt;MTD_Flag={1}&amp;gt;} Unit_Sales)&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the expression you used &lt;/P&gt;&lt;P&gt;$(=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Pivot_Expr&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;will work. But only one value in fields Analysis Type and Period Type can be chosen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 17:17:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-loaded-in-inline-table/m-p/787344#M661601</guid>
      <dc:creator />
      <dc:date>2015-02-25T17:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions loaded in inline table</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-loaded-in-inline-table/m-p/787345#M661602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure?&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/79236_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 18:13:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-loaded-in-inline-table/m-p/787345#M661602</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-02-25T18:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions loaded in inline table</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-loaded-in-inline-table/m-p/787346#M661604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you don't need "=" sign in the expression definition in your table. if you do use it, then you wouldn't need "=" sign in the expression in the chart. you only need it once. may be the attachment in my post above will help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 18:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-loaded-in-inline-table/m-p/787346#M661604</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-25T18:16:03Z</dc:date>
    </item>
  </channel>
</rss>

