<?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: Problem with getting column name in set analysis - trellis chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-getting-column-name-in-set-analysis-trellis-chart/m-p/1046665#M351819</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks swuehl! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your solution is working great ! Thank You !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Mar 2016 07:16:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-23T07:16:00Z</dc:date>
    <item>
      <title>Problem with getting column name in set analysis - trellis chart</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-getting-column-name-in-set-analysis-trellis-chart/m-p/1046663#M351817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My expression is very long and difficult but i want to focus only on part of it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(Only({&amp;lt;Miesiąc=, ID_Miesiąc=&amp;gt;}Rok)=2016,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({$&amp;lt;Miesiąc=, Kwartał=, ID_Miesiąc= {"&amp;lt;=2"}, Rok = {2016}&amp;gt;}aggr(rangesum( ABOVE( sum({$&amp;lt;ID_Miesiąc= {"&amp;lt;=$(=Max({1} ID_Miesiąc))"}, Kwartał=,Miesiąc=, MO_ID={1}&amp;gt;}KwotaW),0,12) ),&lt;STRONG&gt;ID_Miesiąc&lt;/STRONG&gt;))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In Trellis chart i have 3 dimensions: [Jednostka Biznesowa], [Linia Produktowa] and [Grupa Produktowa].&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;When i choose one field from dimensions list box - my chart will dive from bigger unit to smaller:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;IMG alt="Business unit.jpg" class="jive-image image-1" src="/legacyfs/online/118979_Business unit.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when i have no filters, above expression will be working. &lt;/P&gt;&lt;P&gt;But when i select fro example Jednostka biznesowa --&amp;gt; this expression is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to add to expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(Only({&amp;lt;Miesiąc=, ID_Miesiąc=&amp;gt;}Rok)=2016,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({$&amp;lt;Miesiąc=, Kwartał=, ID_Miesiąc= {"&amp;lt;=2"}, Rok = {2016}&amp;gt;}aggr(rangesum( ABOVE( sum({$&amp;lt;ID_Miesiąc= {"&amp;lt;=$(=Max({1} ID_Miesiąc))"}, Kwartał=,Miesiąc=, MO_ID={1}&amp;gt;}KwotaW),0,12) ), &lt;STRONG&gt;[&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Jednostka biznesowa], &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;ID_Miesiąc&lt;/STRONG&gt;))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and it will be working for Jednostka Biznesowa. &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;But when i dive into smaller unit to Linia Produktowa i should have within this expression:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(Only({&amp;lt;Miesiąc=, ID_Miesiąc=&amp;gt;}Rok)=2016,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({$&amp;lt;Miesiąc=, Kwartał=, ID_Miesiąc= {"&amp;lt;=2"}, Rok = {2016}&amp;gt;}aggr(rangesum( ABOVE( sum({$&amp;lt;ID_Miesiąc= {"&amp;lt;=$(=Max({1} ID_Miesiąc))"}, Kwartał=,Miesiąc=, MO_ID={1}&amp;gt;}KwotaW),0,12) ), &lt;STRONG&gt;[Linia Produktowa]&lt;SPAN style="font-size: 13.3333px;"&gt;, &lt;/SPAN&gt;ID_Miesiąc&lt;/STRONG&gt;))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I want to write expresion which would be changing bold part of my epression depending on selected values.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(Only({&amp;lt;Miesiąc=, ID_Miesiąc=&amp;gt;}Rok)=2016,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({$&amp;lt;Miesiąc=, Kwartał=, ID_Miesiąc= {"&amp;lt;=2"}, Rok = {2016}&amp;gt;}aggr(rangesum( ABOVE( sum({$&amp;lt;ID_Miesiąc= {"&amp;lt;=$(=Max({1} ID_Miesiąc))"}, Kwartał=,Miesiąc=, MO_ID={1}&amp;gt;}KwotaW),0,12) ), &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;if(GetSelectedCount([Jednostka biznesowa])&amp;gt;0,[Linia produktowa])&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;,&lt;/STRONG&gt; &lt;/SPAN&gt;ID_Miesiąc&lt;/STRONG&gt;)) but it is not working because i should have here only column name in this aggregation.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Maybe you Guys have any ideas?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thank You for your help in advance,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jacek Antek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 13:44:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-getting-column-name-in-set-analysis-trellis-chart/m-p/1046663#M351817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-22T13:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with getting column name in set analysis - trellis chart</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-getting-column-name-in-set-analysis-trellis-chart/m-p/1046664#M351818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jacek, see my other post about dollar sign expansion also:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(Only({&amp;lt;Miesiąc=, ID_Miesiąc=&amp;gt;}Rok)=2016,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({$&amp;lt;Miesiąc=, Kwartał=, ID_Miesiąc= {"&amp;lt;=2"}, Rok = {2016}&amp;gt;}aggr(rangesum( ABOVE( sum({$&amp;lt;ID_Miesiąc= {"&amp;lt;=$(=Max({1} ID_Miesiąc))"}, Kwartał=,Miesiąc=, MO_ID={1}&amp;gt;}KwotaW),0,12) ), &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;$(=if(GetSelectedCount(&lt;STRONG&gt;[Linia produktowa]&lt;/STRONG&gt;)&amp;gt;0,'[Linia produktowa],','&lt;STRONG&gt;[Jednostka biznesowa],'&lt;/STRONG&gt;))&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;,&lt;/STRONG&gt; &lt;/SPAN&gt;ID_Miesiąc&lt;/STRONG&gt;))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 15:32:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-getting-column-name-in-set-analysis-trellis-chart/m-p/1046664#M351818</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-22T15:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with getting column name in set analysis - trellis chart</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-getting-column-name-in-set-analysis-trellis-chart/m-p/1046665#M351819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks swuehl! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your solution is working great ! Thank You !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 07:16:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-getting-column-name-in-set-analysis-trellis-chart/m-p/1046665#M351819</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-23T07:16:00Z</dc:date>
    </item>
  </channel>
</rss>

