<?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: Problem on data visualization in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-on-data-visualization/m-p/1653043#M731467</link>
    <description>&lt;P&gt;Move the customer selection from the dimension to the set expression, Something like this:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({$&amp;lt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; [Invoice year] = {'2019'}, &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; [Customer n] = P({&amp;lt;[Invoice Date] = {"$(=Date(Today() - 7))"}&amp;gt;} [Customer n])&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;gt;} [Invoice value])&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Dec 2019 11:08:04 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2019-12-02T11:08:04Z</dc:date>
    <item>
      <title>Problem on data visualization</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-on-data-visualization/m-p/1653035#M731465</link>
      <description>&lt;P&gt;Dear value community,&lt;/P&gt;&lt;P&gt;I have a problem on the visulization of a data in a simple chart.&lt;/P&gt;&lt;P&gt;I want to display as dimension only the customer with an Invoice in the last 7 days, I made this formula as calculated dimension:&lt;/P&gt;&lt;P&gt;=if([Invoice Date]&amp;gt;Today()-7, [Customer n])&lt;/P&gt;&lt;P&gt;As Expression, I want to see the Invoice value of total year 2019.&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Invoice year]={'2019'}&amp;gt;} [Invoice value] )&lt;/P&gt;&lt;P&gt;The problem that occur is that the expression display only the Invoice value of the last 7 days, not of the total year.&lt;/P&gt;&lt;P&gt;How can I fix the formulas?&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Andrea&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>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-on-data-visualization/m-p/1653035#M731465</guid>
      <dc:creator>andyrebs</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem on data visualization</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-on-data-visualization/m-p/1653039#M731466</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;take the Dimension as Customer&lt;/P&gt;&lt;P&gt;and u can add your calculated expression into Set analysis&lt;/P&gt;&lt;P&gt;i mean&amp;nbsp;&lt;SPAN&gt;[Invoice Date]&amp;gt;Today()-7 add this also into your set analysis.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 11:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-on-data-visualization/m-p/1653039#M731466</guid>
      <dc:creator>ramasaisaksoft</dc:creator>
      <dc:date>2019-12-02T11:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem on data visualization</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-on-data-visualization/m-p/1653043#M731467</link>
      <description>&lt;P&gt;Move the customer selection from the dimension to the set expression, Something like this:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({$&amp;lt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; [Invoice year] = {'2019'}, &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; [Customer n] = P({&amp;lt;[Invoice Date] = {"$(=Date(Today() - 7))"}&amp;gt;} [Customer n])&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;gt;} [Invoice value])&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 11:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-on-data-visualization/m-p/1653043#M731467</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-12-02T11:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem on data visualization</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-on-data-visualization/m-p/1653048#M731468</link>
      <description>&lt;P&gt;Hi Andrea,&lt;/P&gt;&lt;P&gt;if I understood correctly: you want to display for each customer: the sum of the [Invoice value] for the year 2019&lt;/P&gt;&lt;P&gt;so for dimension: OK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;=if([Invoice Date]&amp;gt;Today()-7, [customer])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for Expression I propose :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;=sum(aggr(sum({$&amp;lt;[Invoice year]={'2019'}&amp;gt;}  [Invoice value]),customer) )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did the test on the data source:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;LOAD * INLINE [
    customer, Invoice Date,Invoice year, Invoice value
    1, 01/12/2018,2018, 100
    2, 31/10/2019,2019 ,200
    3, 27/11/2019,2019, 300
    4, 28/11/2019,2019, 400
    4, 29/11/2019,2019, 250
    4, 29/11/2018,2018, 150
];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the results:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="datt.PNG" style="width: 561px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24715i8559DC31D7A50823/image-size/large?v=v2&amp;amp;px=999" role="button" title="datt.PNG" alt="datt.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 11:18:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-on-data-visualization/m-p/1653048#M731468</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2019-12-02T11:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem on data visualization</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-on-data-visualization/m-p/1653164#M731469</link>
      <description>&lt;P&gt;Thank you Taoufiq ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You understood correctly. Your answer is solved my problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 14:26:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-on-data-visualization/m-p/1653164#M731469</guid>
      <dc:creator>andyrebs</dc:creator>
      <dc:date>2019-12-02T14:26:02Z</dc:date>
    </item>
  </channel>
</rss>

