<?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: Using the P function right? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-the-P-function-right/m-p/681567#M539160</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It kind of worked, my drill down is PM -&amp;gt; FLM (So multiple FLM's under 1 PM, and 6 PM's for RR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With that expression, it drills down to all of the FLMs, regardless of which PM i select&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Aug 2014 10:51:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-14T10:51:15Z</dc:date>
    <item>
      <title>Using the P function right?</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-P-function-right/m-p/681565#M539158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still fairly new to using Qlikview and struggling with a few things&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two charts next to eachother, one highlighing RR data and the other EMS data (CostCentre_Activity = 'RR')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i drill down in the EMS data it turns the RR data to 'No data to display' which I would expect. Is there a way to stop this from happening?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I seen that you can use the P function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, i tried it like this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;avg({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CostCentre_Activity&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;P&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CostCentre_Activity&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;}PMF&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_Score&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Is there a way to make it read something like this: &lt;SPAN style="font-size: 8pt;"&gt;avg({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CostCentre_Activity&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;P&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CostCentre_Activity={RR}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;}PMF&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_Score&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or am I barking up the wrong tree? Is there no way to include a filter value into a P function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 10:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-P-function-right/m-p/681565#M539158</guid>
      <dc:creator />
      <dc:date>2014-08-14T10:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using the P function right?</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-P-function-right/m-p/681566#M539159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=avg({1&amp;lt;CostCentre_Activity=P({1&amp;lt;CostCentre_Activity={'RR'}&amp;gt;}CostCentre_Activity)&amp;gt;}PMF_Score)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 10:44:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-P-function-right/m-p/681566#M539159</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-08-14T10:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using the P function right?</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-P-function-right/m-p/681567#M539160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It kind of worked, my drill down is PM -&amp;gt; FLM (So multiple FLM's under 1 PM, and 6 PM's for RR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With that expression, it drills down to all of the FLMs, regardless of which PM i select&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 10:51:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-P-function-right/m-p/681567#M539160</guid>
      <dc:creator />
      <dc:date>2014-08-14T10:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using the P function right?</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-P-function-right/m-p/681568#M539161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ohh, I should have read more carefully, 'RR' is a field. Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=avg({1&amp;lt;CostCentre_Activity=P({1&amp;lt;CostCentre_Activity={&lt;STRONG&gt;"=RR"&lt;/STRONG&gt;}&amp;gt;}CostCentre_Activity)&amp;gt;}PMF_Score)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 10:54:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-P-function-right/m-p/681568#M539161</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-08-14T10:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using the P function right?</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-P-function-right/m-p/681569#M539162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 10:56:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-P-function-right/m-p/681569#M539162</guid>
      <dc:creator />
      <dc:date>2014-08-14T10:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using the P function right?</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-P-function-right/m-p/681570#M539163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did that work? Then please mark it 'Correct Answer' to close the thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 11:00:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-P-function-right/m-p/681570#M539163</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-08-14T11:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using the P function right?</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-P-function-right/m-p/681571#M539164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No it didn't unfortunately, the "=RR" didn't work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried using Alternate states as well which sort of works as well but I can't seem to drill down once they're in a state &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 11:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-P-function-right/m-p/681571#M539164</guid>
      <dc:creator />
      <dc:date>2014-08-14T11:10:39Z</dc:date>
    </item>
  </channel>
</rss>

