<?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: Comparing the values of two drill down groups in a if condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-the-values-of-two-drill-down-groups-in-a-if-condition/m-p/1058606#M943404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try changing the expressions in the second chart that uses G2. For example sum(Amount) would become sum({&amp;lt;G1_Year=,G1_Month=,G1_Date=, G2_Year=P(G1_Year), G2_Month=P(G1_Month),G2_Date=P(G1_Date)&amp;gt;}Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make things easier you could create a variable vSet as &lt;SPAN style="font-size: 13.3333px;"&gt;{&amp;lt;G1_Year=,G1_Month=,G1_Date=, G2_Year=P(G1_Year), G2_Month=P(G1_Month),G2_Date=P(G1_Date)&amp;gt;}. And change the expressions to use that variable: sum( $(vSet) Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Jan 2016 15:08:35 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2016-01-10T15:08:35Z</dc:date>
    <item>
      <title>Comparing the values of two drill down groups in a if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-the-values-of-two-drill-down-groups-in-a-if-condition/m-p/1058605#M943403</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 have two different sets of dates groups, namely G1 and G2. wherein these includes years, Months and Dates.&lt;/P&gt;&lt;P&gt;G1 (years)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; G2(years)&lt;/P&gt;&lt;P&gt;2007&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;&amp;nbsp; 2009&lt;/P&gt;&lt;P&gt;2008&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;&amp;nbsp; 2010&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;2015&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; 2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to my requirement I should display G1 as a filter in the dashboard and&lt;/P&gt;&lt;P&gt;some of my sheet objects&lt;SPAN style="font-size: 13.3333px;"&gt;(bar charts)&lt;/SPAN&gt; uses G1&amp;nbsp; drilldown group as&amp;nbsp; a dimension.&lt;/P&gt;&lt;P&gt;and one of my sheetobj(bar chart) requires G2 drill down group as a dimension.&lt;/P&gt;&lt;P&gt;But I need to display only Y1group's year as a filter and need to filter based on selections on G1"s year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I tried with giving G1 drill down group as dimension and used &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;conditional enable option by giving expression as &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;= if (GetCurrentField([G1&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;]) &amp;lt;&amp;gt; GetCurrentField(G2]),[G2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;but it doesnt helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly suggest me &lt;/P&gt;&lt;P&gt;and could you please tell me what are the possible reasons that might lead to duplicate values in the report?????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jan 2016 09:03:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-the-values-of-two-drill-down-groups-in-a-if-condition/m-p/1058605#M943403</guid>
      <dc:creator>sindhura</dc:creator>
      <dc:date>2016-01-10T09:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing the values of two drill down groups in a if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-the-values-of-two-drill-down-groups-in-a-if-condition/m-p/1058606#M943404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try changing the expressions in the second chart that uses G2. For example sum(Amount) would become sum({&amp;lt;G1_Year=,G1_Month=,G1_Date=, G2_Year=P(G1_Year), G2_Month=P(G1_Month),G2_Date=P(G1_Date)&amp;gt;}Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make things easier you could create a variable vSet as &lt;SPAN style="font-size: 13.3333px;"&gt;{&amp;lt;G1_Year=,G1_Month=,G1_Date=, G2_Year=P(G1_Year), G2_Month=P(G1_Month),G2_Date=P(G1_Date)&amp;gt;}. And change the expressions to use that variable: sum( $(vSet) Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jan 2016 15:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-the-values-of-two-drill-down-groups-in-a-if-condition/m-p/1058606#M943404</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-01-10T15:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing the values of two drill down groups in a if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-the-values-of-two-drill-down-groups-in-a-if-condition/m-p/1058607#M943405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px; background-color: #f2f2f2;"&gt;{&amp;lt;G1_Year=,G1_Month=,G1_Date=, G2_Year=P(G1_Year), G2_Month=P(G1_Month),G2_Date=P(G1_Date)&amp;gt;}. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px; background-color: #f2f2f2;"&gt;In this expresssion G1_year means &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px; background-color: #f2f2f2;"&gt;can I use as Year field in G1 rightaway or the Groupname?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jan 2016 18:59:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-the-values-of-two-drill-down-groups-in-a-if-condition/m-p/1058607#M943405</guid>
      <dc:creator>sindhura</dc:creator>
      <dc:date>2016-01-10T18:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing the values of two drill down groups in a if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-the-values-of-two-drill-down-groups-in-a-if-condition/m-p/1058608#M943406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;{&amp;lt;G1_Year=,G1_Month=,G1_Date=, G2_Year=P(G1_Year), G2_Month=P(G1_Month),G2_Date=P(G1_Date)&amp;gt;}.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;In this expresssion G1_year means&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;can I use as Year field in G1 rightaway or the Groupname?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jan 2016 18:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-the-values-of-two-drill-down-groups-in-a-if-condition/m-p/1058608#M943406</guid>
      <dc:creator>sindhura</dc:creator>
      <dc:date>2016-01-10T18:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing the values of two drill down groups in a if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-the-values-of-two-drill-down-groups-in-a-if-condition/m-p/1058609#M943407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply. The answer you gave works with another chart that will be placed in another sheet.&lt;/P&gt;&lt;P&gt;I need to implement in the first chart and I have to use G1 group for interaction but the chart has to calculate based upon G2 group&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jan 2016 19:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-the-values-of-two-drill-down-groups-in-a-if-condition/m-p/1058609#M943407</guid>
      <dc:creator>sindhura</dc:creator>
      <dc:date>2016-01-10T19:51:34Z</dc:date>
    </item>
  </channel>
</rss>

