<?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: Moving Calculated Dimension to Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Moving-Calculated-Dimension-to-Set-Analysis/m-p/1573652#M597981</link>
    <description>if one is a num and one is a date this would cause an issue yes. so its best to change this and see if it works.</description>
    <pubDate>Fri, 26 Apr 2019 08:05:53 GMT</pubDate>
    <dc:creator>bramkn</dc:creator>
    <dc:date>2019-04-26T08:05:53Z</dc:date>
    <item>
      <title>Moving Calculated Dimension to Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Moving-Calculated-Dimension-to-Set-Analysis/m-p/1573648#M597979</link>
      <description>&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;I have a calculated dimension as such :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;=&lt;/FONT&gt;&lt;FONT color="#0000ff" size="1"&gt;if&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;MATURITY_DATE&lt;/FONT&gt;&lt;FONT size="1"&gt; &amp;gt;= &lt;/FONT&gt;&lt;FONT color="#0000ff" size="1"&gt;MonthStart&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;SUMMARY_DATE&lt;/FONT&gt;&lt;FONT size="1"&gt;) &lt;/FONT&gt;&lt;FONT color="#0000ff" size="1"&gt;and&lt;/FONT&gt; &lt;FONT color="#800000" size="1"&gt;MATURITY_DATE&lt;/FONT&gt;&lt;FONT size="1"&gt; &amp;lt;= &lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;SUMMARY_DATE&lt;/FONT&gt;&lt;FONT size="1"&gt;,'Matured','') &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;and a expression as:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="1"&gt;sum&lt;/FONT&gt;&lt;FONT size="1"&gt;({$&amp;lt;&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;SUMMARY_DATE&lt;/FONT&gt;&lt;FONT size="1"&gt; = ,&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;UK&lt;/FONT&gt;&lt;FONT size="1"&gt; = {'N'},&amp;nbsp;&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;FRUIT&lt;/FONT&gt;&lt;FONT size="1"&gt; = {' '}&amp;gt;}&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt; PRICE&lt;/FONT&gt;&lt;FONT size="1"&gt;)/-1000000 &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;This gives me what I want which is what portion of my produce has matured.&amp;nbsp; I need to move the calculated dimension in to my expression due to the way I need to report (I have created a list of values with ValueList('Total','Maturites'))&lt;/P&gt;&lt;P&gt;When I move my calculated field on to my expression as:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="1"&gt;sum&lt;/FONT&gt;&lt;FONT size="1"&gt;({$&amp;lt;&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;SUMMARY_DATE&lt;/FONT&gt;&lt;FONT size="1"&gt; = ,&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;UK&lt;/FONT&gt;&lt;FONT size="1"&gt;= {'N'},&amp;nbsp;&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;FRUIT&lt;/FONT&gt;&lt;FONT size="1"&gt; = {' '},&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;MATURITY_DATE&lt;/FONT&gt;&lt;FONT size="1"&gt; = {&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;"&amp;gt;=$(SUMMARY_DATE)&amp;lt;$(SUMMARY_DATE)"&lt;/FONT&gt;&lt;FONT size="1"&gt;}&amp;gt;} &lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;PRICE&lt;/FONT&gt;&lt;FONT size="1"&gt;)/-1000000 &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;It doesn't seem to give me what I want.&amp;nbsp; Maturity date is in number format, Summary date is in date.&amp;nbsp; I wonder if that is the reason.&lt;/P&gt;&lt;P&gt;Any help is more than appreciated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:44:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Moving-Calculated-Dimension-to-Set-Analysis/m-p/1573648#M597979</guid>
      <dc:creator>aetingu12</dc:creator>
      <dc:date>2024-11-16T03:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Moving Calculated Dimension to Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Moving-Calculated-Dimension-to-Set-Analysis/m-p/1573652#M597981</link>
      <description>if one is a num and one is a date this would cause an issue yes. so its best to change this and see if it works.</description>
      <pubDate>Fri, 26 Apr 2019 08:05:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Moving-Calculated-Dimension-to-Set-Analysis/m-p/1573652#M597981</guid>
      <dc:creator>bramkn</dc:creator>
      <dc:date>2019-04-26T08:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Moving Calculated Dimension to Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Moving-Calculated-Dimension-to-Set-Analysis/m-p/1573654#M597983</link>
      <description>It is strange that is not an issue within the calculated dimension, but in the set analysis.</description>
      <pubDate>Fri, 26 Apr 2019 08:07:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Moving-Calculated-Dimension-to-Set-Analysis/m-p/1573654#M597983</guid>
      <dc:creator>aetingu12</dc:creator>
      <dc:date>2019-04-26T08:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Moving Calculated Dimension to Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Moving-Calculated-Dimension-to-Set-Analysis/m-p/1573656#M597984</link>
      <description>Thats true indeed. I make sure to always use nums to be sure it is going to work. Also make sure there is no time with that date. So always use floor.</description>
      <pubDate>Fri, 26 Apr 2019 08:09:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Moving-Calculated-Dimension-to-Set-Analysis/m-p/1573656#M597984</guid>
      <dc:creator>bramkn</dc:creator>
      <dc:date>2019-04-26T08:09:07Z</dc:date>
    </item>
  </channel>
</rss>

