<?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: Sum If date condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1754974#M590863</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/18321"&gt;@davyqliks&lt;/a&gt;&amp;nbsp; How do you want to use this expression? In back ground color or as actual expression?&lt;/P&gt;</description>
    <pubDate>Thu, 22 Oct 2020 13:52:12 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2020-10-22T13:52:12Z</dc:date>
    <item>
      <title>Sum If date condition</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1754876#M590858</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to only show the last order date if greater than 90 days old.&lt;/P&gt;&lt;P&gt;I have used the condition in the colour function to highlight red and it worked like this:&lt;/P&gt;&lt;P&gt;if(Today()-90&amp;gt;= Only( [Last Order Date UK]),&lt;BR /&gt;rgb(255,26,26),)&lt;/P&gt;&lt;P&gt;But i now need to only show the line and date if this condition is met:&lt;/P&gt;&lt;P&gt;I use the below which in my mind looks right with no syntax issue but the date returns 0&lt;/P&gt;&lt;P&gt;if(Today()-90&amp;gt;=,Only({$&amp;lt;Location = {'UKInv'},[Retailer Name] = {'ASOS'}, [Item Default Production Method] = {'In-House(Stock)','Outsource(Stock)'}&amp;gt;}[Last Order Date]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone inform how i can display the date when only older than 90days with this set analysis.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:45:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1754876#M590858</guid>
      <dc:creator>davyqliks</dc:creator>
      <dc:date>2024-11-15T23:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sum If date condition</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1754891#M590859</link>
      <description>&lt;P&gt;What it is returning first in KPI?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({$&amp;lt;Location = {'UKInv'},[Retailer Name] = {'ASOS'}, [Item Default Production Method] = {'In-House(Stock)','Outsource(Stock)'}&amp;gt;}[Last Order Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And I see your condition is different because there is nothing to compare for your Today()-90?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 11:10:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1754891#M590859</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2020-10-22T11:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sum If date condition</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1754946#M590860</link>
      <description>&lt;P&gt;Thank you for taking the time to respond... rather than give you what i did maybe i should just ask..&lt;/P&gt;&lt;P&gt;using this set analysis:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{$&amp;lt;Location = {'UKInv'},[Retailer Name] = {'ASOS'}, [Item Default Production Method] = {'In-House(Stock)','Outsource(Stock)'}&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;how would i write the expression to only show the&amp;nbsp;&lt;STRONG&gt;[Last Order Date] when it is over 90 old?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;thanks again for your help in advance.&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 12:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1754946#M590860</guid>
      <dc:creator>davyqliks</dc:creator>
      <dc:date>2020-10-22T12:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sum If date condition</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1754965#M590861</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/18321"&gt;@davyqliks&lt;/a&gt;&amp;nbsp; looks syntax issue&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if(Today()-90&amp;gt;=Only({$&amp;lt;Location = {'UKInv'},[Retailer Name] = {'ASOS'}, [Item Default Production Method] = {'In-House(Stock)','Outsource(Stock)'}&amp;gt;}[Last Order Date]))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 13:37:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1754965#M590861</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-22T13:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sum If date condition</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1754972#M590862</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you help me to fix&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i see i have a bracket issue but i cannot resolve.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 13:45:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1754972#M590862</guid>
      <dc:creator>davyqliks</dc:creator>
      <dc:date>2020-10-22T13:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sum If date condition</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1754974#M590863</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/18321"&gt;@davyqliks&lt;/a&gt;&amp;nbsp; How do you want to use this expression? In back ground color or as actual expression?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 13:52:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1754974#M590863</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-22T13:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sum If date condition</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1755012#M590864</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks Kush... As an actual expression please.&lt;/P&gt;&lt;P&gt;At first it was just for colour and i achieved that and tried to adapt the code for the expression but unsuccessfully.&lt;/P&gt;&lt;P&gt;Thanks Kush&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 14:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1755012#M590864</guid>
      <dc:creator>davyqliks</dc:creator>
      <dc:date>2020-10-22T14:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sum If date condition</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1758529#M590865</link>
      <description>&lt;P&gt;Hi Kush,&lt;/P&gt;&lt;P&gt;I am still looking at my issue. i need to show the value of this sum only if the last order date is over 90 days ago:&lt;/P&gt;&lt;P&gt;if(Today()-90&amp;gt;= ( [Last Order Date RO]),Sum([Stock Estimated Balance RO] * ([RO Invoice Item Unit Price] * 0.9021000 )))&lt;/P&gt;&lt;P&gt;The above is my best effort but making no return. is there any chance you can assist? This is giving no error in the expression but no return. Any help would be much appreciated.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 16:23:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1758529#M590865</guid>
      <dc:creator>davyqliks</dc:creator>
      <dc:date>2020-11-04T16:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sum If date condition</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1758532#M590866</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/18321"&gt;@davyqliks&lt;/a&gt;&amp;nbsp; try below&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if(Today()-[Last Order Date RO]&amp;gt;=90,Sum([Stock Estimated Balance RO] * ([RO Invoice Item Unit Price] * 0.9021000 )))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 16:31:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1758532#M590866</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-11-04T16:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sum If date condition</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1758546#M590867</link>
      <description>&lt;P&gt;Thanks Kush,&lt;/P&gt;&lt;P&gt;I'm sorry but i get the error Unknown chart type With a cross through it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am using the same expression in a Bar chart without the if date statement like this for multiple expression changing the location.&lt;/P&gt;&lt;P&gt;Sum([Stock Estimated Balance UK] * [UK Invoice Item Unit Price])&lt;/P&gt;&lt;P&gt;This is working fine but i cannot get a return for any location with the prefix if statement.&lt;/P&gt;&lt;P&gt;if(Today()-[Last Order Date RO]&amp;gt;=90,&amp;nbsp; &amp;nbsp; &amp;nbsp;Sum([Stock Estimated Balance RO] * ([RO Invoice Item Unit Price] * 0.9021000 )))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry Kush..... any ideas? thanks a lot.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 16:52:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1758546#M590867</guid>
      <dc:creator>davyqliks</dc:creator>
      <dc:date>2020-11-04T16:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sum If date condition</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1758590#M590868</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/18321"&gt;@davyqliks&lt;/a&gt;&amp;nbsp; It would likely be most helpful at this point if you attach a sample QVW file with the issue, so folks can dig into things a bit more deeply, believe that is the best avenue forward on this one to ensure you get a good solution.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 18:45:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1758590#M590868</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-11-04T18:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sum If date condition</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1761485#M590869</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;To update i ended up using an if flag True false in the load and using this in set analysis.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp; for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;if( (Today()-[Last Order Date])&amp;gt;=90,True(),False() )as [RO&amp;gt;90FLAG],&lt;/P&gt;&lt;P&gt;expression in chart&lt;/P&gt;&lt;P&gt;Sum({&amp;lt; [RO&amp;gt;90FLAG] = {'-1'} &amp;gt;}[Stock Estimated Balance RO] * ([RO Invoice Item Unit Price] * 0.9021000 ))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this may help somebody going forward.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 10:14:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-If-date-condition/m-p/1761485#M590869</guid>
      <dc:creator>davyqliks</dc:creator>
      <dc:date>2020-11-13T10:14:14Z</dc:date>
    </item>
  </channel>
</rss>

