<?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 Selection causes problem with dimension in Minichart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Selection-causes-problem-with-dimension-in-Minichart/m-p/207542#M63267</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like you say with your set analysis you reduce the values in the minichart according to the selections of the user and if they select a year and a quarter you are only going to see one data point. Try erasing the selections in set analysis like in the following example.&lt;/P&gt;&lt;P&gt;count({&amp;lt;[Fiscal Year]=,[Fiscal Quarter]=&amp;gt;}counterOTDp)&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Nov 2010 22:13:17 GMT</pubDate>
    <dc:creator>pover</dc:creator>
    <dc:date>2010-11-30T22:13:17Z</dc:date>
    <item>
      <title>Selection causes problem with dimension in Minichart</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-causes-problem-with-dimension-in-Minichart/m-p/207541#M63266</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 use Set Analysis to calculate the OTD based on the [Fiscal Year] and [Fiscal Quarter] that the user selects.&lt;/P&gt;&lt;P&gt;1-(count({&amp;lt;[OTD Promise Late]={'100.00'},[Fiscal Year]={"$(&lt;B&gt;=&lt;/B&gt;GetFieldSelections([Fiscal Year]))"},[Fiscal Quarter]={"$(&lt;B&gt;=&lt;/B&gt;GetFieldSelections([Fiscal Quarter]))"}&amp;gt;}counterOTDp)/count({&amp;lt;[Fiscal Year]={"$(&lt;B&gt;=&lt;/B&gt;GetFieldSelections([Fiscal Year]))"},[Fiscal Quarter]={"$(&lt;B&gt;=&lt;/B&gt;GetFieldSelections([Fiscal Quarter]))"}&amp;gt;}counterOTDp))&lt;/P&gt;&lt;P&gt;I also want to show the historic OTD per quarter as a Minichart in the same Straight Table&lt;/P&gt;&lt;P&gt;1-(count({&amp;lt;[OTD Promise Late]={'100.00'},[Fiscal Year]={"$(&lt;B&gt;&amp;lt;&lt;/B&gt;GetFieldSelections([Fiscal Year]))"},[Fiscal Quarter]={"$(&lt;B&gt;&amp;lt;&lt;/B&gt;GetFieldSelections([Fiscal Quarter]))"}&amp;gt;}counterOTDp)/count({&amp;lt;[Fiscal Year]={"$(&lt;B&gt;&amp;lt;&lt;/B&gt;GetFieldSelections([Fiscal Year]))"},[Fiscal Quarter]={"$(&lt;B&gt;&amp;lt;&lt;/B&gt;GetFieldSelections([Fiscal Quarter]))"}&amp;gt;}counterOTDp))&lt;/P&gt;&lt;P&gt;The Minichart is plotted against a dimension called [Fiscal YearQuarter]&lt;/P&gt;&lt;P&gt;But I only get one value with this Set Analysis. I think the reason is that [Fiscal YaerQuarter] is reduced based on the [Fiscal Year] and [Fiscal Quarter] that the user selected.&lt;/P&gt;&lt;P&gt;Is there any way of solving this? Or have I made some other error?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Jonas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 20:35:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-causes-problem-with-dimension-in-Minichart/m-p/207541#M63266</guid>
      <dc:creator />
      <dc:date>2010-11-30T20:35:57Z</dc:date>
    </item>
    <item>
      <title>Selection causes problem with dimension in Minichart</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-causes-problem-with-dimension-in-Minichart/m-p/207542#M63267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like you say with your set analysis you reduce the values in the minichart according to the selections of the user and if they select a year and a quarter you are only going to see one data point. Try erasing the selections in set analysis like in the following example.&lt;/P&gt;&lt;P&gt;count({&amp;lt;[Fiscal Year]=,[Fiscal Quarter]=&amp;gt;}counterOTDp)&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 22:13:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-causes-problem-with-dimension-in-Minichart/m-p/207542#M63267</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-11-30T22:13:17Z</dc:date>
    </item>
    <item>
      <title>Selection causes problem with dimension in Minichart</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-causes-problem-with-dimension-in-Minichart/m-p/207543#M63268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Karl,&lt;/P&gt;&lt;P&gt;Your suggestions works. With your expression I get all the data points displayed in the minichart.&lt;/P&gt;&lt;P&gt;Is there anyway of writing the expression so that I can get the YearQuarter up-to the current selection?&lt;/P&gt;&lt;P&gt;Today I have data per Quarter from 2007 to 2010. If the user selects Q2-2009 I want the minichart to display&lt;/P&gt;&lt;P&gt;2007Q1&lt;BR /&gt;2007Q2&lt;BR /&gt;2007Q3&lt;BR /&gt;2007Q4&lt;BR /&gt;2008Q1&lt;BR /&gt;2008Q2&lt;BR /&gt;2008Q3&lt;BR /&gt;2008Q4&lt;BR /&gt;2009Q1&lt;/P&gt;&lt;P&gt;BR,&lt;BR /&gt;Jonas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Dec 2010 08:01:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-causes-problem-with-dimension-in-Minichart/m-p/207543#M63268</guid>
      <dc:creator />
      <dc:date>2010-12-01T08:01:55Z</dc:date>
    </item>
    <item>
      <title>Selection causes problem with dimension in Minichart</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-causes-problem-with-dimension-in-Minichart/m-p/207544#M63269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use set analysis to create a range to data. For example:&lt;/P&gt;&lt;P&gt;[Fiscal Year]=, [Fiscal Quarter]=, [Fiscal YearQuarter]={"&amp;lt;=$(#=quartername(max(Date)))"}&lt;/P&gt;&lt;P&gt;You still have to clear the selections of Year and Quarter that the user has made. The tricky part is the range in set analysis because the formula the range is based on "quartername(max(Date)))" has to be the same format as Fiscal YearQuarter and you will have to play with this part of the formula to make it work.&lt;/P&gt;&lt;P&gt;I recommend playing with it in a text object first and then when you have to correct value copy it to the minichart.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Dec 2010 22:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-causes-problem-with-dimension-in-Minichart/m-p/207544#M63269</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-12-01T22:39:15Z</dc:date>
    </item>
  </channel>
</rss>

