<?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: Text apostrophe with formula in variable in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Text-apostrophe-with-formula-in-variable/m-p/19256#M1293</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Super, please close the thread by marking correct response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2018 12:57:22 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-06-14T12:57:22Z</dc:date>
    <item>
      <title>Text apostrophe with formula in variable</title>
      <link>https://community.qlik.com/t5/App-Development/Text-apostrophe-with-formula-in-variable/m-p/19253#M1290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have the following problem and I can't find a solution. I have defined the next variable in the variable interface:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff00ff;"&gt;vActualMonth&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Definition:&lt;/P&gt;&lt;P&gt;'P08'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have introduced the &lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;'&lt;/STRONG&gt;&lt;/SPAN&gt; apostrophe symbol because I'm using this variable value in the following formula in order to select this single month in the addition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #ff9900;"&gt;Month_Key_PL&lt;/SPAN&gt;={$(&lt;SPAN style="color: #ff00ff;"&gt;vActualMonth&lt;/SPAN&gt;)}&amp;gt;}&lt;SPAN style="color: #ff9900;"&gt;Sales&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I don't introduce this ' in the variable, the addition doesn't work.&lt;/P&gt;&lt;P&gt;Now I want to automate this variable and i have defined it with this formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Pick(1,&lt;SPAN style="color: #ff9900;"&gt;[Actual Month]&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the current month P08 selected but without apostrophe ' and the Sum formula doesn't work. I have tried different ways to include this apostrophe:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;'&lt;/STRONG&gt;&lt;/SPAN&gt;'&amp;amp;Pick(1,&lt;SPAN style="color: #ff9900;"&gt;[Actual Month]&lt;/SPAN&gt;)&amp;amp;'&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;'&lt;/STRONG&gt;&lt;/SPAN&gt;'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt;&amp;nbsp; apostrophe in apostrophe&lt;/P&gt;&lt;P&gt;="&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;'&lt;/STRONG&gt;&lt;/SPAN&gt;"&amp;amp;Pick(1,&lt;SPAN style="color: #ff9900;"&gt;[Actual Month]&lt;/SPAN&gt;)&amp;amp;"&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;'&lt;/STRONG&gt;&lt;/SPAN&gt;"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt;&amp;nbsp; apostrophe in quotations marks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These solutions didn't work.&lt;/P&gt;&lt;P&gt;Someone can help me with this issue? How can include an apostrophe and a formula together?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 09:48:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-apostrophe-with-formula-in-variable/m-p/19253#M1290</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-13T09:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Text apostrophe with formula in variable</title>
      <link>https://community.qlik.com/t5/App-Development/Text-apostrophe-with-formula-in-variable/m-p/19254#M1291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure, but seems like you are complicating your expression... have you tried this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff9900;"&gt;Month_Key_PL&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;= p([&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff00ff;"&gt;Actual Month]&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff9900;"&gt;Sales&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still want to go the variable route, may be try 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;&lt;STRONG&gt;=Chr(39) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;amp; Pick(1, &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff9900;"&gt;[Actual Month]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;) &amp;amp; Chr(39)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 16:01:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-apostrophe-with-formula-in-variable/m-p/19254#M1291</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-13T16:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Text apostrophe with formula in variable</title>
      <link>https://community.qlik.com/t5/App-Development/Text-apostrophe-with-formula-in-variable/m-p/19255#M1292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used a drop down menu linked to this variable and the variable is used in a chart where I can compare and see differences between months. The variable shows the actual month as default but I can change this variable with the drop down menu to do comparisons between the months that I want.&lt;/P&gt;&lt;P&gt;Thank you, Your solution works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 12:54:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-apostrophe-with-formula-in-variable/m-p/19255#M1292</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-14T12:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Text apostrophe with formula in variable</title>
      <link>https://community.qlik.com/t5/App-Development/Text-apostrophe-with-formula-in-variable/m-p/19256#M1293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Super, please close the thread by marking correct response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 12:57:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Text-apostrophe-with-formula-in-variable/m-p/19256#M1293</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-14T12:57:22Z</dc:date>
    </item>
  </channel>
</rss>

