<?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 Dynamic Implicit Field Value? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Implicit-Field-Value/m-p/832123#M292798</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use the P() function to limit values, based on a dynamic input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the example from the Reference Manual below, I want to use the result of GetFieldSelections(), instead of 'Shoe'.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example from the manual:&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Customer = P({1&amp;lt;Product= &lt;STRONG&gt;{‘Shoe’}&lt;/STRONG&gt; &amp;gt;} Customer)&amp;gt;} Sales )&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Desired expression:&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Customer = P({1&amp;lt;Product=&amp;nbsp; &lt;STRONG&gt;GetFieldSelections(Product)&lt;/STRONG&gt; &amp;gt;} Customer)&amp;gt;} Sales )&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible??&amp;nbsp; I've also tried using a variable in place of the local GetFieldSelections() function, but no dice there either.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm really trying to do is get a count of orders that are were placed by any provider who belongs to a certain specialty, based on the single provider selected at the time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g. if I have selected Joe Doctor, I want to know how many orders Joe and the other Providers in his specialty have placed.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works:&lt;/P&gt;&lt;P&gt;count( {$&amp;lt;PrimarySpecialtyNM = P({$&amp;lt;ProviderFullNM= &lt;STRONG&gt;{'Doctor, Joe'}&lt;/STRONG&gt; &amp;gt;} PrimarySpecialtyNM)&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; , ProviderFullNM = &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;} EpicOrderID )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This doesn't: &lt;/P&gt;&lt;P&gt;count( {$&amp;lt;PrimarySpecialtyNM = P({$&amp;lt;ProviderFullNM= &lt;STRONG&gt;GetFieldSelections(ProviderFullNM)&lt;/STRONG&gt; &amp;gt;} PrimarySpecialtyNM)&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; , ProviderFullNM = &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;} EpicOrderID )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jul 2015 20:03:17 GMT</pubDate>
    <dc:creator>jstemig1</dc:creator>
    <dc:date>2015-07-20T20:03:17Z</dc:date>
    <item>
      <title>Dynamic Implicit Field Value?</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Implicit-Field-Value/m-p/832123#M292798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use the P() function to limit values, based on a dynamic input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the example from the Reference Manual below, I want to use the result of GetFieldSelections(), instead of 'Shoe'.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example from the manual:&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Customer = P({1&amp;lt;Product= &lt;STRONG&gt;{‘Shoe’}&lt;/STRONG&gt; &amp;gt;} Customer)&amp;gt;} Sales )&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Desired expression:&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Customer = P({1&amp;lt;Product=&amp;nbsp; &lt;STRONG&gt;GetFieldSelections(Product)&lt;/STRONG&gt; &amp;gt;} Customer)&amp;gt;} Sales )&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible??&amp;nbsp; I've also tried using a variable in place of the local GetFieldSelections() function, but no dice there either.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm really trying to do is get a count of orders that are were placed by any provider who belongs to a certain specialty, based on the single provider selected at the time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g. if I have selected Joe Doctor, I want to know how many orders Joe and the other Providers in his specialty have placed.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works:&lt;/P&gt;&lt;P&gt;count( {$&amp;lt;PrimarySpecialtyNM = P({$&amp;lt;ProviderFullNM= &lt;STRONG&gt;{'Doctor, Joe'}&lt;/STRONG&gt; &amp;gt;} PrimarySpecialtyNM)&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; , ProviderFullNM = &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;} EpicOrderID )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This doesn't: &lt;/P&gt;&lt;P&gt;count( {$&amp;lt;PrimarySpecialtyNM = P({$&amp;lt;ProviderFullNM= &lt;STRONG&gt;GetFieldSelections(ProviderFullNM)&lt;/STRONG&gt; &amp;gt;} PrimarySpecialtyNM)&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; , ProviderFullNM = &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;} EpicOrderID )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 20:03:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Implicit-Field-Value/m-p/832123#M292798</guid>
      <dc:creator>jstemig1</dc:creator>
      <dc:date>2015-07-20T20:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Implicit Field Value?</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Implicit-Field-Value/m-p/832124#M292799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&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;sum( {$&amp;lt;Customer = P({1&amp;lt;Product={&lt;STRONG&gt;$(=concat&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;(distinct chr(39) &amp;amp; Product &amp;amp; chr(39), ','))&lt;/STRONG&gt;&lt;/SPAN&gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;} Customer)&amp;gt;} Sales ) &lt;/SPAN&gt;&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;count( {$&amp;lt;PrimarySpecialtyNM = P({$&amp;lt;ProviderFullNM=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&lt;STRONG&gt;$(=concat&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;(distinct chr(39) &amp;amp; &lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;ProviderFullNM &lt;/STRONG&gt;&lt;/SPAN&gt;&amp;amp; chr(39), ','))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;}&lt;/SPAN&gt;&amp;gt;} PrimarySpecialtyNM)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , ProviderFullNM =&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;} EpicOrderID )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 20:09:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Implicit-Field-Value/m-p/832124#M292799</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2015-07-20T20:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Implicit Field Value?</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Implicit-Field-Value/m-p/832125#M292800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;maybe&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;count( {$&amp;lt;PrimarySpecialtyNM = P({$&amp;lt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ProviderFullNM=&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;{$(=concat(ProviderFullNM, ','))}&lt;/SPAN&gt;&amp;nbsp; &amp;gt;} PrimarySpecialtyNM)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , ProviderFullNM =&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;} EpicOrderID )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 20:12:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Implicit-Field-Value/m-p/832125#M292800</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-07-20T20:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Implicit Field Value?</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Implicit-Field-Value/m-p/832126#M292801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow, wouldn't have gotten there myself, thanks Nicole!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 20:19:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Implicit-Field-Value/m-p/832126#M292801</guid>
      <dc:creator>jstemig1</dc:creator>
      <dc:date>2015-07-20T20:19:40Z</dc:date>
    </item>
  </channel>
</rss>

