<?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: Show Value on Line Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-Value-on-Line-Chart/m-p/613283#M226291</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm....I have all the data, so not sure why it wouldn't display when cleared. It's not a major issue, as something is always selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the next trick is how then would I see over the selected time frame, the Max Expression and the Min Expression, irrespective of where in the timeframe these point lie. The expression being the number of position in this case, but it could be any expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what I want to see is if I select a timefrme of 2013-2014, I want to see on the line chart the values of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Number of Positoins at the end of the timeframe (max Ladder_date)&lt;/P&gt;&lt;P&gt;Max Number of Positions over the timeframe&lt;/P&gt;&lt;P&gt;Min Number of Positions over the timeframe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Feb 2014 15:53:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-02-20T15:53:19Z</dc:date>
    <item>
      <title>Show Value on Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Value-on-Line-Chart/m-p/613276#M226284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I have a line chart of the number of positions in a portfolio over time. The chart is a combo chart with the dimension of date and three expressions. Number of Longs, Number of Shorts and Total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ONLY want to see the value on the line chart for each expression at the very latest point. How can I achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently for each expression I have the following under the "Show Value" attribute of each expression: if(Ladder_Date='2014-02-20',1,0). But I don't want to hard code the date in all the time. I want the date to be maximum date in the selection. How can I achieve this in the show value attribute?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 15:21:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Value-on-Line-Chart/m-p/613276#M226284</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-20T15:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Show Value on Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Value-on-Line-Chart/m-p/613277#M226285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Ladder_Date=max(Ladder_Date),1,0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 15:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Value-on-Line-Chart/m-p/613277#M226285</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-02-20T15:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Show Value on Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Value-on-Line-Chart/m-p/613278#M226286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2014/01/10/line-charts-tricks" title="http://community.qlik.com/blogs/qlikviewdesignblog/2014/01/10/line-charts-tricks"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2014/01/10/line-charts-tricks&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 15:29:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Value-on-Line-Chart/m-p/613278#M226286</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-20T15:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Show Value on Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Value-on-Line-Chart/m-p/613279#M226287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marcus, but when I do that it shows me the value for each date on the line chart. I just want to see it for the latest ladder_date of my selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 15:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Value-on-Line-Chart/m-p/613279#M226287</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-20T15:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Show Value on Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Value-on-Line-Chart/m-p/613280#M226288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should work if you do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if(Ladder_Date=max(TOTAL Ladder_Date),1,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Steve&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 15:31:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Value-on-Line-Chart/m-p/613280#M226288</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-02-20T15:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Show Value on Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Value-on-Line-Chart/m-p/613281#M226289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Steve - That seems to work in all scenarios except when nothing is selected. When I clear, I don't see any values. But if I filter on a portfolio or a range of ladder_dates it works perfectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 15:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Value-on-Line-Chart/m-p/613281#M226289</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-20T15:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Show Value on Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Value-on-Line-Chart/m-p/613282#M226290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you have dates beyond the end of your data - the TOTAL will take those into account as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if(Ladder_Date=max({&amp;lt;Long={'&amp;lt;&amp;gt;0'}&amp;gt;}TOTAL Ladder_Date),1,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;To match only dates that you have values for (assuming you will always have a Long value in the last period on the chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Steve&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 15:44:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Value-on-Line-Chart/m-p/613282#M226290</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-02-20T15:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Show Value on Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Value-on-Line-Chart/m-p/613283#M226291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm....I have all the data, so not sure why it wouldn't display when cleared. It's not a major issue, as something is always selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the next trick is how then would I see over the selected time frame, the Max Expression and the Min Expression, irrespective of where in the timeframe these point lie. The expression being the number of position in this case, but it could be any expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what I want to see is if I select a timefrme of 2013-2014, I want to see on the line chart the values of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Number of Positoins at the end of the timeframe (max Ladder_date)&lt;/P&gt;&lt;P&gt;Max Number of Positions over the timeframe&lt;/P&gt;&lt;P&gt;Min Number of Positions over the timeframe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 15:53:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Value-on-Line-Chart/m-p/613283#M226291</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-20T15:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Show Value on Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Value-on-Line-Chart/m-p/613284#M226292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What the expression with the set analysis date is trying to do is check the last date of your line chart.&amp;nbsp; You could create a text box with the following in to see what date it will try and show the labels for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;=max({&amp;lt;Long={'&amp;lt;&amp;gt;0'}&amp;gt;}TOTAL Ladder_Date)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If the result of that doesn't match the last date of your dimension the expression will need to change.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Positions at the end of timeframe will be something like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;=count({&amp;lt;Ladder_Date={'$(=max({&amp;lt;Long={'&amp;lt;&amp;gt;0'}&amp;gt;}Ladder_Date))'}&amp;gt;} DISTINCT Positions)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;The max and min will require Aggr, try:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;=max(aggr(count(DISTINCT Positions), Ladder_Date))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: bold;"&gt;=if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: bold;"&gt;min(aggr(count(DISTINCT Positions), Ladder_Date)) = 0,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: bold;"&gt;&amp;nbsp; min(aggr(count(DISTINCT Positions), Ladder_Date), 2),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: bold;"&gt;min(aggr(count(DISTINCT Positions), Ladder_Date)&lt;/SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: bold;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;The extra code on the min is because I presume that you will want to ignore any where the count of Positions is zero?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: bold;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope that helps,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Steve&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 21:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Value-on-Line-Chart/m-p/613284#M226292</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-02-20T21:26:37Z</dc:date>
    </item>
  </channel>
</rss>

