<?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 Dates - Line Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dates-Line-Chart/m-p/809252#M285622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me figure out how to properly represent dates on my line chart? &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Default settings: &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;Dimension:&lt;/STRONG&gt; &lt;/P&gt;&lt;UL style="padding-left: 30px;"&gt;&lt;UL&gt;&lt;LI&gt;Time_Period &lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;Expression (default settings): &lt;/STRONG&gt;&lt;/P&gt;&lt;UL style="padding-left: 30px;"&gt;&lt;UL&gt;&lt;LI&gt;Rev Current Year (last 13 month) - =SUM({&amp;lt;month_offset={[&amp;gt;=-13&amp;lt;0]}&amp;gt;}sum_full_sell_price_usd_budget_current)/1000.&lt;/LI&gt;&lt;LI&gt;Rev Last Year (Last 26 month) =SUM({&amp;lt;month_offset={[&amp;gt;=-26&amp;lt;0]}&amp;gt;}sum_full_sell_price_usd_budget_current)/1000.&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;I also have built a "calendar" dimension table &lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;YTD&lt;/LI&gt;&lt;LI&gt;Fiscal YTD&lt;/LI&gt;&lt;LI&gt;QTD&lt;/LI&gt;&lt;LI&gt;MTD&lt;/LI&gt;&lt;LI&gt;Last 13 Month &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now when user launches his report the default settings work as expected, the two lines represent last 13/last 26 month. &lt;/P&gt;&lt;P&gt;But as soon as they click on one of the calendar dimensions (i,e, YTD) the second line doesn't work. What function or formula should i be using? Please help &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Nov 2014 16:49:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-24T16:49:00Z</dc:date>
    <item>
      <title>Dates - Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-Line-Chart/m-p/809252#M285622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me figure out how to properly represent dates on my line chart? &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Default settings: &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;Dimension:&lt;/STRONG&gt; &lt;/P&gt;&lt;UL style="padding-left: 30px;"&gt;&lt;UL&gt;&lt;LI&gt;Time_Period &lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;Expression (default settings): &lt;/STRONG&gt;&lt;/P&gt;&lt;UL style="padding-left: 30px;"&gt;&lt;UL&gt;&lt;LI&gt;Rev Current Year (last 13 month) - =SUM({&amp;lt;month_offset={[&amp;gt;=-13&amp;lt;0]}&amp;gt;}sum_full_sell_price_usd_budget_current)/1000.&lt;/LI&gt;&lt;LI&gt;Rev Last Year (Last 26 month) =SUM({&amp;lt;month_offset={[&amp;gt;=-26&amp;lt;0]}&amp;gt;}sum_full_sell_price_usd_budget_current)/1000.&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;I also have built a "calendar" dimension table &lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;YTD&lt;/LI&gt;&lt;LI&gt;Fiscal YTD&lt;/LI&gt;&lt;LI&gt;QTD&lt;/LI&gt;&lt;LI&gt;MTD&lt;/LI&gt;&lt;LI&gt;Last 13 Month &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now when user launches his report the default settings work as expected, the two lines represent last 13/last 26 month. &lt;/P&gt;&lt;P&gt;But as soon as they click on one of the calendar dimensions (i,e, YTD) the second line doesn't work. What function or formula should i be using? Please help &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 16:49:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-Line-Chart/m-p/809252#M285622</guid>
      <dc:creator />
      <dc:date>2014-11-24T16:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dates - Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-Line-Chart/m-p/809253#M285623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just specify time fields that don't have to work for this chart, modify your expressions like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dimension:&lt;/STRONG&gt; &lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;Time_Period &lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="padding-left: 30px;"&gt;&lt;STRONG&gt;Expression (example): &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;Rev Current Year (last 13 month)&amp;nbsp; =SUM({&amp;lt;month_offset={[&amp;gt;=-13&amp;lt;0]}, Year=,Month=, Day=,YTD=&amp;gt;}sum_full_sell_price_usd_budget_current)/1000.&lt;/LI&gt;&lt;LI&gt;Rev Last Year (Last 26 month) =SUM({&amp;lt;month_offset={[&amp;gt;=-26&amp;lt;0]}, Year=,Month=, Day=,YTD=&amp;gt;}sum_full_sell_price_usd_budget_current)/1000.&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in above example I set time fields (I supouse you have Year, Month and Day Fields) = nothing (exclude them from selections)&amp;nbsp; but If you have more just include them in set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I you can attach an example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 17:10:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-Line-Chart/m-p/809253#M285623</guid>
      <dc:creator />
      <dc:date>2014-11-24T17:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dates - Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-Line-Chart/m-p/809254#M285624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oswaldo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am almost there and your explanation makes sense! The formula densest work What else can i try? &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression: &lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;=SUM({&amp;lt;month_offset={[&amp;gt;=-13&amp;lt;0]},fiscal_quarter={[&amp;gt;=-13&amp;lt;0]},{&amp;lt;month_name={[&amp;gt;=-13&amp;lt;0]},{&amp;lt;month_start_date={[&amp;gt;=-13&amp;lt;0]},{&amp;lt;QTD={[&amp;gt;=-13&amp;lt;0}&amp;gt;} sum_full_sell_price_usd_budget_current)/1000.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 17:39:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-Line-Chart/m-p/809254#M285624</guid>
      <dc:creator />
      <dc:date>2014-11-24T17:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dates - Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-Line-Chart/m-p/809255#M285625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Field" + "=" + "," should works but you can try with out equal sign and use just dimension name like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Rev Current Year (last 13 month)&amp;nbsp; =SUM({&amp;lt;month_offset={[&amp;gt;=-13&amp;lt;0]}, Year,Month, Day,YTD&amp;gt;}sum_full_sell_price_usd_budget_current)/1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I you can attach an example to test with the same qvw &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 17:53:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-Line-Chart/m-p/809255#M285625</guid>
      <dc:creator />
      <dc:date>2014-11-24T17:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dates - Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-Line-Chart/m-p/809256#M285626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The same result, densest like the commas. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 19:04:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-Line-Chart/m-p/809256#M285626</guid>
      <dc:creator />
      <dc:date>2014-11-24T19:04:36Z</dc:date>
    </item>
  </channel>
</rss>

