<?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 search in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-search-in-set-analysis/m-p/741099#M1041854</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following calculated dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(only({&lt;/P&gt;&lt;P&gt;&amp;lt; InvoiceID=P({&amp;lt;Payment={'$(vRule01)'}&amp;gt;} InvoiceID )&amp;gt;&lt;/P&gt;&lt;P&gt; *&lt;/P&gt;&lt;P&gt; &amp;lt; InvoiceID=P({&amp;lt;Payment={"=replace(Payment,'.',vRule02)"}&amp;gt; } InvoiceID )&amp;gt; &lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&amp;lt; InvoiceID=P({&amp;lt;[Purchase Type]={'$(vRule03)'}&amp;gt;} InvoiceID )&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;*&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&amp;lt;InvoiceID=P({&amp;lt;InvoiceID={"CreatedBy=&lt;STRONG&gt;ChangedBy&lt;/STRONG&gt;"}&amp;gt;} InvoiceID)&amp;gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;} InvoiceID) ,InvoiceID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to do here is to replace the hard-coded "&lt;STRONG&gt;ChangedBy&lt;/STRONG&gt;" field in the last set analysis, with a variable such as vRule04, where depending on some other external events would pass the &lt;STRONG&gt;ChangedBy&lt;/STRONG&gt; field or some other field (like ApprovedBy)&amp;nbsp; to the set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone provide the correct syntax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Dec 2014 01:41:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-16T01:41:41Z</dc:date>
    <item>
      <title>Dynamic search in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-search-in-set-analysis/m-p/741099#M1041854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following calculated dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(only({&lt;/P&gt;&lt;P&gt;&amp;lt; InvoiceID=P({&amp;lt;Payment={'$(vRule01)'}&amp;gt;} InvoiceID )&amp;gt;&lt;/P&gt;&lt;P&gt; *&lt;/P&gt;&lt;P&gt; &amp;lt; InvoiceID=P({&amp;lt;Payment={"=replace(Payment,'.',vRule02)"}&amp;gt; } InvoiceID )&amp;gt; &lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&amp;lt; InvoiceID=P({&amp;lt;[Purchase Type]={'$(vRule03)'}&amp;gt;} InvoiceID )&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;*&lt;/P&gt;&lt;P style="font-size: 13.63636302948px;"&gt;&amp;lt;InvoiceID=P({&amp;lt;InvoiceID={"CreatedBy=&lt;STRONG&gt;ChangedBy&lt;/STRONG&gt;"}&amp;gt;} InvoiceID)&amp;gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;} InvoiceID) ,InvoiceID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to do here is to replace the hard-coded "&lt;STRONG&gt;ChangedBy&lt;/STRONG&gt;" field in the last set analysis, with a variable such as vRule04, where depending on some other external events would pass the &lt;STRONG&gt;ChangedBy&lt;/STRONG&gt; field or some other field (like ApprovedBy)&amp;nbsp; to the set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone provide the correct syntax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 01:41:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-search-in-set-analysis/m-p/741099#M1041854</guid>
      <dc:creator />
      <dc:date>2014-12-16T01:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic search in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-search-in-set-analysis/m-p/741100#M1041855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it would be&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: 13.63636302948px;"&gt;CreatedBy=&lt;/SPAN&gt;&lt;STRONG style="font-size: 13.63636302948px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.7272720336914px;"&gt;vRule04)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Have you tried that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 02:28:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-search-in-set-analysis/m-p/741100#M1041855</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-12-16T02:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic search in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-search-in-set-analysis/m-p/741101#M1041856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Had tried it before posting this with no success. Tried it again after your suggestion and now it works!. Thanks for your response and time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 05:19:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-search-in-set-analysis/m-p/741101#M1041856</guid>
      <dc:creator />
      <dc:date>2014-12-16T05:19:48Z</dc:date>
    </item>
  </channel>
</rss>

