<?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: Positive representation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310210#M114535</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's kind of big the file, mmm and I have tried some thing in the scripts but no answer &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached it, finally.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Feb 2012 12:50:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-02-24T12:50:13Z</dc:date>
    <item>
      <title>Positive representation</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310202#M114527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I have this model where I have this "piramidal" chart made of bars, ones positive and the others negative. I want to make that value positive in the X axe of the char.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides, i have this =IF(IsNUll(getfieldselections (Mes)),Date(Date#(Max(Mes),'MM'),'MM'),num(month(date#(getfieldselections (Mes),'MMM'))) ) to get the max month if there is no selection at all. Now, I want to insert that into this set analysis =Count(DISTINCT{$&amp;lt;[TipoFecha]={'Periodo'}, [Sexo]={M}&amp;gt;}[Identificación afiliado]), is used to draw one side of the barchart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Making a long story short, I want to use that conditional in the set analysis so when I don't have anything selected, the chart can show me the max month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Selection.png" class="jive-image-thumbnail jive-image" height="494" onclick="" src="https://community.qlik.com/legacyfs/online/11551_Selection.png" width="879" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 17:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310202#M114527</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-22T17:40:50Z</dc:date>
    </item>
    <item>
      <title>Positive representation</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310203#M114528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Juan, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;talking about the bar chart, you want to create something like a butterfly chart, right?&lt;/P&gt;&lt;P&gt;This is not an easy task in QV, but maybe this gives you some ideas:&lt;/P&gt;&lt;P&gt;community.qlik.com/message/145421&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 18:19:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310203#M114528</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-02-22T18:19:25Z</dc:date>
    </item>
    <item>
      <title>Positive representation</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310204#M114529</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;If you want to select by default Month, if there is no selection then you can try the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(DISTINCT{$&amp;lt;[TipoFecha]={'Periodo'}, [Sexo]={M},Year={$(=Max(Year))},Month={$(=Max(Month))}&amp;gt;}[Identificación afiliado])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 18:27:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310204#M114529</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2012-02-22T18:27:57Z</dc:date>
    </item>
    <item>
      <title>Positive representation</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310205#M114530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wans't able to use that with my&amp;nbsp; model, I don't know if I'm missing something or what. Is there any explanation more clear?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 19:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310205#M114530</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-22T19:50:09Z</dc:date>
    </item>
    <item>
      <title>Positive representation</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310206#M114531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How should I use the Year={$(=Max(Year))}, Month={$(=Max(Month)), shoul I have them predefined?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 19:52:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310206#M114531</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-22T19:52:11Z</dc:date>
    </item>
    <item>
      <title>Positive representation</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310207#M114532</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;Yes you need to have the Year(Date) as Year and num(Month(Date)) as Month in your&amp;nbsp; a field in your Script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 06:01:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310207#M114532</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2012-02-23T06:01:57Z</dc:date>
    </item>
    <item>
      <title>Positive representation</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310208#M114533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, I've done that, but all the bars in the chart disappear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just need to have the max value of the month and year when there is nothing selected. I was trying with this expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(IsNUll(getfieldselections (Mes)),Date(Date#(Max(Mes),'MM'),'MM'),num(month(date#(getfieldselections (Mes),'MMM'))) ) for month (the variable is called mesFiltro)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(IsNull(getfieldselections (Año)),Max(Año),getfieldselections (Año)) for year (the variable is called añoFiltro)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then using them as variables, and in the chart expression using them as this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(DISTINCT{$&amp;lt;TipoFecha={'Periodo'}, [Sexo]={M}, Mes=mesFiltro, Año=añoFiltro&amp;gt;}[Identificación afiliado]) for the right side of the chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=-Count(DISTINCT{$&amp;lt;TipoFecha={'Periodo'}, [Sexo]={F}&amp;gt;}[Identificación afiliado]) for the left side of the chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;too difficult?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 14:20:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310208#M114533</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-23T14:20:19Z</dc:date>
    </item>
    <item>
      <title>Positive representation</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310209#M114534</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;Can you attach a sample file.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 17:07:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310209#M114534</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2012-02-23T17:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Positive representation</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310210#M114535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's kind of big the file, mmm and I have tried some thing in the scripts but no answer &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached it, finally.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 12:50:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310210#M114535</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-24T12:50:13Z</dc:date>
    </item>
    <item>
      <title>Positive representation</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310211#M114536</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;I got your problem.. you can create a single Yearmonth variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are creating a single yearmonth variable then u need to have a yearmonth field in the script as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year(TempDate) &amp;amp; num(Month(TempDate),'00') as YearMonth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;variable&amp;nbsp; will be as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vYearMonth = if(getselectedcount(Año) =0,Year(today())&amp;amp;num(month(today()),'00'),Max(YearMonth))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use this variable in the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;YearMonth={$(vYearMonth)}&amp;gt;}[Identificación afiliado]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 14:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310211#M114536</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2012-02-24T14:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Positive representation</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310212#M114537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was perfect!!! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt; Thank you a lot. Now in that file, I have a Butterfly chart where I want to use that variable, in order to show me the information of the current year/month if nothing is selected. But when I do that and then select feb/12 or leave it with no selection (it should take feb/12), the values change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I want also to check in the other tab, where is a block chart, the "Otros" section doesn't show the percentage, intead it shows a decimal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you thank you thank you!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 15:54:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310212#M114537</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-24T15:54:00Z</dc:date>
    </item>
    <item>
      <title>Positive representation</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310213#M114538</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;I thinkk the blcok chart issue will be solved using the relative option . You will find it in Exoression tab , below the enable tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didnt get your butterfly issue. Can you specify the tab and the report name. If you can add a snap shot then it would be grt..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I can't understand the language inside the application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 16:48:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310213#M114538</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2012-02-24T16:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Positive representation</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310214#M114539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The relative option is not working as I want to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I check the relative box, and all the data is showed as % but the "Otros" section.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 14:27:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310214#M114539</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-27T14:27:28Z</dc:date>
    </item>
    <item>
      <title>Positive representation</title>
      <link>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310215#M114540</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;Can you attach some snap shot to show what exactly you require.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 06:05:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Positive-representation/m-p/310215#M114540</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2012-02-28T06:05:38Z</dc:date>
    </item>
  </channel>
</rss>

