<?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: String manipulation in action button ... need help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/String-manipulation-in-action-button-need-help/m-p/474040#M177062</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked. Just need a to add a space. Wow tricky stuff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks All!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2013-11-21_120707.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/49394_2013-11-21_120707.png" style="width: 620px; height: 67px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Nov 2013 17:08:00 GMT</pubDate>
    <dc:creator>b_garside</dc:creator>
    <dc:date>2013-11-21T17:08:00Z</dc:date>
    <item>
      <title>String manipulation in action button ... need help</title>
      <link>https://community.qlik.com/t5/QlikView/String-manipulation-in-action-button-need-help/m-p/474034#M177056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a button that toggles a string value that changes to this;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Week of '&amp;amp;WeekName(GanttDate)&amp;nbsp; but drops the last part after 'Week of'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it wont work in my button. only if a &lt;STRONG&gt;Paste it directly in the variable editor.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code for Action&lt;/P&gt;&lt;P&gt;=If(vTimeScaleGanttBtn = 1, 'MonthName(GanttDate)', 'Week of'&amp;amp;WeekName(GanttDate) )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 16:07:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-manipulation-in-action-button-need-help/m-p/474034#M177056</guid>
      <dc:creator>b_garside</dc:creator>
      <dc:date>2013-11-21T16:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation in action button ... need help</title>
      <link>https://community.qlik.com/t5/QlikView/String-manipulation-in-action-button-need-help/m-p/474035#M177057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post a sample qvw that displays your problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My guess is that in your formula:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=If(vTimeScaleGanttBtn = 1, 'MonthName(GanttDate)', &lt;STRONG&gt;'Week of'&amp;amp;WeekName(GanttDate)&lt;/STRONG&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;the &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'Week of'&amp;amp;WeekName(GanttDate)&lt;/STRONG&gt; is not a string, its a string with a function. Are you looking just for the string of it? or are you trying to accomplish something else?&lt;/P&gt;&lt;P&gt;Did you want &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'Week of&amp;amp;WeekName(GanttDate)'&lt;/STRONG&gt;? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 16:43:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-manipulation-in-action-button-need-help/m-p/474035#M177057</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2013-11-21T16:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation in action button ... need help</title>
      <link>https://community.qlik.com/t5/QlikView/String-manipulation-in-action-button-need-help/m-p/474036#M177058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that seems close.. I was trying to concat a String to a Function. but in the action button I'm not sure how to code it syntax wise to make it work. I use a $ expansion in my chart where it plugs in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="49378" alt="2013-11-21_114719.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/49378_2013-11-21_114719.png" style="width: 620px; height: 77px;" /&gt;&lt;/P&gt;&lt;P&gt;This is what I get after I click the button. using this: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;'Week of&amp;amp;WeekName(GanttDate)'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="49391" alt="2013-11-21_114901.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/49391_2013-11-21_114901.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 16:50:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-manipulation-in-action-button-need-help/m-p/474036#M177058</guid>
      <dc:creator>b_garside</dc:creator>
      <dc:date>2013-11-21T16:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation in action button ... need help</title>
      <link>https://community.qlik.com/t5/QlikView/String-manipulation-in-action-button-need-help/m-p/474037#M177059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to replace the ' with Chr(39) so they resolve to ' when the $-expansion is used:&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;"&gt;If(vTimeScaleGanttBtn = 1, 'MonthName(GanttDate)', Chr(39) &amp;amp; &lt;/SPAN&gt;'Week of ' &amp;amp; Chr(39) &amp;amp; WeekName(GanttDate)&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope this helps,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jason&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 16:54:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-manipulation-in-action-button-need-help/m-p/474037#M177059</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2013-11-21T16:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation in action button ... need help</title>
      <link>https://community.qlik.com/t5/QlikView/String-manipulation-in-action-button-need-help/m-p/474038#M177060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, Jason is right.&lt;/P&gt;&lt;P&gt;However I think the &amp;amp; is missing and you need quotes around weekname:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(vTimeScaleGanttBtn = 1, 'MonthName(&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;GanttDate&lt;/STRONG&gt;)', chr(39) &amp;amp; 'Week of' &amp;amp; chr(39) &amp;amp; '&amp;amp;' &amp;amp; 'WeekName(&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;GanttDate&lt;/STRONG&gt;)' )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 17:01:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-manipulation-in-action-button-need-help/m-p/474038#M177060</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2013-11-21T17:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation in action button ... need help</title>
      <link>https://community.qlik.com/t5/QlikView/String-manipulation-in-action-button-need-help/m-p/474039#M177061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah makes sense. Chr() works well.&lt;/P&gt;&lt;P&gt;Almost there. Maybe its missing a Chr(39). Tried adding oen on end then it just blew up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Chr(39) &amp;amp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;&lt;STRONG&gt;'Week of ' &amp;amp; Chr(39) &amp;amp; WeekName(GanttDate)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;IMG alt="2013-11-21_120108.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/49392_2013-11-21_120108.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;Chr(39) &amp;amp; 'Week of ' &amp;amp; Chr(39) &amp;amp; WeekName(GanttDate)&amp;amp;&lt;SPAN style="text-decoration: underline;"&gt; Chr(39) &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Did this;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;IMG alt="2013-11-21_120321.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/49393_2013-11-21_120321.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 17:04:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-manipulation-in-action-button-need-help/m-p/474039#M177061</guid>
      <dc:creator>b_garside</dc:creator>
      <dc:date>2013-11-21T17:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation in action button ... need help</title>
      <link>https://community.qlik.com/t5/QlikView/String-manipulation-in-action-button-need-help/m-p/474040#M177062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked. Just need a to add a space. Wow tricky stuff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks All!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2013-11-21_120707.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/49394_2013-11-21_120707.png" style="width: 620px; height: 67px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 17:08:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-manipulation-in-action-button-need-help/m-p/474040#M177062</guid>
      <dc:creator>b_garside</dc:creator>
      <dc:date>2013-11-21T17:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation in action button ... need help</title>
      <link>https://community.qlik.com/t5/QlikView/String-manipulation-in-action-button-need-help/m-p/474041#M177063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeremy real quick how would I convert this one to work?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date(GanttDate,'DD')&amp;nbsp; &lt;/STRONG&gt;The part that is getting me on this one is the&lt;STRONG&gt; 'DD')&amp;nbsp; part&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 20:23:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-manipulation-in-action-button-need-help/m-p/474041#M177063</guid>
      <dc:creator>b_garside</dc:creator>
      <dc:date>2013-11-21T20:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation in action button ... need help</title>
      <link>https://community.qlik.com/t5/QlikView/String-manipulation-in-action-button-need-help/m-p/474042#M177064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should do it:&lt;/P&gt;&lt;P&gt;='Date(GanttDate,' &amp;amp; chr(39) &amp;amp;'DD' &amp;amp; chr(39) &amp;amp; ')'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The trick is adding chr(39) anywhere you want to add the single quotes. It can be confusing sometimes i know haha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 20:31:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-manipulation-in-action-button-need-help/m-p/474042#M177064</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2013-11-21T20:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation in action button ... need help</title>
      <link>https://community.qlik.com/t5/QlikView/String-manipulation-in-action-button-need-help/m-p/474043#M177065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome that worked. &lt;/P&gt;&lt;P&gt;I guess it takes some getting use to where to place these chr()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 20:46:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-manipulation-in-action-button-need-help/m-p/474043#M177065</guid>
      <dc:creator>b_garside</dc:creator>
      <dc:date>2013-11-21T20:46:56Z</dc:date>
    </item>
  </channel>
</rss>

