<?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: How to add calculation in expression that based on the value from dimension field. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-add-calculation-in-expression-that-based-on-the-value/m-p/1655326#M729799</link>
    <description>&lt;P&gt;Hi here is qvw file&lt;/P&gt;</description>
    <pubDate>Mon, 09 Dec 2019 06:53:33 GMT</pubDate>
    <dc:creator>A_Jafery</dc:creator>
    <dc:date>2019-12-09T06:53:33Z</dc:date>
    <item>
      <title>How to add calculation in expression that based on the value from dimension field.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-calculation-in-expression-that-based-on-the-value/m-p/1654829#M729796</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;How can I use the formula you giving in form of table.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Calc1 = Billed Revenue in Close Month [Jun only] / Total Billed Revenue of entire month [Jan-Dec]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I want to make&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;| Month | Calc1 |&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;| May&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| 0.289 |&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;| June&amp;nbsp; &amp;nbsp; &amp;nbsp;| 0.301 |&lt;/U&gt;&lt;/P&gt;&lt;P&gt;im using expression below but the calc1 shows 0 and not showing any dimension in table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expression:&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum ({&amp;lt; OppForecast= {'1'},[SPM Close Month] = {'$(=Month([SPM Date]))'}&amp;gt;}[Est. Billed Revenue For Current Year])/&amp;nbsp;sum ({&amp;lt; OppForecast= {'1'},&amp;gt;}[Est. Billed Revenue For Current Year])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dimension:&lt;/P&gt;&lt;P&gt;=Date([SPM Date],'MMM-YY')&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-calculation-in-expression-that-based-on-the-value/m-p/1654829#M729796</guid>
      <dc:creator>A_Jafery</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to add calculation in expression that based on the value from dimension field.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-calculation-in-expression-that-based-on-the-value/m-p/1654879#M729797</link>
      <description>&lt;P&gt;maye be&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Expression: 

sum ({&amp;lt; OppForecast= {'1'},[SPM Close Month] = {'$(=Month([SPM Date]))'}&amp;gt;} [Est. Billed Revenue For Current Year])/ sum ({&amp;lt; OppForecast= {'1'}&amp;gt;} [Est. Billed Revenue For Current Year])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you share a sample data ?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 08:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-calculation-in-expression-that-based-on-the-value/m-p/1654879#M729797</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2019-12-06T08:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to add calculation in expression that based on the value from dimension field.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-calculation-in-expression-that-based-on-the-value/m-p/1654885#M729798</link>
      <description>&lt;P&gt;if your expression is exactly the same you are using, there is a comma to much in your sum expression and before the character&amp;nbsp; &amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum ({&amp;lt; OppForecast= {'1'}&lt;U&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/U&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 08:39:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-calculation-in-expression-that-based-on-the-value/m-p/1654885#M729798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-06T08:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to add calculation in expression that based on the value from dimension field.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-calculation-in-expression-that-based-on-the-value/m-p/1655326#M729799</link>
      <description>&lt;P&gt;Hi here is qvw file&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 06:53:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-calculation-in-expression-that-based-on-the-value/m-p/1655326#M729799</guid>
      <dc:creator>A_Jafery</dc:creator>
      <dc:date>2019-12-09T06:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to add calculation in expression that based on the value from dimension field.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-calculation-in-expression-that-based-on-the-value/m-p/1658248#M729800</link>
      <description>&lt;P&gt;You may want to comment on whether either of two posts helped or not as well...&amp;nbsp; I would suspect folks have been hesitant to spend more time on things not knowing if you checked what they suggested in those posts?&amp;nbsp; Once you comment on that, I would expect you may get some further responses.&lt;/P&gt;
&lt;P&gt;Here is a Design Blog post on Set Analysis that may be of some help too:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;There are some further links to other blog posts at the bottom, just FYI.&amp;nbsp; Hopefully these may help you too.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 21:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-calculation-in-expression-that-based-on-the-value/m-p/1658248#M729800</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-12-16T21:28:41Z</dc:date>
    </item>
  </channel>
</rss>

