<?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 Pass field references from text in Excel in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pass-field-references-from-text-in-Excel/m-p/1132730#M631884</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently importing text sentences saved in Excel to display in Qlikview. The idea is to make these sentences dynamic by referencing the current selections. So typically in Qlikview, you would create a text object and write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Field1 &amp;amp; ' has performed well this year with a growth rate of ' &amp;amp; Field2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, my situation is more complicated and I would actually like to import the above as one value from an Excel cell. So based on my selections, I might have three different sentence options within a 'Sentence' field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and also, ' &amp;amp;Field1&amp;amp; ' has performed well this year with a growth rate of ' &amp;amp;Field2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and also, ' &amp;amp;Field1&amp;amp; ' &lt;/SPAN&gt;has performed poorly this year with a growth rate of ' &amp;amp; Field2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and also, ' &amp;amp;Field1&amp;amp; ' &lt;/SPAN&gt;has performed very poorly this year with a growth rate of ' &amp;amp; Field2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;So in the text object, I would just put &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;= Sentence&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The problem is that&lt;/STRONG&gt; when I put these sentences in Excel, Qlikview evaluates it all as a string, so '&amp;amp;Field1&amp;amp;' doesn't break out of the string to evaluate Field1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a trick to how I load in the data from Excel, or use variables, to get around this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Aug 2016 15:52:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-08-04T15:52:12Z</dc:date>
    <item>
      <title>Pass field references from text in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-field-references-from-text-in-Excel/m-p/1132730#M631884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently importing text sentences saved in Excel to display in Qlikview. The idea is to make these sentences dynamic by referencing the current selections. So typically in Qlikview, you would create a text object and write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Field1 &amp;amp; ' has performed well this year with a growth rate of ' &amp;amp; Field2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, my situation is more complicated and I would actually like to import the above as one value from an Excel cell. So based on my selections, I might have three different sentence options within a 'Sentence' field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and also, ' &amp;amp;Field1&amp;amp; ' has performed well this year with a growth rate of ' &amp;amp;Field2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and also, ' &amp;amp;Field1&amp;amp; ' &lt;/SPAN&gt;has performed poorly this year with a growth rate of ' &amp;amp; Field2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and also, ' &amp;amp;Field1&amp;amp; ' &lt;/SPAN&gt;has performed very poorly this year with a growth rate of ' &amp;amp; Field2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;So in the text object, I would just put &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;= Sentence&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The problem is that&lt;/STRONG&gt; when I put these sentences in Excel, Qlikview evaluates it all as a string, so '&amp;amp;Field1&amp;amp;' doesn't break out of the string to evaluate Field1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a trick to how I load in the data from Excel, or use variables, to get around this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 15:52:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-field-references-from-text-in-Excel/m-p/1132730#M631884</guid>
      <dc:creator />
      <dc:date>2016-08-04T15:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Pass field references from text in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-field-references-from-text-in-Excel/m-p/1132731#M631885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you upload a sample app and your excel sheet for a quick review?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 16:26:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-field-references-from-text-in-Excel/m-p/1132731#M631885</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-08-04T16:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Pass field references from text in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-field-references-from-text-in-Excel/m-p/1132732#M631886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share the exact code you are using here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 16:40:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-field-references-from-text-in-Excel/m-p/1132732#M631886</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-04T16:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Pass field references from text in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-field-references-from-text-in-Excel/m-p/1132733#M631887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, added attachment. Please take a look!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 17:08:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-field-references-from-text-in-Excel/m-p/1132733#M631887</guid>
      <dc:creator />
      <dc:date>2016-08-04T17:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pass field references from text in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-field-references-from-text-in-Excel/m-p/1132734#M631888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this in your text object. There is a space for the field &amp;amp; =vCAGR in your text column. One is like &amp;amp;=vCAGR and another is like &amp;amp; =vCAGR. If you can fix this in your excel sheet for Text column you can remove one of the replace functions in the below function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;nbsp; Field1 &amp;amp;&amp;nbsp; ' did well this year, ' &amp;amp; Replace(Replace(Replace(Concat(Text, '|'), '&amp;amp;Field1&amp;amp;',Field1),'&amp;amp;=vCAGR',vCAGR), '&amp;amp; =vCAGR',vCAGR)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 19:41:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-field-references-from-text-in-Excel/m-p/1132734#M631888</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-08-04T19:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Pass field references from text in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-field-references-from-text-in-Excel/m-p/1132735#M631889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To display text in the new line for each selection add this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=&amp;nbsp; Field1 &amp;amp;&amp;nbsp; ' did well this year, ' &amp;amp; Replace(Replace(Replace(Concat(Text, '|' &lt;STRONG style="color: #ff0000;"&gt;&amp;amp; Chr(13)&lt;/STRONG&gt;), '&amp;amp;Field1&amp;amp;',Field1),'&amp;amp;=vCAGR',vCAGR), '&amp;amp; =vCAGR',vCAGR)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 19:45:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-field-references-from-text-in-Excel/m-p/1132735#M631889</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-08-04T19:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Pass field references from text in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-field-references-from-text-in-Excel/m-p/1132736#M631890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Vish! Replace () worked very well. Once I simplified my terms, I was able to just use Replace(Replace(concat(Text), 'Field1',Field1),'vCAGR',vCAGR). Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 13:32:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-field-references-from-text-in-Excel/m-p/1132736#M631890</guid>
      <dc:creator />
      <dc:date>2016-08-05T13:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Pass field references from text in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-field-references-from-text-in-Excel/m-p/1132737#M631891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correction: you don't even need concat() in the above &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 15:04:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-field-references-from-text-in-Excel/m-p/1132737#M631891</guid>
      <dc:creator />
      <dc:date>2016-08-05T15:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pass field references from text in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-field-references-from-text-in-Excel/m-p/1132738#M631892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WHere are you using that expression in the text object or in a table chart?? I used concat coz i used in the text object so just modify as necessary. I am glad it worked. Thanks for the update. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 15:23:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-field-references-from-text-in-Excel/m-p/1132738#M631892</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-08-05T15:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Pass field references from text in Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-field-references-from-text-in-Excel/m-p/1132739#M631893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Text object. Well I need concat in this sample.qvw, but in my real qvw it works without it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 15:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-field-references-from-text-in-Excel/m-p/1132739#M631893</guid>
      <dc:creator />
      <dc:date>2016-08-05T15:41:47Z</dc:date>
    </item>
  </channel>
</rss>

