<?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: How to have 1 date dimensions when you use set analysis? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-have-1-date-dimensions-when-you-use-set-analysis/m-p/1233570#M859987</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(If(MONTH = Month_Logged_Open_Balance, count(DISTINCT{$&amp;lt;[MonthLogged_Open_Balance]=$::[Master Month Date],LOBMapping_Open_Balance=$::LOBMapping,CountryID_Open_Balance=$::CountryID,BusinessArea=$::ReMappedBusinessArea&amp;gt;}CaseIDR5_Open_Balance), Month_Logged_Open_Balance, MONTH)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jan 2017 11:51:26 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-01-25T11:51:26Z</dc:date>
    <item>
      <title>How to have 1 date dimensions when you use set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-have-1-date-dimensions-when-you-use-set-analysis/m-p/1233569#M859986</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;I have written a set analysis expression that pulls the right set of data, but because the 'Month_Logged_Open_Balance' is not a dimension in the straight table, 'Master Month Date ' is used, what happens is an aggregation of numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I link 'Month Logged Open Balance' to 'Master Month Date' in the dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Mixed dimension.PNG" class="jive-image image-1" src="/legacyfs/online/150821_Mixed dimension.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;In the above example I need the sets:&lt;/P&gt;&lt;P&gt;Month = 30/11/2016 and Month_Logged_Open_Balance=30/11/2016 (2152)&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;Month = 30/12/2016 and Month_Logged_Open_Balance=30/12/2016 (3310)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the Month_Logged_Open_Balance dimension is taken out and with a distinct count the figures understabely change.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Mixed dimension 2.PNG" class="jive-image image-2" src="/legacyfs/online/150822_Mixed dimension 2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know how to keep the Master Month statement as the dimension and get the numbers from Month_Logged_Open_Balance to be correct, or what I need too see, I have other expressions that use Master Month Date, they are switched off at the moment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my formula is:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[MonthLogged_Open_Balance]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=$::&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Master Month Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LOBMapping_Open_Balance&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=$::&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LOBMapping&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CountryID_Open_Balance&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=$::&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CountryID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;BusinessArea&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=$::&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ReMappedBusinessArea&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CaseIDR5_Open_Balance&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;Thanks &lt;/P&gt;&lt;P&gt;Neil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-have-1-date-dimensions-when-you-use-set-analysis/m-p/1233569#M859986</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to have 1 date dimensions when you use set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-have-1-date-dimensions-when-you-use-set-analysis/m-p/1233570#M859987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(If(MONTH = Month_Logged_Open_Balance, count(DISTINCT{$&amp;lt;[MonthLogged_Open_Balance]=$::[Master Month Date],LOBMapping_Open_Balance=$::LOBMapping,CountryID_Open_Balance=$::CountryID,BusinessArea=$::ReMappedBusinessArea&amp;gt;}CaseIDR5_Open_Balance), Month_Logged_Open_Balance, MONTH)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 11:51:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-have-1-date-dimensions-when-you-use-set-analysis/m-p/1233570#M859987</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-25T11:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to have 1 date dimensions when you use set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-have-1-date-dimensions-when-you-use-set-analysis/m-p/1233571#M859988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or if you have a field which uniquely define each combination of MONTH and Month_Logged_Open_Balance, then you can use set analysis like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(DISTINCT{$&amp;lt;[MonthLogged_Open_Balance]=$::[Master Month Date],LOBMapping_Open_Balance=$::LOBMapping,CountryID_Open_Balance=$::CountryID,BusinessArea=$::ReMappedBusinessArea&lt;SPAN style="color: #ff0000;"&gt;, UniqueField = {"=MONTH = Month_Logged_Open_Balance"}&lt;/SPAN&gt;&amp;gt;}CaseIDR5_Open_Balance)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 11:53:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-have-1-date-dimensions-when-you-use-set-analysis/m-p/1233571#M859988</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-25T11:53:04Z</dc:date>
    </item>
  </channel>
</rss>

