<?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 Using expressions in Graphs in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270173#M1206869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murali,&lt;/P&gt;&lt;P&gt;I checked your document and it is displaying both selected and previous year data when I change the 'Report On' selection.&lt;/P&gt;&lt;P&gt;I could not identify the issue you mentioned. Can you elaborate in detail?&lt;/P&gt;&lt;P&gt;-Haneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Aug 2010 09:43:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-10T09:43:20Z</dc:date>
    <item>
      <title>Using expressions in Graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270169#M1206861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am new to QlikView and having one issue while designing graphs. The issue is&lt;/P&gt;&lt;P&gt;I had a graph objects which display the sales data for the selected year and year - 1. The expresssions are as below.&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;({$&amp;lt;Year={&lt;B&gt;&lt;I&gt;$(=Max(Year))&lt;/I&gt;&lt;/B&gt;}&amp;gt;} [sales]) and Sum({$&amp;lt;Year={&lt;B&gt;&lt;I&gt;$(=Max(Year)-1)&lt;/I&gt;&lt;/B&gt;}&amp;gt;} [sales])&lt;/P&gt;&lt;P&gt;This works absolutely fine. Now I have added one expression to this. Here the ReportOn field is from an inline table which has no relation to the sales table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(ReportOn='Ledger',Sum({$&amp;lt;Year={&lt;B&gt;&lt;I&gt;$(=Max(Year)-1)&lt;/I&gt;&lt;/B&gt;}&amp;gt;} [Ledger sales]),Sum({$&amp;lt;Year={&lt;B&gt;&lt;I&gt;$(=Max(Year)-1)&lt;/I&gt;&lt;/B&gt;}&amp;gt;} [sales]))&lt;/P&gt;&lt;P&gt;This works only when I have not selected any date related filters in my report. If I select a date related filter (say 2009), only the first one works and second one doesn't refresh data. It always gives the [sales] column value.&lt;/P&gt;&lt;P&gt;Is there anything that I am missing in my expressions?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Murali&lt;/P&gt;(ReportOn='Ledger',Sum({$&amp;lt;Year={&lt;B&gt;&lt;I&gt;$(=Max(Year))&lt;/I&gt;&lt;/B&gt;}&amp;gt;} [Ledger sales]),Sum({$&amp;lt;Year={&lt;B&gt;&lt;I&gt;$(=Max(Year))&lt;/I&gt;&lt;/B&gt;}&amp;gt;} [sales])) &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 16:29:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270169#M1206861</guid>
      <dc:creator />
      <dc:date>2010-08-06T16:29:25Z</dc:date>
    </item>
    <item>
      <title>Using expressions in Graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270170#M1206863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murali,&lt;/P&gt;&lt;P&gt;Check your Year field. This is working fine with me see the attachment.&lt;/P&gt;&lt;P&gt;Shumail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Aug 2010 07:08:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270170#M1206863</guid>
      <dc:creator>shumailh</dc:creator>
      <dc:date>2010-08-08T07:08:01Z</dc:date>
    </item>
    <item>
      <title>Using expressions in Graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270171#M1206865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shumail,&lt;/P&gt;&lt;P&gt;Thanks for the quick response. I have updated your qvw file with the problem I am facing. Attached is the updated date.&lt;/P&gt;&lt;P&gt;Please note when I select a year and change the 'Report On' value, in the graph, only the selected year values are updating not the year-1 value.&lt;/P&gt;&lt;P&gt;Is this the default functionality of QlikView?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Murali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Aug 2010 13:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270171#M1206865</guid>
      <dc:creator />
      <dc:date>2010-08-09T13:16:36Z</dc:date>
    </item>
    <item>
      <title>Using expressions in Graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270172#M1206867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Could any one please help me with the above query.&lt;/P&gt;&lt;P&gt;I got struck with this and need to give an update on this ASAP.&lt;/P&gt;&lt;P&gt;If this is not possible using the existing table structure then please let me know.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Murali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 09:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270172#M1206867</guid>
      <dc:creator />
      <dc:date>2010-08-10T09:22:32Z</dc:date>
    </item>
    <item>
      <title>Using expressions in Graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270173#M1206869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murali,&lt;/P&gt;&lt;P&gt;I checked your document and it is displaying both selected and previous year data when I change the 'Report On' selection.&lt;/P&gt;&lt;P&gt;I could not identify the issue you mentioned. Can you elaborate in detail?&lt;/P&gt;&lt;P&gt;-Haneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 09:43:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270173#M1206869</guid>
      <dc:creator />
      <dc:date>2010-08-10T09:43:20Z</dc:date>
    </item>
    <item>
      <title>Using expressions in Graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270174#M1206871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check now, the graph was working fine. I put a data grid + in a graph value on data point + freeze the axis values.&lt;/P&gt;&lt;P&gt;Shumail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 09:48:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270174#M1206871</guid>
      <dc:creator>shumailh</dc:creator>
      <dc:date>2010-08-10T09:48:13Z</dc:date>
    </item>
    <item>
      <title>Using expressions in Graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270175#M1206873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Haneesh,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;The issue comes when you select a particular year and then change the 'Report On'.&lt;/P&gt;&lt;P&gt;For example, if you select year '2008' in the year list, the graph will show 2008 and 2007 data(two bars). After this if you change 'Report On' value, the graph data refreshes only for 2008 (bar in the graph) but not 2007 (bar in the graph).&lt;/P&gt;&lt;P&gt;I hope I am clear this time.&lt;/P&gt;&lt;P&gt;Once again thanks in advance for your help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Murali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 09:48:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270175#M1206873</guid>
      <dc:creator />
      <dc:date>2010-08-10T09:48:20Z</dc:date>
    </item>
    <item>
      <title>Using expressions in Graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270176#M1206875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murali,&lt;/P&gt;&lt;P&gt;I did the same selection and I can see current and previous year data even after changing 'Report On' selection. I used the document 'Graph MultiDimension1.qvw' attached in your last post.&lt;/P&gt;&lt;P&gt;selection: 2008, Non Ledger&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/2742.YEar.jpg"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/2742.YEar.jpg" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Selection: 2008, Ledger&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/7522.ledger.jpg"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/7522.ledger.jpg" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 09:56:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270176#M1206875</guid>
      <dc:creator />
      <dc:date>2010-08-10T09:56:20Z</dc:date>
    </item>
    <item>
      <title>Using expressions in Graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270177#M1206877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shumail,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;The problem still exists. Please check my example below.&lt;/P&gt;&lt;P&gt;The data is&lt;/P&gt;&lt;P&gt;Year - Sales - Ledger Sales&lt;/P&gt;&lt;P&gt;2008-2200-2100&lt;/P&gt;&lt;P&gt;2007-1800-2000&lt;/P&gt;&lt;P&gt;When you select year '2008' in the list box and change report on to 'Ledger', the graph shows 2007 (1800) and 2008(2100). Here is the problem as 2007 is showing sales instead it should refresh to ledger sales.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Murali&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 10:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270177#M1206877</guid>
      <dc:creator />
      <dc:date>2010-08-10T10:00:35Z</dc:date>
    </item>
    <item>
      <title>Using expressions in Graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270178#M1206879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Haneesh,&lt;/P&gt;&lt;P&gt;Please check in both cases 2007 value is 1800 only. But for ledger it has to be '2000' and for 'Non Ledger' it has to be '1800' when the year 2008 is selected in the list box.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Murali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 10:06:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270178#M1206879</guid>
      <dc:creator />
      <dc:date>2010-08-10T10:06:35Z</dc:date>
    </item>
    <item>
      <title>Using expressions in Graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270179#M1206881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murali,&lt;/P&gt;&lt;P&gt;I know this is not an absolute solution but i found this is working as u were asking... &lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;P&gt;Shumail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 10:18:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270179#M1206881</guid>
      <dc:creator>shumailh</dc:creator>
      <dc:date>2010-08-10T10:18:47Z</dc:date>
    </item>
    <item>
      <title>Using expressions in Graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270180#M1206883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shumail,&lt;/P&gt;&lt;P&gt;I am afraid, this is also not working.&lt;/P&gt;&lt;P&gt;When you select 2008 and 'Non Ledger', the Year-1 value is showing as 2000 but it should show 1800. This is same in table as well as graph.&lt;/P&gt;&lt;P&gt;Any advise?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Murali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 10:33:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-expressions-in-Graphs/m-p/270180#M1206883</guid>
      <dc:creator />
      <dc:date>2010-08-10T10:33:05Z</dc:date>
    </item>
  </channel>
</rss>

