<?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: Formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Formula/m-p/1030404#M939883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;could you please explain the actual requirement or the business the need ...so that we can suggest a better approach for the same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Feb 2016 11:00:22 GMT</pubDate>
    <dc:creator>avinashelite</dc:creator>
    <dc:date>2016-02-02T11:00:22Z</dc:date>
    <item>
      <title>Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Formula/m-p/1030403#M939881</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;Iam trying to take tow contents of the same field :Bat and ball" and trying to give it a name as branch&amp;nbsp; at the script level.&lt;/P&gt;&lt;P&gt;PLease someone suggest me which of the logic below is correct .&lt;/P&gt;&lt;P&gt;The Existing Code only for BAT is this &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if(BRAND='BAT',mid(BRANCH,Index(BRANCH,'BAT')+3),BRANCH) AS BRANCH-NAME&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;now the requirement is to include the BALL also , &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Please sugegst me how do i do this Iam trying with below code &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. if(Match(BRAND,'BAT','BALL',mid(BRANCH,Index(BRANCH,'BAT','BALL'))+3),BRANCH)&amp;nbsp; AS BRANCH-BRANCHNAME,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.if(BRAND='BAT',mid(BRANCH,Index(BRANCH,'BAT')+3),BRANCH)&amp;nbsp;&amp;nbsp; AND&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;if(BRAND='BALL',mid(BRANCH,Index(BRANCH,'BALL')+3),BRANCH) AS BRANCH-NAME&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please someone suggest me how do i go about this .&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 10:57:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula/m-p/1030403#M939881</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2016-02-02T10:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Formula/m-p/1030404#M939883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;could you please explain the actual requirement or the business the need ...so that we can suggest a better approach for the same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 11:00:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula/m-p/1030404#M939883</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-02-02T11:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Formula/m-p/1030405#M939885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want to know which is correct or how to go about this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 11:00:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula/m-p/1030405#M939885</guid>
      <dc:creator />
      <dc:date>2016-02-02T11:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Formula/m-p/1030406#M939886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actaully under BRANCH Name i want to have BAT and BALL with same formula ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 11:40:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula/m-p/1030406#M939886</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2016-02-02T11:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Formula/m-p/1030407#M939887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actaully it was like only for BAT now the requirement is that we need to include BALL also in the BRANCH ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For only BAT it was like this &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;if(BRAND='BAT',mid(BRANCH,Index(BRANCH,'BAT')+3),BRANCH) AS BRANCH.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 11:42:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula/m-p/1030407#M939887</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2016-02-02T11:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Formula/m-p/1030408#M939888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Match(BRAND,'BAT','BALL'&lt;STRONG&gt;)&lt;/STRONG&gt;,mid(BRANCH,Index(BRANCH, &lt;STRONG&gt;BRAND&lt;/STRONG&gt;)+3),BRANCH)&amp;nbsp; AS BRANCH-BRANCHNAME,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 12:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula/m-p/1030408#M939888</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-02-02T12:13:35Z</dc:date>
    </item>
  </channel>
</rss>

