<?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: YTD Sales analysis Calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244354#M394774</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try using this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Num(Sum({&amp;lt;fYear={$(vMaxYear)},Date={'&amp;lt;=$(=vMaxDate)'},Month=,Day=,FMonth=,&lt;SPAN style="color: #ff0000;"&gt;[Customer Name] *={"*"}&lt;/SPAN&gt;&amp;gt;}(History_Shipments * Price_Price)),'$ #,##0', '.',',')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw you had the Customer Name modifier in your set analysis for another expression. You seem to be ignoring Customer Name which are null. May be you would want to do that same here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's just see if this resolve your current issue and then may be we can go back to the Actual/Forecast issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 11 Dec 2016 23:29:30 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-12-11T23:29:30Z</dc:date>
    <item>
      <title>YTD Sales analysis Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244329#M394749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to show the sales analysis for Fiscal year that shows from Apr to Mar. When I select Customer, Year and Month the sum of sales shows correctly. However If I select just Year, the sales amount shows way over. &lt;/P&gt;&lt;P&gt;The Expression formula that shows in text object looks like below : &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=NUM(Sum({&amp;lt;Fyear={'$(vMaxYear)'},Date={'&amp;lt;=$(vMaxDate)'},Month=,Day=,FMonth=&amp;gt;}(History_Shipments * Price_Price)),'$ #,##0', '.',',')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=NUM(sum({&amp;lt;Year={'$(vMaxYear)'},Month={'$(vMaxMonth)'},Day={'&amp;lt;=$(vMaxDay)'},Date=,FMonth=&amp;gt;}(History_Shipments * Price_Price)),'$ #,##0', '.',',')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing to mention, this formulas gives me correct answers when I do it on straight table. This happens only on Text object as the requirement is to display on text object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody please help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnaks,&lt;/P&gt;&lt;P&gt;Wossen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 05:22:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244329#M394749</guid>
      <dc:creator>wossenhh</dc:creator>
      <dc:date>2016-12-11T05:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales analysis Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244330#M394750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the format of Fyear?&lt;/P&gt;&lt;P&gt;Can you provide sample app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 08:58:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244330#M394750</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-12-11T08:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales analysis Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244331#M394751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Manish - this is how it looks on the script of my calendar:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set vFM = 4 ;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // First month of fiscal year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar:&lt;/P&gt;&lt;P&gt;Load Dual(fYear-1 &amp;amp;'/'&amp;amp; fYear, fYear) as FYear,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Dual fiscal year&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(Month, fMonth)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as FMonth,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Dual fiscal month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual('Q' &amp;amp; Ceil(fMonth/3), Ceil(fMonth/3)) as FQuarter,&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;/P&gt;&lt;P&gt;Load Year + If(Month&amp;gt;=$(vFM), 1, 0) as fYear,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Numeric fiscal year&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mod(Month-$(vFM), 12)+1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as fMonth,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Numeric fiscal month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YearToDate(PeriodDate,0,$(vFM)) as FYTDFlag,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &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;/P&gt;&lt;P&gt;LOAD DayID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PeriodDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Floor(PeriodDate) AS DateNum, //it will gives you one whole number to represent date YTD - Year To Date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(PeriodDate) as Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(PeriodDate) as Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(PeriodDate) as Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(monthstart(PeriodDate), 'MMM-YYYY') as MonthYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day(PeriodDate) as Day,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day(PeriodDate) as Week,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; num(year(PeriodDate))*100+num(month(PeriodDate)) as year_month_num,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Q' &amp;amp; ceil(month(PeriodDate)/3) as QTY,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekStartDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekEndDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthStartDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthEndDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QuarterID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QuarterStartDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QuarterEndDate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fyear shows as 2013/2014&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 09:10:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244331#M394751</guid>
      <dc:creator>wossenhh</dc:creator>
      <dc:date>2016-12-11T09:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales analysis Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244332#M394752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;which year are your making the selection on Year or FYear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you consistently use the &lt;STRONG&gt;Numerical Fiscal year field&lt;/STRONG&gt; which is '&lt;STRONG&gt;fYear&lt;/STRONG&gt;' in both expressions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 09:27:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244332#M394752</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-11T09:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales analysis Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244333#M394753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using fYear for Year which shows as 2014, 2015, and FMonth for the month, Apr, May, June...and so on.&lt;/P&gt;&lt;P&gt;It is good advise and I just changed it, but still I don't see any change.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 09:47:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244333#M394753</guid>
      <dc:creator>wossenhh</dc:creator>
      <dc:date>2016-12-11T09:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales analysis Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244334#M394754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you upload a sample app&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 10:02:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244334#M394754</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-11T10:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales analysis Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244335#M394755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you go.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 10:21:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244335#M394755</guid>
      <dc:creator>wossenhh</dc:creator>
      <dc:date>2016-12-11T10:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales analysis Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244336#M394756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why you are using fYear in set expression?&lt;/P&gt;&lt;P&gt;Your Fiscal Year is from April to March so better to use FYear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 13:35:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244336#M394756</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-12-11T13:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales analysis Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244337#M394757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wossen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Expression is correct. I just downloaded the data in Excel and verified the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason Figures don't match when you select all customer's is that in your Data there are a lot of rows which have null() values in "Customer Name" and null values don't show up in list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest During load add a validation and add default value for nulls in Customer Name field.&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(isnull([Customer Name],"NameNotFound",&lt;SPAN style="font-size: 13.3333px;"&gt;[Customer Name])&amp;nbsp; as &lt;SPAN style="font-size: 13.3333px;"&gt;[Customer Name],&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;so you can filter for those customers as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 15:10:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244337#M394757</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-11T15:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales analysis Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244338#M394758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vineeth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for looking into this. Yes, there are null values and that is why I have this&amp;nbsp; 'WHERE Len( "Customer Name" ) &amp;gt; 0' on the script under the customer table. &lt;/P&gt;&lt;P&gt;But why I don't see the total YTD sales value on the text object where as when I use the same formula on straight table the amount looks correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clues?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Wossen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 18:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244338#M394758</guid>
      <dc:creator>wossenhh</dc:creator>
      <dc:date>2016-12-11T18:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales analysis Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244339#M394759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's because with Suppress Null checked ..you won't see null customer names in straight table so your totals look correct.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Well your data definitely has null values which means your script isn't working as expected you might want to recheck the where clause &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;where len(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;"Customer Name")&amp;gt;0; and removed the or part&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 18:44:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244339#M394759</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-11T18:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales analysis Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244340#M394760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vineeth -&amp;nbsp; No the Suppress Null hasn't check on the straight table I have been working on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you happen to know what formula to use in order to exclude the Null values other than what I used ? I am loading the data from SQL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 18:51:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244340#M394760</guid>
      <dc:creator>wossenhh</dc:creator>
      <dc:date>2016-12-11T18:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales analysis Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244341#M394761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE NOT ISNULL(Customer Name)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 19:04:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244341#M394761</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-11T19:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales analysis Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244342#M394762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vineeth ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and I applied that one you recommend me and it doesn't like it. But, you are correct there was still a null and blank value for customer and other fields like Molecule. I used WHERE NOT([Customer Name] IS NULL or [Customer Name] = ' '&amp;nbsp; or Molecule IS NULL or Molecule = ' '); and now this give me a valid data's. However the Total YTD calculation still not right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 20:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244342#M394762</guid>
      <dc:creator>wossenhh</dc:creator>
      <dc:date>2016-12-11T20:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales analysis Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244343#M394763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think right now you are doing a or test between Customer Name and Molecule.... So if either of them is not null, the application will still pick the null value for other. So If for a particular row Molecule is not null, but Customer Name is, then it will be picked. May be you want this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE Len( "Customer Name" ) &amp;gt; 0 &lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;AND &lt;/SPAN&gt; Len (Molecule) &amp;gt; 0;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 21:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244343#M394763</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-11T21:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales analysis Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244344#M394764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny - Thanks for your input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually the null and blank are exists in both column. So I used the OR function and excluding them now.&lt;/P&gt;&lt;P&gt;The problem I have is the YTD calculation part. The expression I have is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;Fyear={'$(vMaxYear)'},Date={'&amp;lt;=$(vMaxDate)'},Month=,Day=,FMonth=&amp;gt;}(History_Shipments * Price_Price))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thought on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 22:00:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244344#M394764</guid>
      <dc:creator>wossenhh</dc:creator>
      <dc:date>2016-12-11T22:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales analysis Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244345#M394765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you check if this is working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Fyear = {'$(&lt;STRONG style=": ; color: #ff0000; font-size: 14pt;"&gt;=&lt;/STRONG&gt;vMaxYear)'},Date = {'&amp;lt;=$(&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;=&lt;/SPAN&gt;vMaxDate)'},Month=,Day=,FMonth=&amp;gt;} (History_Shipments * Price_Price))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 22:02:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244345#M394765</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-11T22:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales analysis Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244346#M394766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny - It give me incorrect amount like way over&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 22:12:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244346#M394766</guid>
      <dc:creator>wossenhh</dc:creator>
      <dc:date>2016-12-11T22:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales analysis Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244347#M394767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share an updated sample to look at this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 22:14:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244347#M394767</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-11T22:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales analysis Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244348#M394768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Sunny &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 22:29:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-analysis-Calculation/m-p/1244348#M394768</guid>
      <dc:creator>wossenhh</dc:creator>
      <dc:date>2016-12-11T22:29:29Z</dc:date>
    </item>
  </channel>
</rss>

