<?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: Qliksense drilldown in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qliksense-drilldown/m-p/1329805#M28985</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured it out. It's 2 step solution. The expression needs to be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(GetSelectedCount(Sate)=1,&lt;/P&gt;&lt;P&gt;avg({&amp;lt;Year=, Month=,Quarter=,Date_Key={"&amp;gt;=$(=Num(YearStart($(vMaxDateNum))))&amp;lt;=$(=$(vMaxDateNum))"}&amp;gt;}population)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;avg({&amp;lt;Year=, Month=,Quarter=,City, Date_Key={"&amp;gt;=$(=Num(YearStart($(vMaxDateNum))))&amp;lt;=$(=$(vMaxDateNum))"}&amp;gt;}&lt;SPAN style="font-size: 13.3333px;"&gt;population&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Master dimension &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IF(AGGR(&amp;lt;my expression&amp;gt;, my dimension), my dimension, null())&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: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In my case I needed Drill down dimension [State-City].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;State&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;IF(AGGR(if(GetSelectedCount(State)=1,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;if(GetSelectedCount(Sate)=1,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;avg({&amp;lt;Year=, Month=,Quarter=,Date_Key={"&amp;gt;=$(=Num(YearStart($(vMaxDateNum))))&amp;lt;=$(=$(vMaxDateNum))"}&amp;gt;}population)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;avg({&amp;lt;Year=, Month=,Quarter=,City, Date_Key={"&amp;gt;=$(=Num(YearStart($(vMaxDateNum))))&amp;lt;=$(=$(vMaxDateNum))"}&amp;gt;}&lt;SPAN style="font-size: 13.3333px;"&gt;population&lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;, State),State, null())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;City&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;IF(AGGR(if(GetSelectedCount(State)=1,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;if(GetSelectedCount(Sate)=1,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;avg({&amp;lt;Year=, Month=,Quarter=,Date_Key={"&amp;gt;=$(=Num(YearStart($(vMaxDateNum))))&amp;lt;=$(=$(vMaxDateNum))"}&amp;gt;}population)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;avg({&amp;lt;Year=, Month=,Quarter=,City, Date_Key={"&amp;gt;=$(=Num(YearStart($(vMaxDateNum))))&amp;lt;=$(=$(vMaxDateNum))"}&amp;gt;}&lt;SPAN style="font-size: 13.3333px;"&gt;population&lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;, City),City, null())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;The above expression will suppress any cities that were not selected in the bookmark.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Apr 2017 17:01:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-04-18T17:01:31Z</dc:date>
    <item>
      <title>Qliksense drilldown</title>
      <link>https://community.qlik.com/t5/App-Development/Qliksense-drilldown/m-p/1329804#M28984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hello Everyone,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I have a drill down dimension State-City. The measure is average population.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Now I create different bookmarks with different states and cities selected. The average population of a State should not change based on the cities selected. For example, if Alabama has 20 cities and I choose 10 in the bookmark, then average for Alabama should for 20 cities not 10. But when I drill into Alabama, I need to see only 10 cities average. Need help with&amp;nbsp; the expression.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2017 18:16:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qliksense-drilldown/m-p/1329804#M28984</guid>
      <dc:creator />
      <dc:date>2017-04-17T18:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense drilldown</title>
      <link>https://community.qlik.com/t5/App-Development/Qliksense-drilldown/m-p/1329805#M28985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured it out. It's 2 step solution. The expression needs to be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(GetSelectedCount(Sate)=1,&lt;/P&gt;&lt;P&gt;avg({&amp;lt;Year=, Month=,Quarter=,Date_Key={"&amp;gt;=$(=Num(YearStart($(vMaxDateNum))))&amp;lt;=$(=$(vMaxDateNum))"}&amp;gt;}population)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;avg({&amp;lt;Year=, Month=,Quarter=,City, Date_Key={"&amp;gt;=$(=Num(YearStart($(vMaxDateNum))))&amp;lt;=$(=$(vMaxDateNum))"}&amp;gt;}&lt;SPAN style="font-size: 13.3333px;"&gt;population&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Master dimension &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IF(AGGR(&amp;lt;my expression&amp;gt;, my dimension), my dimension, null())&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: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In my case I needed Drill down dimension [State-City].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;State&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;IF(AGGR(if(GetSelectedCount(State)=1,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;if(GetSelectedCount(Sate)=1,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;avg({&amp;lt;Year=, Month=,Quarter=,Date_Key={"&amp;gt;=$(=Num(YearStart($(vMaxDateNum))))&amp;lt;=$(=$(vMaxDateNum))"}&amp;gt;}population)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;avg({&amp;lt;Year=, Month=,Quarter=,City, Date_Key={"&amp;gt;=$(=Num(YearStart($(vMaxDateNum))))&amp;lt;=$(=$(vMaxDateNum))"}&amp;gt;}&lt;SPAN style="font-size: 13.3333px;"&gt;population&lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;, State),State, null())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;City&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;IF(AGGR(if(GetSelectedCount(State)=1,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;if(GetSelectedCount(Sate)=1,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;avg({&amp;lt;Year=, Month=,Quarter=,Date_Key={"&amp;gt;=$(=Num(YearStart($(vMaxDateNum))))&amp;lt;=$(=$(vMaxDateNum))"}&amp;gt;}population)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;avg({&amp;lt;Year=, Month=,Quarter=,City, Date_Key={"&amp;gt;=$(=Num(YearStart($(vMaxDateNum))))&amp;lt;=$(=$(vMaxDateNum))"}&amp;gt;}&lt;SPAN style="font-size: 13.3333px;"&gt;population&lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;, City),City, null())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;The above expression will suppress any cities that were not selected in the bookmark.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2017 17:01:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qliksense-drilldown/m-p/1329805#M28985</guid>
      <dc:creator />
      <dc:date>2017-04-18T17:01:31Z</dc:date>
    </item>
  </channel>
</rss>

