<?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 function issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/String-function-issue/m-p/256562#M585729</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Merwen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you make a resident table to get Sum of India and US sales and then you able to use that values for calculation.&lt;/P&gt;&lt;P&gt;By creating Resident table by below code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;Sum(If(country='US',Sales)) as USSales,&lt;/P&gt;&lt;P&gt;Sum(If(country='IND',Sales)) as INDSales&lt;/P&gt;&lt;P&gt;Resident Main;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Aug 2011 15:33:51 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2011-08-08T15:33:51Z</dc:date>
    <item>
      <title>String function issue</title>
      <link>https://community.qlik.com/t5/QlikView/String-function-issue/m-p/256556#M585723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two colomns of State &amp;amp; Country .&lt;/P&gt;&lt;P&gt;I want to auto-select a country if i selects a state , like&lt;/P&gt;&lt;P&gt;If i select Texas , In state list . In my country list United states have to be selected automatically .&lt;/P&gt;&lt;P&gt;I'm taking country &amp;amp; state list from excel sheets &amp;amp; I concatenated them both into a link ,&lt;/P&gt;&lt;P&gt;then i'm using subfield to save them into variables and to display them into separate lists which makes me if i select a state it auto selects country .&lt;/P&gt;&lt;P&gt;Until now i dont have any issues ,&lt;/P&gt;&lt;P&gt;I want to display sales in country if they are selecting a state , but if they selects states from different countries how can split them using a string function or anything to display sales in different countries .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i attached some example excel &amp;amp; qvw's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meher &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 14:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-function-issue/m-p/256556#M585723</guid>
      <dc:creator />
      <dc:date>2011-08-08T14:51:18Z</dc:date>
    </item>
    <item>
      <title>String function issue</title>
      <link>https://community.qlik.com/t5/QlikView/String-function-issue/m-p/256557#M585724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Merwan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which values of US and India you want to store on the variable. Please provide details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 15:12:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-function-issue/m-p/256557#M585724</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-08-08T15:12:27Z</dc:date>
    </item>
    <item>
      <title>String function issue</title>
      <link>https://community.qlik.com/t5/QlikView/String-function-issue/m-p/256558#M585725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I belieeve u have copleted all the thinks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your application is enough to providorde your result accordingly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attach for reference&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 15:19:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-function-issue/m-p/256558#M585725</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-08-08T15:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: String function issue</title>
      <link>https://community.qlik.com/t5/QlikView/String-function-issue/m-p/256559#M585726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I belieeve u have copleted all the thinks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your application is enough to providorde your result accordingly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attach for reference,&lt;/P&gt;&lt;P&gt;if select multiples then it will show the result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 15:19:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-function-issue/m-p/256559#M585726</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-08-08T15:19:57Z</dc:date>
    </item>
    <item>
      <title>String function issue</title>
      <link>https://community.qlik.com/t5/QlikView/String-function-issue/m-p/256560#M585727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to store US &amp;amp; India into 2 different variables so that i can use my math conditions on them for sales &amp;amp; etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankyou&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meher&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 15:20:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-function-issue/m-p/256560#M585727</guid>
      <dc:creator />
      <dc:date>2011-08-08T15:20:29Z</dc:date>
    </item>
    <item>
      <title>String function issue</title>
      <link>https://community.qlik.com/t5/QlikView/String-function-issue/m-p/256561#M585728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand Why dont you try to load a State an country in a separate Tables, thats simplify the job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here You Have an Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;StateCountry:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD country, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; State&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Name, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Department, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; State, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CNT, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 15:20:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-function-issue/m-p/256561#M585728</guid>
      <dc:creator />
      <dc:date>2011-08-08T15:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: String function issue</title>
      <link>https://community.qlik.com/t5/QlikView/String-function-issue/m-p/256562#M585729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Merwen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you make a resident table to get Sum of India and US sales and then you able to use that values for calculation.&lt;/P&gt;&lt;P&gt;By creating Resident table by below code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;Sum(If(country='US',Sales)) as USSales,&lt;/P&gt;&lt;P&gt;Sum(If(country='IND',Sales)) as INDSales&lt;/P&gt;&lt;P&gt;Resident Main;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 15:33:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-function-issue/m-p/256562#M585729</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-08-08T15:33:51Z</dc:date>
    </item>
    <item>
      <title>String function issue</title>
      <link>https://community.qlik.com/t5/QlikView/String-function-issue/m-p/256563#M585730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestions but these didn't worked for me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use two&amp;nbsp; different countries in expressions ( set analysis )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i want to spit them &amp;amp; i want to save them in two different variables .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Meher&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 15:44:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-function-issue/m-p/256563#M585730</guid>
      <dc:creator />
      <dc:date>2011-08-08T15:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: String function issue</title>
      <link>https://community.qlik.com/t5/QlikView/String-function-issue/m-p/256564#M585731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the attached might help u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 16:20:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-function-issue/m-p/256564#M585731</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-08-08T16:20:28Z</dc:date>
    </item>
    <item>
      <title>String function issue</title>
      <link>https://community.qlik.com/t5/QlikView/String-function-issue/m-p/256565#M585732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sunil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for ur help but it's not working when i'm selecting UK/Aus &amp;amp; the data is a sample data I can't hardcode set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thankyou&lt;/P&gt;&lt;P&gt;Meher&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 21:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-function-issue/m-p/256565#M585732</guid>
      <dc:creator />
      <dc:date>2011-08-08T21:07:38Z</dc:date>
    </item>
  </channel>
</rss>

