<?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: How create specific chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-create-specific-chart/m-p/755751#M534350</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for answer.&lt;/P&gt;&lt;P&gt;I have another one question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When product have 3 different code and I want create stacked chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Clik 2013&lt;/P&gt;&lt;P&gt;Chart have main bar with sum for 2013 for stacked 3 different codes.&lt;/P&gt;&lt;P&gt;Different bars have stacked value for YTD2013, YTD2014, YTD2015&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Mar 2015 22:32:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-06T22:32:08Z</dc:date>
    <item>
      <title>How create specific chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-create-specific-chart/m-p/755745#M534344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm beginner of QlikView.&lt;/P&gt;&lt;P&gt;I have a problem to create chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want display lastYear column and lastHalfYear column and one year eariler second column. All in one chart.&lt;/P&gt;&lt;P&gt;My aim is in attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try add calculated dimension. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= if (right(halfYear, 4)='2013', dual(Year(Today())-2,Year),&lt;/P&gt;&lt;P&gt;if (right(halfYear, 2)='6/', dual('YTD'&amp;amp;halfYear,halfYear) ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should I in different way read data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 08:10:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-create-specific-chart/m-p/755745#M534344</guid>
      <dc:creator />
      <dc:date>2015-03-06T08:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: How create specific chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-create-specific-chart/m-p/755746#M534345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Provide sample data.. will try to work on this..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 08:12:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-create-specific-chart/m-p/755746#M534345</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-03-06T08:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: How create specific chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-create-specific-chart/m-p/755747#M534346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension time&lt;/P&gt;&lt;P&gt;For every type(in example data only one) caluclate SUM(amount*price).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 13:17:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-create-specific-chart/m-p/755747#M534346</guid>
      <dc:creator />
      <dc:date>2015-03-06T13:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: How create specific chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-create-specific-chart/m-p/755748#M534347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a sample&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if you are unable to open the QVW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 15:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-create-specific-chart/m-p/755748#M534347</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-03-06T15:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: How create specific chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-create-specific-chart/m-p/755749#M534348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't open this document. I don't have named user cal license.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 16:45:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-create-specific-chart/m-p/755749#M534348</guid>
      <dc:creator />
      <dc:date>2015-03-06T16:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: How create specific chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-create-specific-chart/m-p/755750#M534349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. so my script is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yearMonth,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; halfYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; quarter,&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp; [code ] as Code,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; productName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; amount,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; price&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a variable vLastYear with an expression:&amp;nbsp;&amp;nbsp; =max({1} year)-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And my chart has no dimensions and 3 expressions .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression 1;&amp;nbsp; sum( {$&amp;lt;year={$(vLastYear)}&amp;gt;} amount * price) &lt;/P&gt;&lt;P&gt;Expression 2: sum( {$&amp;lt;year={$(vLastYear)},month={"&amp;lt;=6"}&amp;gt;} amount * price) &lt;/P&gt;&lt;P&gt;Expresion 3: sum( {$&amp;lt;year={$(=vLastYear-1)},month={"&amp;lt;=6"}&amp;gt;} amount * price) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can also put an expression in the label too:&amp;nbsp; &lt;/P&gt;&lt;P&gt;Expression 1 label: $(vLastYear)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Expression 2 label: $(vLastYear) &amp;amp; '6'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Expression 3 label: $(=vLastYear-1) &amp;amp; '6'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/80155_Capture.PNG" style="height: 272px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 16:53:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-create-specific-chart/m-p/755750#M534349</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-03-06T16:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: How create specific chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-create-specific-chart/m-p/755751#M534350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for answer.&lt;/P&gt;&lt;P&gt;I have another one question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When product have 3 different code and I want create stacked chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Clik 2013&lt;/P&gt;&lt;P&gt;Chart have main bar with sum for 2013 for stacked 3 different codes.&lt;/P&gt;&lt;P&gt;Different bars have stacked value for YTD2013, YTD2014, YTD2015&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 22:32:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-create-specific-chart/m-p/755751#M534350</guid>
      <dc:creator />
      <dc:date>2015-03-06T22:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: How create specific chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-create-specific-chart/m-p/755752#M534351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aim is in *.png file in first post.&lt;/P&gt;&lt;P&gt;Anyone can help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 08:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-create-specific-chart/m-p/755752#M534351</guid>
      <dc:creator />
      <dc:date>2015-03-09T08:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: How create specific chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-create-specific-chart/m-p/755753#M534352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the same script, but you need to add a synthetic dimension and instead of 3 expressions, use 1 conditional expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Add a new 'calculated dimension' to the chart and promote it to be the first dimension. The formula for the calcualted dimension will be a synthetic dimension as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=ValueList('CurYear','LastYearYTD','2YearsYTD')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also add a product dimension and ensure its 2nd (from the top) in the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Delete all the expressions and add a new expression with the following conditional formula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ValueList('CurYear','LastYearYTD','2YearsYTD')='CurYear',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum( {$&amp;lt;year={$(vLastYear)}&amp;gt;} amount * price)&amp;nbsp; ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( ValueList('CurYear','LastYearYTD','2YearsYTD') = 'LastYearYTD',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum( {$&amp;lt;year={$(vLastYear)},month={"&amp;lt;=6"}&amp;gt;} amount * price)&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum( {$&amp;lt;year={$(=vLastYear-1)},month={"&amp;lt;=6"}&amp;gt;} amount * price)&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also put the following dynamic label formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; ValueList('CurYear','LastYearYTD','2YearsYTD')='CurYear',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(vLastYear)&amp;nbsp; ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( ValueList('CurYear','LastYearYTD','2YearsYTD') = 'LastYearYTD',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(=vLastYear-1) &amp;amp; ' - 6'&amp;nbsp; ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(=vLastYear-2) &amp;amp; ' - 6' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. on the style tab, change from 'grouped' to 'stacked'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/80259_Capture.PNG" style="height: 277px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 13:58:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-create-specific-chart/m-p/755753#M534352</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-03-09T13:58:06Z</dc:date>
    </item>
  </channel>
</rss>

