<?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: Using a script-loaded measure into an INLINE table (Qlik Sense) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Using-a-script-loaded-measure-into-an-INLINE-table-Qlik-Sense/m-p/1206516#M23032</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found out after long time trying to solve this that &lt;STRONG&gt;&lt;EM&gt;INLINE tables are only for fixed values&lt;/EM&gt;&lt;/STRONG&gt;...&lt;/P&gt;&lt;P&gt;*sigh*&lt;/P&gt;&lt;P&gt;Well, at least using INLINE tables is &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/SPAN&gt; the way to solve my issue of using loaded measures in a script...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2017 16:42:21 GMT</pubDate>
    <dc:creator>demonioazul</dc:creator>
    <dc:date>2017-02-23T16:42:21Z</dc:date>
    <item>
      <title>Using a script-loaded measure into an INLINE table (Qlik Sense)</title>
      <link>https://community.qlik.com/t5/App-Development/Using-a-script-loaded-measure-into-an-INLINE-table-Qlik-Sense/m-p/1206515#M23031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I must be stuck in something very simple... but I cannot find my error, let alone how to solve it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dimension &lt;SPAN style="color: #808000;"&gt;[BU]&lt;/SPAN&gt; and two measures, &lt;SPAN style="color: #808000;"&gt;[Phase]&lt;/SPAN&gt; and&amp;nbsp; &lt;SPAN style="color: #808000;"&gt;[OI]&lt;/SPAN&gt;. I load them from an Excel file. In the load script I create new measures to split the OI values after the Phase value so I can plot them separately and make calculations with them separately as well, something 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;BU&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;Phase&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;OI&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Groceries&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;P0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Appliances&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;P0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Diverse&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;P2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;25&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Groceries&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;P1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Groceries&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;P3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Appliances&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;P1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the original load script I had something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333399; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;BU,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Phase,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;OI&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #333399;"&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/SPAN&gt; [....//file.xlsx]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;(&lt;SPAN style="color: #333399;"&gt;&lt;STRONG&gt;ooxml&lt;/STRONG&gt;&lt;/SPAN&gt;,...);&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I modified it and now it looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333399; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;BU,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Phase,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;OI&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #333399;"&gt;&lt;STRONG&gt;if&lt;/STRONG&gt;&lt;/SPAN&gt;(Phase='P0',OI) &lt;SPAN style="color: #333399;"&gt;&lt;STRONG&gt;as&lt;/STRONG&gt;&lt;/SPAN&gt; OI_Phase0,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #333399;"&gt;&lt;STRONG&gt;if&lt;/STRONG&gt;&lt;/SPAN&gt;(Phase='P1',OI) &lt;SPAN style="color: #333399;"&gt;&lt;STRONG&gt;as&lt;/STRONG&gt;&lt;/SPAN&gt; OI_Phase1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #333399;"&gt;&lt;STRONG&gt;if&lt;/STRONG&gt;&lt;/SPAN&gt;(Phase='P2',OI) &lt;SPAN style="color: #333399;"&gt;&lt;STRONG&gt;as&lt;/STRONG&gt;&lt;/SPAN&gt; OI_Phase2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #333399;"&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/SPAN&gt; [....//file.xlsx]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;(&lt;SPAN style="color: #333399;"&gt;&lt;STRONG&gt;ooxml&lt;/STRONG&gt;&lt;/SPAN&gt;,...)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can use the measures &lt;SPAN style="color: #808000;"&gt;OI_Phase0&lt;/SPAN&gt;, &lt;SPAN style="color: #808000;"&gt;OI_Phase1&lt;/SPAN&gt; and &lt;SPAN style="color: #808000;"&gt;OI_Phase2&lt;/SPAN&gt; in charts with no issue, such measures contain the values I expect them to. They plot both perfectly in charts and in tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I created &lt;SPAN style="text-decoration: underline;"&gt;in a separate script&lt;/SPAN&gt; (after the load script), a similar INLINE table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;[New_Table]:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #333399;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; * &lt;SPAN style="color: #333399;"&gt;&lt;STRONG&gt;INLINE&lt;/STRONG&gt;&lt;/SPAN&gt; [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Region, Phase_Value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;R1, OI_Phase0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;R2, OI_Phase2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;R3, OI_Phase1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I try to plot a bar chart with Region as dimension and Phase_Value as measure, it shows only the X and Y axis, but no bars. To test if my bar chart was OK I replaced the OI_Phase0, OI_Phase1 and OI_Phase2 with fixed values, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;[New_Table]:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #333399;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; * &lt;SPAN style="color: #333399;"&gt;&lt;STRONG&gt;INLINE&lt;/STRONG&gt;&lt;/SPAN&gt; [&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Region, Phase_Value&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;R1, 5&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;R2, 10&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;R3, 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this is plotted &lt;EM&gt;perfectly&lt;/EM&gt;!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried this out of desperation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;[New_Table]:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #333399;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; * &lt;SPAN style="color: #333399;"&gt;&lt;STRONG&gt;INLINE&lt;/STRONG&gt;&lt;/SPAN&gt; [&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Region, Phase_Value&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;R1, &lt;SPAN style="color: #333399;"&gt;&lt;STRONG&gt;sum&lt;/STRONG&gt;&lt;/SPAN&gt;(OI_Phase0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;R2, &lt;SPAN style="color: #333399; font-size: 13.3333px; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;sum&lt;/STRONG&gt;&lt;/SPAN&gt;(OI_Phase2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;R3, &lt;SPAN style="color: #333399; font-size: 13.3333px; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;sum&lt;/STRONG&gt;&lt;/SPAN&gt;(OI_Phase1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But that did not work either...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the values of the measures (&lt;SPAN style="color: #808000;"&gt;OI_Phase0&lt;/SPAN&gt;, &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #808000;"&gt;OI_Phase1&lt;/SPAN&gt; and &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #808000;"&gt;OI_Phase2&lt;/SPAN&gt;) are not being passed to the next script.&lt;/SPAN&gt;&lt;/SPAN&gt; I do not know how to accomplish this or if there is something I am doing that is not making it work... Maybe my assumption that once loaded any measure can be used afterwards in any script is not correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can be wrong? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help or hint!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 19:53:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-a-script-loaded-measure-into-an-INLINE-table-Qlik-Sense/m-p/1206515#M23031</guid>
      <dc:creator>demonioazul</dc:creator>
      <dc:date>2016-10-19T19:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using a script-loaded measure into an INLINE table (Qlik Sense)</title>
      <link>https://community.qlik.com/t5/App-Development/Using-a-script-loaded-measure-into-an-INLINE-table-Qlik-Sense/m-p/1206516#M23032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found out after long time trying to solve this that &lt;STRONG&gt;&lt;EM&gt;INLINE tables are only for fixed values&lt;/EM&gt;&lt;/STRONG&gt;...&lt;/P&gt;&lt;P&gt;*sigh*&lt;/P&gt;&lt;P&gt;Well, at least using INLINE tables is &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/SPAN&gt; the way to solve my issue of using loaded measures in a script...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 16:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-a-script-loaded-measure-into-an-INLINE-table-Qlik-Sense/m-p/1206516#M23032</guid>
      <dc:creator>demonioazul</dc:creator>
      <dc:date>2017-02-23T16:42:21Z</dc:date>
    </item>
  </channel>
</rss>

