<?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: Periodtype -Growth in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Periodtype-Growth/m-p/1610557#M445097</link>
    <description>&lt;P&gt;&lt;FONT size="1" color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;GetFieldSelections&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;Metric&lt;/FONT&gt;&lt;FONT size="1"&gt;)='Growth', &lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Aggr&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Only&lt;/FONT&gt;&lt;FONT size="1"&gt;({&amp;lt;&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PeriodID&lt;/FONT&gt;&lt;FONT size="1"&gt;-={7,8},&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PeriodTypeDescription&lt;/FONT&gt;&lt;FONT size="1"&gt;= &amp;gt;}&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PeriodTypeDescription&lt;/FONT&gt;&lt;FONT size="1"&gt;),&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PeriodID&lt;/FONT&gt;&lt;FONT size="1"&gt;),&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;GetFieldSelections&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;Metric&lt;/FONT&gt;&lt;FONT size="1"&gt;)='Sales', &lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Aggr&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Only&lt;/FONT&gt;&lt;FONT size="1"&gt;({&amp;lt;&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PeriodID&lt;/FONT&gt;&lt;FONT size="1"&gt;-={8},&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PeriodTypeDescription&lt;/FONT&gt;&lt;FONT size="1"&gt;=&amp;gt;}&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PeriodTypeDescription&lt;/FONT&gt;&lt;FONT size="1"&gt;),&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PeriodID&lt;/FONT&gt;&lt;FONT size="1"&gt;),&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Aggr&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Only&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PeriodTypeDescription&lt;/FONT&gt;&lt;FONT size="1"&gt;),&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PeriodID&lt;/FONT&gt;&lt;FONT size="1"&gt;)&lt;BR /&gt;)) &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;use the above expression &lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2019 08:35:25 GMT</pubDate>
    <dc:creator>Akhil_Reddy</dc:creator>
    <dc:date>2019-08-08T08:35:25Z</dc:date>
    <item>
      <title>Periodtype -Growth</title>
      <link>https://community.qlik.com/t5/QlikView/Periodtype-Growth/m-p/1610325#M445076</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the script with two INline table&lt;/P&gt;&lt;P&gt;Metrics:&lt;BR /&gt;load * inline [&lt;BR /&gt;Metric,MetricId&lt;BR /&gt;'Sales',1&lt;BR /&gt;'Market Share',2&lt;BR /&gt;'Evolution Index',3&lt;BR /&gt;'Growth',4&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;PeriodTypes:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;PeriodID, PeriodTypeDescription&lt;BR /&gt;1, MTD&lt;BR /&gt;2, QTD&lt;BR /&gt;3, MQT&lt;BR /&gt;4, CTD&lt;BR /&gt;5, YTD&lt;BR /&gt;6, MAT&lt;BR /&gt;7, Weekly&lt;BR /&gt;8,R4W&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the front end i created two filters one is metric and periodtypedescription&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;metric have exp as&amp;nbsp;=aggr(only({&amp;lt;MetricId={1,4},Metric=&amp;gt;}Metric),Metric)&lt;/P&gt;&lt;P&gt;in order to get the growth and sales only&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;period type have exp as&amp;nbsp;=if(GetFieldSelections(Metric)='Growth',Aggr(Only({&amp;lt;PeriodID=-{7,8},PeriodTypeDescription=&amp;gt;}PeriodTypeDescription),PeriodTypeDescription),&lt;BR /&gt;Aggr(Only({&amp;lt;PeriodID-={8},PeriodTypeDescription=&amp;gt;}PeriodTypeDescription),PeriodTypeDescription)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)in order to avoid weekly and R4W for the growth selection&lt;/P&gt;&lt;P&gt;2) in order to avoid weekly for the sales selection&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but&amp;nbsp; issue is when i select growth no values of periodtype is associated to it in the filter.&lt;/P&gt;&lt;P&gt;for sales its working fine i m gettign the associated values correct and avoid the weekly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:48:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Periodtype-Growth/m-p/1610325#M445076</guid>
      <dc:creator>manoranjan_321988</dc:creator>
      <dc:date>2024-11-16T02:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Periodtype -Growth</title>
      <link>https://community.qlik.com/t5/QlikView/Periodtype-Growth/m-p/1610489#M445095</link>
      <description>&lt;P&gt;please reply me with suggestion&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 06:19:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Periodtype-Growth/m-p/1610489#M445095</guid>
      <dc:creator>manoranjan_321988</dc:creator>
      <dc:date>2019-08-08T06:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Periodtype -Growth</title>
      <link>https://community.qlik.com/t5/QlikView/Periodtype-Growth/m-p/1610557#M445097</link>
      <description>&lt;P&gt;&lt;FONT size="1" color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;GetFieldSelections&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;Metric&lt;/FONT&gt;&lt;FONT size="1"&gt;)='Growth', &lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Aggr&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Only&lt;/FONT&gt;&lt;FONT size="1"&gt;({&amp;lt;&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PeriodID&lt;/FONT&gt;&lt;FONT size="1"&gt;-={7,8},&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PeriodTypeDescription&lt;/FONT&gt;&lt;FONT size="1"&gt;= &amp;gt;}&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PeriodTypeDescription&lt;/FONT&gt;&lt;FONT size="1"&gt;),&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PeriodID&lt;/FONT&gt;&lt;FONT size="1"&gt;),&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;GetFieldSelections&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;Metric&lt;/FONT&gt;&lt;FONT size="1"&gt;)='Sales', &lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Aggr&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Only&lt;/FONT&gt;&lt;FONT size="1"&gt;({&amp;lt;&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PeriodID&lt;/FONT&gt;&lt;FONT size="1"&gt;-={8},&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PeriodTypeDescription&lt;/FONT&gt;&lt;FONT size="1"&gt;=&amp;gt;}&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PeriodTypeDescription&lt;/FONT&gt;&lt;FONT size="1"&gt;),&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PeriodID&lt;/FONT&gt;&lt;FONT size="1"&gt;),&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Aggr&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;Only&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PeriodTypeDescription&lt;/FONT&gt;&lt;FONT size="1"&gt;),&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;PeriodID&lt;/FONT&gt;&lt;FONT size="1"&gt;)&lt;BR /&gt;)) &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;use the above expression &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 08:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Periodtype-Growth/m-p/1610557#M445097</guid>
      <dc:creator>Akhil_Reddy</dc:creator>
      <dc:date>2019-08-08T08:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Periodtype -Growth</title>
      <link>https://community.qlik.com/t5/QlikView/Periodtype-Growth/m-p/1610590#M445099</link>
      <description>&lt;P&gt;Hi I used below expression but the issue is when i select growth i m getting period type selection as unassociated values in period type filter.&lt;/P&gt;&lt;P&gt;for sales its working fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;attached is the image. in image the marked as circle in the period type filter it has be associated values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 10:00:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Periodtype-Growth/m-p/1610590#M445099</guid>
      <dc:creator>manoranjan_321988</dc:creator>
      <dc:date>2019-08-08T10:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Periodtype -Growth</title>
      <link>https://community.qlik.com/t5/QlikView/Periodtype-Growth/m-p/1610603#M445101</link>
      <description>&lt;P&gt;create a list box with metric field and try to click the values in that listbox so that above expression which i pasted works&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 10:19:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Periodtype-Growth/m-p/1610603#M445101</guid>
      <dc:creator>Akhil_Reddy</dc:creator>
      <dc:date>2019-08-08T10:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Periodtype -Growth</title>
      <link>https://community.qlik.com/t5/QlikView/Periodtype-Growth/m-p/1610605#M445102</link>
      <description>&lt;P&gt;but coming to qliksense in the filter box its not working&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 10:20:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Periodtype-Growth/m-p/1610605#M445102</guid>
      <dc:creator>manoranjan_321988</dc:creator>
      <dc:date>2019-08-08T10:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Periodtype -Growth</title>
      <link>https://community.qlik.com/t5/QlikView/Periodtype-Growth/m-p/1610609#M445104</link>
      <description>&lt;P&gt;I am assuming what you are doing-:&lt;/P&gt;&lt;P&gt;see you have two tables&lt;/P&gt;&lt;P&gt;1,&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;so in front end u created a straight table for table 1 and you filtered the expression so u get&lt;/P&gt;&lt;P&gt;straight table 1:&lt;/P&gt;&lt;P&gt;metricid| metric&lt;/P&gt;&lt;P&gt;1|growth&lt;/P&gt;&lt;P&gt;2|sales&lt;/P&gt;&lt;P&gt;---------------------------------------&lt;/P&gt;&lt;P&gt;for table 2 u created&amp;nbsp; straight table 2 and in the expression you want to select the expression using if condition&lt;/P&gt;&lt;P&gt;like if getfield selection(metric)=sales than (expression1)&amp;nbsp; else (expression 2)&amp;nbsp;&lt;/P&gt;&lt;P&gt;straight table 2:&lt;/P&gt;&lt;P&gt;period id |period desc&lt;/P&gt;&lt;P&gt;1|xyz&lt;/P&gt;&lt;P&gt;2|yxs&lt;/P&gt;&lt;P&gt;here the main point lies with the function 'getfield selections()' .&lt;/P&gt;&lt;P&gt;you must take a new filter box with only mertic as field and try to click on it.&lt;/P&gt;&lt;P&gt;dont try to click on the straight table 1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 10:34:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Periodtype-Growth/m-p/1610609#M445104</guid>
      <dc:creator>Akhil_Reddy</dc:creator>
      <dc:date>2019-08-08T10:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Periodtype -Growth</title>
      <link>https://community.qlik.com/t5/QlikView/Periodtype-Growth/m-p/1610659#M445111</link>
      <description>&lt;P&gt;try this,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=IF(MetricId='4',Aggr(Only({&amp;lt;PeriodID-={7,8},PeriodTypeDescription=&amp;gt;}PeriodTypeDescription),PeriodTypeDescription),&lt;BR /&gt;IF(MetricId=1 ,Aggr(Only({&amp;lt;PeriodID-={8},PeriodTypeDescription=&amp;gt;}PeriodTypeDescription),PeriodTypeDescription),&lt;BR /&gt;Aggr(Only({&amp;lt;PeriodID-={8},PeriodTypeDescription=&amp;gt;}PeriodTypeDescription),PeriodTypeDescription)))&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nivethitha.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 12:09:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Periodtype-Growth/m-p/1610659#M445111</guid>
      <dc:creator>nivethitha</dc:creator>
      <dc:date>2019-08-08T12:09:31Z</dc:date>
    </item>
  </channel>
</rss>

