<?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: Set Analysis to Match Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-Match-Dimension/m-p/294695#M109336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh alright, I haven't had the chance to work with QVD's, but Would something like this work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;if(AccountAlias.FlagExtensionFee = 1 OR AccountAlias.FlagRenewalFee = 1,1,0) as OrFlag;&lt;/P&gt;&lt;P&gt;Select *&lt;/P&gt;&lt;P&gt;From .......QVD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Dec 2011 20:07:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-12-12T20:07:12Z</dc:date>
    <item>
      <title>Set Analysis to Match Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-Match-Dimension/m-p/294690#M109331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am struggling with creating a Expression for a SUM that will match my selection for my dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=IF(AccountAlias.FlagCommitmentFee = 1 OR AccountAlias.FlagAmendmentFee = 1 OR AccountAlias.FlagExtensionFee = 1 OR AccountAlias.FlagRenewalFee = 1,FGL.NativeLoanKey,Null())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=If(Dimensionality ( ) &amp;gt; 8,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM({$&amp;lt;[FGLL.GLPostDate] = {"&amp;gt;=$(vRollbackEffectiveDate)&amp;lt;=$(=DATE(FLS_FullDateNum))"}, AccountAlias.FlagCommitmentFee = {"1"}&amp;gt;} AGGR(FactGLL.TransactionAmount,FGLL.NativeLoanKey,AccountAlias.Fees,FGLL.GLPostDate,Investor_SLF)) * (-1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I wouldl like to know how to do ORs in the Set Anaylsis syntax and can't quite figure it out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 19:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-Match-Dimension/m-p/294690#M109331</guid>
      <dc:creator />
      <dc:date>2011-12-12T19:07:38Z</dc:date>
    </item>
    <item>
      <title>Set Analysis to Match Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-Match-Dimension/m-p/294691#M109332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you could do is create a new field on the script:&lt;/P&gt;&lt;P&gt;if(AccountAlias.FlagExtensionFee = 1 OR AccountAlias.FlagRenewalFee = 1,1,0) as OrFlag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can do:&lt;/P&gt;&lt;P&gt;OrFlag={"1"}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 19:39:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-Match-Dimension/m-p/294691#M109332</guid>
      <dc:creator />
      <dc:date>2011-12-12T19:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis to Match Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-Match-Dimension/m-p/294692#M109333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I sort of have what I need...&amp;nbsp; Just not sure how to combine them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;SUM({$&amp;lt;[FGLL.GLPostDate] = {"&amp;gt;=$(vRollbackEffectiveDate)&amp;lt;=$(=DATE(FLS_FullDateNum))"} &amp;gt;} AGGR(FactGLL.TransactionAmount,FGLL.NativeLoanKey,AccountAlias.Fees,FGLL.GLPostDate,Investor_SLF)) * (-1)&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;SUM({&amp;lt;AccountAlias.FlagCommitmentFee = {"1"}&amp;gt; + &amp;lt;AccountAlias.FlagAmendmentFee = {"1"}&amp;gt;} AGGR(FactGLL.TransactionAmount,FGLL.NativeLoanKey,AccountAlias.Fees,FGLL.GLPostDate,Investor_SLF)) * (-1)&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 19:56:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-Match-Dimension/m-p/294692#M109333</guid>
      <dc:creator />
      <dc:date>2011-12-12T19:56:31Z</dc:date>
    </item>
    <item>
      <title>Set Analysis to Match Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-Match-Dimension/m-p/294693#M109334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alright, do the fields &lt;/P&gt;&lt;P&gt;AccountAlias.FlagCommitmentFee and AccountAlias.FlagAmendmentFee come from the same table? If they do then creating a new field if either equals 1 should allow you to do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;[FGLL.GLPostDate] = {"&amp;gt;=$(vRollbackEffectiveDate)&amp;lt;=$(=DATE(FLS_FullDateNum))"}, OrFlag={"1"}&amp;gt;} AGGR(FactGLL.TransactionAmount,FGLL.NativeLoanKey,AccountAlias.Fees,FGLL.GLPostDate,Investor_SLF)) * (-1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 20:00:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-Match-Dimension/m-p/294693#M109334</guid>
      <dc:creator />
      <dc:date>2011-12-12T20:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis to Match Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-Match-Dimension/m-p/294694#M109335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't just do that at the moment.&amp;nbsp; I do not have the "Load Script to work with".&amp;nbsp; I only have the QVW that is generated from the QVD's&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 20:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-Match-Dimension/m-p/294694#M109335</guid>
      <dc:creator />
      <dc:date>2011-12-12T20:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis to Match Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-Match-Dimension/m-p/294695#M109336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh alright, I haven't had the chance to work with QVD's, but Would something like this work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;if(AccountAlias.FlagExtensionFee = 1 OR AccountAlias.FlagRenewalFee = 1,1,0) as OrFlag;&lt;/P&gt;&lt;P&gt;Select *&lt;/P&gt;&lt;P&gt;From .......QVD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 20:07:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-Match-Dimension/m-p/294695#M109336</guid>
      <dc:creator />
      <dc:date>2011-12-12T20:07:12Z</dc:date>
    </item>
  </channel>
</rss>

