<?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: Condition on caluclation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Condition-on-caluclation/m-p/1457836#M435539</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are the two data field formats same or different? May be you can use set analysis like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= Sum({&amp;lt; MonthYearInvoice = {"&amp;gt; MonthYearService"} &amp;gt;} Sales)/Sum(Total Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= Sum(&lt;SPAN style="font-size: 13.3333px;"&gt;{&amp;lt; MonthYearInvoice = {"= $(= '&amp;gt;'&amp;amp;MonthYearService)"} &amp;gt;} Sales)/Sum(Total Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jan 2018 13:30:36 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2018-01-03T13:30:36Z</dc:date>
    <item>
      <title>Condition on caluclation</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-on-caluclation/m-p/1457835#M435538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;i have two date for each sales-row on my data set.&lt;/P&gt;&lt;P&gt;First date is MonthYearInvoice the second date is MonthYearService.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would like to calculate the % as follow:&lt;/P&gt;&lt;P&gt;Sales (Where MonthYearInvoice&amp;gt;MonthYearService) / Sales (without any condition)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i did it as follow but the result is 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(MonthYearInvoice&amp;gt;MonthYearService,sum(Sales),0) / Sum(Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone has an idea how to fix this?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jan 2018 13:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-on-caluclation/m-p/1457835#M435538</guid>
      <dc:creator>qlikviewaf</dc:creator>
      <dc:date>2018-01-03T13:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Condition on caluclation</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-on-caluclation/m-p/1457836#M435539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are the two data field formats same or different? May be you can use set analysis like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= Sum({&amp;lt; MonthYearInvoice = {"&amp;gt; MonthYearService"} &amp;gt;} Sales)/Sum(Total Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= Sum(&lt;SPAN style="font-size: 13.3333px;"&gt;{&amp;lt; MonthYearInvoice = {"= $(= '&amp;gt;'&amp;amp;MonthYearService)"} &amp;gt;} Sales)/Sum(Total Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jan 2018 13:30:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-on-caluclation/m-p/1457836#M435539</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-01-03T13:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Condition on caluclation</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-on-caluclation/m-p/1457837#M435540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the format of your fields (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MonthYearInvoice and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MonthYearService) ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jan 2018 13:34:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-on-caluclation/m-p/1457837#M435540</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-01-03T13:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Condition on caluclation</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-on-caluclation/m-p/1457838#M435541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;try this &lt;/SPAN&gt;&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; &lt;BR /&gt;&lt;/SPAN&gt;&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;&lt;STRONG&gt;= Sum({&amp;lt; MonthYearInvoice = {"=(num(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MonthYearInvoice) &lt;/SPAN&gt;&amp;gt; num(MonthYearService))"} &amp;gt;} Sales)/Sum(Total Sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jan 2018 13:38:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-on-caluclation/m-p/1457838#M435541</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2018-01-03T13:38:36Z</dc:date>
    </item>
  </channel>
</rss>

