<?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: Less/greater than a variable data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931005#M467186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried, but it doesn't work yet. Maybe I'm wrong with my formula:&lt;/P&gt;&lt;P&gt;Sum(aggr(rangesum(above(total sum({&amp;lt;[Rata Aperta/Chiusa]={'APERTA'}&amp;gt;}&lt;/P&gt;&lt;P&gt;([Importo Rata Corretto]*([Importo Carico]/[Importo EM TOT NO IVA_Corretto])/1000000)),0,12)),DataMonthYear))&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;Sum(aggr(rangesum(above(total sum({&amp;lt;[Rata Aperta/Chiusa]={'CHIUSA'},&lt;SPAN style="color: #ff0000;"&gt; Flag={1}&lt;/SPAN&gt; &amp;gt;}&lt;/P&gt;&lt;P&gt;([Importo Rata Corretto]*([Importo Carico]/[Importo EM TOT NO IVA_Corretto])/1000000)),0,12)),DataMonthYear))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's what I would like to display:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled3.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/107898_Untitled3.png" style="height: 298px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the new qvw with the script:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *, If( [Data Documento Fattura] &amp;gt; MonthEnd(Data)-1 and [Data Pagamento Rata] &amp;lt;= MonthEnd(Data) ,1,0) As Flag;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Dec 2015 18:49:24 GMT</pubDate>
    <dc:creator>caccio88</dc:creator>
    <dc:date>2015-12-02T18:49:24Z</dc:date>
    <item>
      <title>Less/greater than a variable data</title>
      <link>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/930997#M467178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to compare in set analysis a "DateField" with a variable MonthYear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. I can calculate the last 12 month value for every month (in Aug15 I display the sum of value from Aug15 to Sep14) with also an if condition. But I would like to insert another condition linked with a&amp;nbsp; "DateField" great/less than a MonthYear and I can't do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the "wrong" example of my expression, in this case I'm trying to explain what I'm looking for in Aug15:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(aggr(rangesum(above(total sum({&amp;lt;[Rata Aperta/Chiusa]={'APERTA'} , &lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;datamonthyear(&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;[Data Pagamento Rata])={"&amp;gt;Aug15"}, &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;&lt;STRONG style="color: #ff0000;"&gt;datamonthyear(&lt;/STRONG&gt;[Data Documento Fattura])=&lt;STRONG style="color: #ff0000;"&gt;{"&amp;lt;Sep15"}&lt;/STRONG&gt;&lt;/STRONG&gt;&amp;gt;} ([Importo Rata Corretto]*([Importo Carico]/[Importo EM TOT NO IVA_Corretto])/1000000)),0,12)),&lt;/P&gt;&lt;P&gt;DataMonthYear))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like that the expression works for every MonthYear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it's clear enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach here my qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx so much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 14:26:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/930997#M467178</guid>
      <dc:creator>caccio88</dc:creator>
      <dc:date>2015-12-01T14:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Less/greater than a variable data</title>
      <link>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/930998#M467179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/107762_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 18:07:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/930998#M467179</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2015-12-01T18:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Less/greater than a variable data</title>
      <link>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/930999#M467180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thanks Sinan,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;but is not exactly what I'm looking for.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Your solution is about a static case, August 15, where &lt;STRONG&gt;[Data Pagamento Rata] &lt;/STRONG&gt;must be greater than 2015-09-01 and &lt;STRONG&gt;[Data Documento Fattura]&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;must be less than 2015-09-01.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;But in the case of July 15, &lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;[Data Pagamento Rata] &lt;/STRONG&gt;must be greater than 2015-08-01 and &lt;STRONG&gt;[Data Documento Fattura]&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;must be less than 2015-08-01.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;So what we need in the set analysis is to create a variable date and insert it. No fixed date like 2015-08-01, but something that works with a condition.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Is a bit clearer now?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;sunindia&lt;/A&gt;‌ have u ever implemented something like that?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 18:50:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/930999#M467180</guid>
      <dc:creator>caccio88</dc:creator>
      <dc:date>2015-12-01T18:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Less/greater than a variable data</title>
      <link>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931000#M467181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added two variables via an input box:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="107778" alt="capture.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/107778_capture.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 19:30:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931000#M467181</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2015-12-01T19:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Less/greater than a variable data</title>
      <link>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931001#M467182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not what i'm looking for.&lt;/P&gt;&lt;P&gt;Maybe i'm not good about explaining my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled2.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/107836_Untitled2.png" style="height: 241px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;In the red square there are the right value that i would like to see in the same table. The issue is to create a variable date that changes for every DataMonthYear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here my qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/96544"&gt;gwassenaar&lt;/A&gt;‌ have u ever seen something like that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 10:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931001#M467182</guid>
      <dc:creator>caccio88</dc:creator>
      <dc:date>2015-12-02T10:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Less/greater than a variable data</title>
      <link>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931002#M467183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The set in a set analysis expression is calculated at the chart level, not at the row level. That's why what you're trying isn't working. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps you can calculate it in the script in a preceding load since all the fields you need seem to be part of the Facts table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Facts:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *, If( [Data Documento Fattura] &amp;gt; MonthEnd(Data)-1 and [Data Pagamento Rata] &amp;lt;= MonthEnd(Data) ,1,0) As Flag;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;"REP_ID" as [ID Negozio],&lt;/P&gt;&lt;P&gt;text("ART_ID") as [ID Articolo],&lt;/P&gt;&lt;P&gt;&lt;EM&gt;....etc...&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 17:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931002#M467183</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-12-02T17:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Less/greater than a variable data</title>
      <link>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931003#M467184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/96544"&gt;gwassenaar&lt;/A&gt;‌ for your help, but I haven't got it yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How should I insert "Flag" in the formula of chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 18:06:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931003#M467184</guid>
      <dc:creator>caccio88</dc:creator>
      <dc:date>2015-12-02T18:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Less/greater than a variable data</title>
      <link>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931004#M467185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use&lt;STRONG&gt; &lt;/STRONG&gt;this set selector&lt;STRONG&gt; &lt;/STRONG&gt;{&amp;lt;Flag={1}&amp;gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 18:12:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931004#M467185</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-12-02T18:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Less/greater than a variable data</title>
      <link>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931005#M467186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried, but it doesn't work yet. Maybe I'm wrong with my formula:&lt;/P&gt;&lt;P&gt;Sum(aggr(rangesum(above(total sum({&amp;lt;[Rata Aperta/Chiusa]={'APERTA'}&amp;gt;}&lt;/P&gt;&lt;P&gt;([Importo Rata Corretto]*([Importo Carico]/[Importo EM TOT NO IVA_Corretto])/1000000)),0,12)),DataMonthYear))&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;Sum(aggr(rangesum(above(total sum({&amp;lt;[Rata Aperta/Chiusa]={'CHIUSA'},&lt;SPAN style="color: #ff0000;"&gt; Flag={1}&lt;/SPAN&gt; &amp;gt;}&lt;/P&gt;&lt;P&gt;([Importo Rata Corretto]*([Importo Carico]/[Importo EM TOT NO IVA_Corretto])/1000000)),0,12)),DataMonthYear))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's what I would like to display:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled3.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/107898_Untitled3.png" style="height: 298px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the new qvw with the script:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *, If( [Data Documento Fattura] &amp;gt; MonthEnd(Data)-1 and [Data Pagamento Rata] &amp;lt;= MonthEnd(Data) ,1,0) As Flag;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 18:49:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931005#M467186</guid>
      <dc:creator>caccio88</dc:creator>
      <dc:date>2015-12-02T18:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Less/greater than a variable data</title>
      <link>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931006#M467187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;LOAD *, If( [Data Documento Fattura] &amp;gt; MonthEnd(Data)-1 and [Data Pagamento Rata] &amp;lt;= MonthEnd(Data) ,1,0) As Flag;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hmm, I think that's a mistake by me. It should be the other way around:&lt;/P&gt;&lt;P&gt;LOAD *, If( [Data Pagamento Rata] &amp;gt; MonthEnd(Data)-1 and [Data Documento Fattura] &amp;lt;= MonthEnd(Data) ,1,0) As Flag;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 19:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931006#M467187</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-12-02T19:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Less/greater than a variable data</title>
      <link>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931007#M467188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems that doesn't work yet...this is from loading the new script:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled5.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/107904_Untitled5.png" style="height: 305px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Is the expression of the chart "Case Flag" correct?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(aggr(rangesum(above(total sum({&amp;lt;[Rata Aperta/Chiusa]={'APERTA'}&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;([Importo Rata Corretto]*([Importo Carico]/[Importo EM TOT NO IVA_Corretto])/1000000)),0,12)),DataMonthYear))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(aggr(rangesum(above(total sum({&amp;lt;[Rata Aperta/Chiusa]={'CHIUSA'}, Flag={1} &amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;([Importo Rata Corretto]*([Importo Carico]/[Importo EM TOT NO IVA_Corretto])/1000000)),0,12)),DataMonthYear))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Here the qvw with the load of the new script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 21:49:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931007#M467188</guid>
      <dc:creator>caccio88</dc:creator>
      <dc:date>2015-12-02T21:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Less/greater than a variable data</title>
      <link>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931008#M467189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/96544"&gt;gwassenaar&lt;/A&gt;‌, no idea about my issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 09:09:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931008#M467189</guid>
      <dc:creator>caccio88</dc:creator>
      <dc:date>2015-12-04T09:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Less/greater than a variable data</title>
      <link>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931009#M467190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some. You can try a pick-match combination to construct an expression that will calculate a different set analysis sub-expression for each month. See this document: &lt;A href="https://community.qlik.com/docs/DOC-1335"&gt;Evaluating "sets" in the context of a dimension&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 17:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931009#M467190</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-12-04T17:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Less/greater than a variable data</title>
      <link>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931010#M467191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/96544"&gt;gwassenaar&lt;/A&gt;‌, thank for your help! I tried 3 days to understand the paper that you suggested to me, but with my Qlikview knowledge I can't understand how I can put that in my data model.&lt;/P&gt;&lt;P&gt;Could you please help me and explain how I can use the solutions in the paper in my data model. I completely going crazy about that. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 08:52:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931010#M467191</guid>
      <dc:creator>caccio88</dc:creator>
      <dc:date>2015-12-09T08:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Less/greater than a variable data</title>
      <link>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931011#M467192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, any idea about my issue?&lt;/P&gt;&lt;P&gt;Anyone have ever seen something like that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/96544"&gt;gwassenaar&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/10670"&gt;maxgro&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;sunindia&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2015 17:04:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931011#M467192</guid>
      <dc:creator>caccio88</dc:creator>
      <dc:date>2015-12-10T17:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Less/greater than a variable data</title>
      <link>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931012#M467193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excuses for the late reply. I was kinda busy this week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pick(Match(DataMonthYear, $(=concat({&amp;lt;DataMonthYear={'*'}&amp;gt;}distinct&amp;nbsp; chr(39) &amp;amp;&amp;nbsp; DataMonthYear &amp;amp; chr(39),',',Period))),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(=concat({&amp;lt;DataMonthYear={'*'}&amp;gt;}distinct&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Sum(aggr(rangesum(above(total sum({&amp;lt;[Rata Aperta/Chiusa]={"APERTA"}&amp;gt;}([Importo Rata Corretto]*([Importo Carico]/[Importo EM TOT NO IVA_Corretto])/1000000)),0,12)),DataMonthYear))&lt;/P&gt;&lt;P&gt;&amp;nbsp; +Sum(aggr(rangesum(above(total sum({&amp;lt;[Rata Aperta/Chiusa]={"CHIUSA"}, [Data Pagamento Rata] = {"&amp;gt;' &amp;amp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; Num(AddMonths(Period,1)-1)&amp;nbsp; &amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; '"}, [Data Documento Fattura] = {"&amp;lt;' &amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Num(AddMonths(Period,1)) &amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; '"} &amp;gt;}([Importo Rata Corretto]*([Importo Carico]/[Importo EM TOT NO IVA_Corretto])/1000000)),0,12)),DataMonthYear))'&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; , ','&lt;/P&gt;&lt;P&gt;&amp;nbsp; , Period)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't see or understand at first glance what it does then don't worry. This is a quite advanced trick. First read the help file to understand what the pick and match functions do. Then put the concat expressions in separate text boxes to see what these do. The first creates a comma separated list of DataMonthYear values that can be used in the Match function. The second create a comma separated list of expressions for the Pick function so a DateMonthYear is matched with the correct expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 18:04:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-greater-than-a-variable-data/m-p/931012#M467193</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-12-11T18:04:27Z</dc:date>
    </item>
  </channel>
</rss>

