<?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 Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685791#M673095</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I have is a single dataset showing both positive and negative numbers, what I am trying to accomplish is the creation of two expressions. One showing all of the positive numbers and the second showing the negative numbers. I have been playing with the syntax but can’t seem to get it right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Sep 2014 13:40:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-29T13:40:54Z</dc:date>
    <item>
      <title>Formula Help</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685783#M673087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am going to try my best to articulate what it is I am struggling with. I have a straight table that shows credits and non credits what I am trying to do is create a formula that would add up the credits for a total $ as well as the same for non credits and then present a third dimension as a percentage of the two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: % of total credits compared to total sales $ "Basically credits as a percentage of total sales." The problem is that the both the credits and sales are in the same table field. I have been racking my brain on this one and I am sure it is something simple.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 18:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685783#M673087</guid>
      <dc:creator />
      <dc:date>2014-09-24T18:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Help</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685784#M673088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a little hard without example data to work with, but guessing you need something like this: sum({&amp;lt;Amount={"&amp;gt;0"}&amp;gt;} Sales)/sum(Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or if you have an indicator that something is a "credit" then sum({&amp;lt;Credit={'Y'}&amp;gt;} Sales)/sum(Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 18:45:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685784#M673088</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2014-09-24T18:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Help</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685785#M673089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks I will give it a shot and let you know how it works out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 18:57:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685785#M673089</guid>
      <dc:creator />
      <dc:date>2014-09-24T18:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Help</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685786#M673090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No luck but thanks anyways Vlad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 18:15:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685786#M673090</guid>
      <dc:creator />
      <dc:date>2014-09-25T18:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Help</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685787#M673091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share a sample data or screenshot, it will make easy for us to understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 18:25:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685787#M673091</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-09-25T18:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Help</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685788#M673092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to do is create three additional expressions, one that shows the total sales excluding the credits, another showing the credits only, and a third that calculates the percentage between the two.&lt;/P&gt;&lt;P&gt;Essentially what I need to know is the % of credits compared to total sales across multiple dimensions.,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 18:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685788#M673092</guid>
      <dc:creator />
      <dc:date>2014-09-25T18:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Help</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685789#M673093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="9-25-2014 2-39-32 PM.gif" class="jive-image" src="/legacyfs/online/67695_9-25-2014 2-39-32 PM.gif" style="width: 620px; height: 147px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 21:08:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685789#M673093</guid>
      <dc:creator />
      <dc:date>2014-09-25T21:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Help</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685790#M673094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I tried attaching the picture in the first reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 21:09:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685790#M673094</guid>
      <dc:creator />
      <dc:date>2014-09-25T21:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Help</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685791#M673095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I have is a single dataset showing both positive and negative numbers, what I am trying to accomplish is the creation of two expressions. One showing all of the positive numbers and the second showing the negative numbers. I have been playing with the syntax but can’t seem to get it right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 13:40:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685791#M673095</guid>
      <dc:creator />
      <dc:date>2014-09-29T13:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Help</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685792#M673096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have the 2 "credit reason" columns in your chart, then you'd need to aggregate away from these columns in order to be able to present a single view of credits and non-credits per customer/item. You would accomplish that by using the "total" keyword in your sum. Not exactly sure which expression you had in mind, but try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Positives: sum({&amp;lt;Sales={"&amp;gt;0"}&amp;gt;} total &amp;lt;[Customer Name],[Item Number]&amp;gt; Sales)&lt;/P&gt;&lt;P&gt;Negatives: sum({&amp;lt;Sales={"&amp;lt;0"}&amp;gt;} total &amp;lt;[Customer Name],[Item Number]&amp;gt; Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace "Sales" with the number field you used to create "Product_Only $"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, if you don't have the "credit reason" columns, you can get rid of "total &amp;lt;[Customer Name],[Item Number]"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 15:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685792#M673096</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2014-09-29T15:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Formula Help</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685793#M673097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, this solved my issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 11:29:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-Help/m-p/685793#M673097</guid>
      <dc:creator />
      <dc:date>2014-10-22T11:29:40Z</dc:date>
    </item>
  </channel>
</rss>

