<?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 is not working....need help.. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Formula-is-not-working-need-help/m-p/384228#M143500</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12.222222328186035px; background-color: #ffffff;"&gt;sum({&amp;lt;[Contra Type]={Revenue},Quarter={&lt;/SPAN&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12.222222328186035px; background-color: #ffffff;"&gt;$(&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;vQuarterComparison)}&amp;gt;}Total)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12.222222328186035px; background-color: #ffffff;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12.222222328186035px; background-color: #ffffff;"&gt;sum({&amp;lt;[Contra Type]={Revenue},Quarter={"&lt;/SPAN&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12.222222328186035px; background-color: #ffffff;"&gt;$(&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;vQuarterComparison)"}&amp;gt;}Total)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12.222222328186035px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Sep 2012 08:33:43 GMT</pubDate>
    <dc:creator>jvitantonio</dc:creator>
    <dc:date>2012-09-05T08:33:43Z</dc:date>
    <item>
      <title>Formula is not working....need help..</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-is-not-working-need-help/m-p/384226#M143498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello every one,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need your help here.... i have a very small formula&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;&lt;STRONG&gt;sum({&amp;lt;[Contra Type]={Revenue},Quarter={$(vQuarterComparison)}&amp;gt;}Total)&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;which is troubling me...vQuarterComparison is a Variable which picks same quarter in the prev Year&lt;EM&gt;&lt;STRONG&gt;(=left(Quarter,3)&amp;amp;''&amp;amp;num(right(Quarter,2)-1,00))..&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out and let me know why the above formula is not working..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Venkat T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 08:23:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-is-not-working-need-help/m-p/384226#M143498</guid>
      <dc:creator />
      <dc:date>2012-09-05T08:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Formula is not working....need help..</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-is-not-working-need-help/m-p/384227#M143499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Contra Type]={Revenue},Quarter={&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;$(vQuarterComparison)}&amp;gt;}Total)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Contra Type]={Revenue},Quarter={&lt;SPAN style="color: #ff0000;"&gt;"=&lt;/SPAN&gt;$(vQuarterComparison)&lt;SPAN style="color: #ff0000;"&gt;"&lt;/SPAN&gt;}&amp;gt;}Total)&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 08:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-is-not-working-need-help/m-p/384227#M143499</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-05T08:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Formula is not working....need help..</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-is-not-working-need-help/m-p/384228#M143500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12.222222328186035px; background-color: #ffffff;"&gt;sum({&amp;lt;[Contra Type]={Revenue},Quarter={&lt;/SPAN&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12.222222328186035px; background-color: #ffffff;"&gt;$(&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;vQuarterComparison)}&amp;gt;}Total)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12.222222328186035px; background-color: #ffffff;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12.222222328186035px; background-color: #ffffff;"&gt;sum({&amp;lt;[Contra Type]={Revenue},Quarter={"&lt;/SPAN&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12.222222328186035px; background-color: #ffffff;"&gt;$(&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;vQuarterComparison)"}&amp;gt;}Total)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12.222222328186035px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 08:33:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-is-not-working-need-help/m-p/384228#M143500</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2012-09-05T08:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Formula is not working....need help..</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-is-not-working-need-help/m-p/384229#M143501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that both right parts in your set analysis are texts, so you will need to wrap them by single quotes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13468340670796866" jivemacro_uid="_13468340670796866"&gt;&lt;P&gt;Sum({&amp;lt; [Contra Type] = {'Revenue'}, Quarter = {'$(vQuarterComparison)'} &amp;gt;} Total)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find more on how to use quotes in set analysis &lt;A _jive_internal="true" href="https://community.qlik.com/message/130723#130723"&gt;in this post&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 08:35:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-is-not-working-need-help/m-p/384229#M143501</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-09-05T08:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Formula is not working....need help..</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-is-not-working-need-help/m-p/384230#M143502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thankyou so much to all of you..my issue is resolved...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Venkat T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 12:16:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-is-not-working-need-help/m-p/384230#M143502</guid>
      <dc:creator />
      <dc:date>2012-09-05T12:16:54Z</dc:date>
    </item>
  </channel>
</rss>

