<?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 Defualt slction in bar graph in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Defualt-slction-in-bar-graph/m-p/1405587#M425663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi All,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I just have one small issue ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have year dimension (listbox) that has three&amp;nbsp; field Last year, current year and Last cycle.&lt;/P&gt;&lt;P&gt; i want&amp;nbsp; my bar graph to set condition if nothing is selected then show last year data&amp;nbsp; other depending upon user selection from filter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Nov 2017 16:07:02 GMT</pubDate>
    <dc:creator>yogitamehta10</dc:creator>
    <dc:date>2017-11-16T16:07:02Z</dc:date>
    <item>
      <title>Defualt slction in bar graph</title>
      <link>https://community.qlik.com/t5/QlikView/Defualt-slction-in-bar-graph/m-p/1405587#M425663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi All,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I just have one small issue ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have year dimension (listbox) that has three&amp;nbsp; field Last year, current year and Last cycle.&lt;/P&gt;&lt;P&gt; i want&amp;nbsp; my bar graph to set condition if nothing is selected then show last year data&amp;nbsp; other depending upon user selection from filter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 16:07:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Defualt-slction-in-bar-graph/m-p/1405587#M425663</guid>
      <dc:creator>yogitamehta10</dc:creator>
      <dc:date>2017-11-16T16:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Defualt slction in bar graph</title>
      <link>https://community.qlik.com/t5/QlikView/Defualt-slction-in-bar-graph/m-p/1405588#M425664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simply do this? Change accordingly &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(GetFieldSelections(Year)&amp;gt;0, Sum(Sales), Sum({&amp;lt;Year = {'$(=Max(Year-1))'}&amp;gt;} Sales))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 16:10:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Defualt-slction-in-bar-graph/m-p/1405588#M425664</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-16T16:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Defualt slction in bar graph</title>
      <link>https://community.qlik.com/t5/QlikView/Defualt-slction-in-bar-graph/m-p/1405589#M425665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but in your expression we are not&amp;nbsp; giving&amp;nbsp; by default Last year data&amp;nbsp; otherwise depending upon user selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and my year field is basically character that says last year , current year or last cycle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 16:20:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Defualt-slction-in-bar-graph/m-p/1405589#M425665</guid>
      <dc:creator>yogitamehta10</dc:creator>
      <dc:date>2017-11-16T16:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Defualt slction in bar graph</title>
      <link>https://community.qlik.com/t5/QlikView/Defualt-slction-in-bar-graph/m-p/1405590#M425666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really sure, What your intend here&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(GetFieldSelections(Year)&amp;gt;0, Sum(Sales), Sum({&amp;lt;Year = {'last year'}&amp;gt;} Sales))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 16:25:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Defualt-slction-in-bar-graph/m-p/1405590#M425666</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-16T16:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Defualt slction in bar graph</title>
      <link>https://community.qlik.com/t5/QlikView/Defualt-slction-in-bar-graph/m-p/1405591#M425667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Better you can do this way by writing two expressions and use a conditinal option in bar chart expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression1:-&lt;/P&gt;&lt;P&gt;=SUM(Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And &lt;/P&gt;&lt;P&gt;Conditional:-&lt;/P&gt;&lt;P&gt;=GetSelectedCount(Year)=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression2:-&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Year = {'$(=Max(Year-1))'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And &lt;/P&gt;&lt;P&gt;Conditional:-&lt;/P&gt;&lt;P&gt;=GetSelectedCount(Year)=0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 16:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Defualt-slction-in-bar-graph/m-p/1405591#M425667</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-11-16T16:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Defualt slction in bar graph</title>
      <link>https://community.qlik.com/t5/QlikView/Defualt-slction-in-bar-graph/m-p/1405592#M425668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies I got it , seems like I'm not in working mood:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 16:35:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Defualt-slction-in-bar-graph/m-p/1405592#M425668</guid>
      <dc:creator>yogitamehta10</dc:creator>
      <dc:date>2017-11-16T16:35:24Z</dc:date>
    </item>
  </channel>
</rss>

