<?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: Calculated Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1693910#M726759</link>
    <description>&lt;P&gt;Hi Rubenmarin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this worked perfectly thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Kallie&lt;/P&gt;</description>
    <pubDate>Thu, 16 Apr 2020 06:27:48 GMT</pubDate>
    <dc:creator>Kreyneke</dc:creator>
    <dc:date>2020-04-16T06:27:48Z</dc:date>
    <item>
      <title>Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1693586#M726757</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am trying to create a graph/ table to show the value above 30k and number of stores and below 10k number of stores.&lt;/P&gt;&lt;P&gt;The formula i am using is calculating the values but i am not sure how to limit it above 30k&lt;/P&gt;&lt;P&gt;=aggr(&lt;BR /&gt;(sum({&amp;lt;Year = {"$(=MaxString(Year))"}&amp;gt;}rangesum(Lens_Total_Net) * SETTLEMENT_%)) ,&lt;BR /&gt;CSTM_CD)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it is also breaking up the totals into different values instead of just one sum?&lt;/P&gt;&lt;P&gt;any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Kallie&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1693586#M726757</guid>
      <dc:creator>Kreyneke</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1693623#M726758</link>
      <description>&lt;P&gt;Hi, you can try with:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=aggr(
IF(sum({&amp;lt;Year = {"$(=MaxString(Year))"}&amp;gt;}rangesum(Lens_Total_Net) * SETTLEMENT_%)&amp;gt;30000, '&amp;gt;30K'
  ,IF(sum({&amp;lt;Year = {"$(=MaxString(Year))"}&amp;gt;}rangesum(Lens_Total_Net) * SETTLEMENT_%)&amp;gt;10000, '&amp;gt;10K')) ,
CSTM_CD) &lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 15 Apr 2020 10:56:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1693623#M726758</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-04-15T10:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1693910#M726759</link>
      <description>&lt;P&gt;Hi Rubenmarin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this worked perfectly thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Kallie&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 06:27:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1693910#M726759</guid>
      <dc:creator>Kreyneke</dc:creator>
      <dc:date>2020-04-16T06:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1694046#M726760</link>
      <description>&lt;P&gt;Hi Rubenmarin,&lt;/P&gt;&lt;P&gt;From initial looks the calcualted dimension is working correctly. but it is under the expression count it is not actually totalling up correctly.&lt;/P&gt;&lt;P&gt;Below i used a excel sheet to calculate it uses the same expressions as in the calculated graph and the totals are different.&lt;/P&gt;&lt;P&gt;count in attached sheet is &amp;gt;30 - 217&lt;/P&gt;&lt;P&gt;&amp;gt;10 - 148&lt;/P&gt;&lt;P&gt;how ever qlikview is calculating&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;30 - 215&lt;/P&gt;&lt;P&gt;&amp;gt;10 - 139&lt;/P&gt;&lt;P&gt;this is under the 2019 tab.&lt;/P&gt;&lt;P&gt;Would you be able to assist me with this?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Kallie&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 12:19:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1694046#M726760</guid>
      <dc:creator>Kreyneke</dc:creator>
      <dc:date>2020-04-16T12:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1694047#M726761</link>
      <description>&lt;P&gt;Hi Ruben,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i just realized why it is calculating correctly for 2020 but not for 2019.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the calculated dimension we have (=MaxString(Year) which is current year. but in my expression i am adding in 2019 in as well. which is then adding them up wrong&lt;/P&gt;&lt;P&gt;any idea of how i can fix that?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Kallie&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 12:25:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1694047#M726761</guid>
      <dc:creator>Kreyneke</dc:creator>
      <dc:date>2020-04-16T12:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1694070#M726762</link>
      <description>&lt;P&gt;Can you try if this works?:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=aggr(
IF(sum({&amp;lt;Year = {"$(=MaxString(Year))","$(=MaxString(Year),2)"}&amp;gt;}rangesum(Lens_Total_Net) * SETTLEMENT_%)&amp;gt;30000, '&amp;gt;30K'
  ,IF(sum({&amp;lt;Year = {"$(=MaxString(Year))","$(=MaxString(Year),2)"}&amp;gt;}rangesum(Lens_Total_Net) * SETTLEMENT_%)&amp;gt;10000, '&amp;gt;10K')) ,
CSTM_CD)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 13:10:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1694070#M726762</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-04-16T13:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1694074#M726763</link>
      <description>&lt;P&gt;Hi Rubenmarin,&lt;/P&gt;&lt;P&gt;it unfortunately still gives the same calculations.&lt;/P&gt;&lt;P&gt;what does the 2 do if i may ask?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Kallie&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 13:15:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1694074#M726763</guid>
      <dc:creator>Kreyneke</dc:creator>
      <dc:date>2020-04-16T13:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1694075#M726764</link>
      <description>&lt;P&gt;Hi Kallie, I post it wrong, it should be a parameter of Maxstring(), 2 means to get the second max value&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=aggr(
IF(sum({&amp;lt;Year = {"$(=MaxString(Year))","$(=MaxString(Year,2))"}&amp;gt;}rangesum(Lens_Total_Net) * SETTLEMENT_%)&amp;gt;30000, '&amp;gt;30K'
  ,IF(sum({&amp;lt;Year = {"$(=MaxString(Year))","$(=MaxString(Year,2))"}&amp;gt;}rangesum(Lens_Total_Net) * SETTLEMENT_%)&amp;gt;10000, '&amp;gt;10K')) ,
CSTM_CD)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 13:18:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1694075#M726764</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-04-16T13:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1694077#M726765</link>
      <description>&lt;P&gt;Hi Rubenmarin&lt;/P&gt;&lt;P&gt;unfortunately the values for 2019 is still the same&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Kallie&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 13:22:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1694077#M726765</guid>
      <dc:creator>Kreyneke</dc:creator>
      <dc:date>2020-04-16T13:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1694080#M726766</link>
      <description>&lt;P&gt;Maybe adding Year field to aggr():&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=aggr(
IF(sum({&amp;lt;Year = {"$(=MaxString(Year))","$(=MaxString(Year,2))"}&amp;gt;}rangesum(Lens_Total_Net) * SETTLEMENT_%)&amp;gt;30000, '&amp;gt;30K'
  ,IF(sum({&amp;lt;Year = {"$(=MaxString(Year))","$(=MaxString(Year,2))"}&amp;gt;}rangesum(Lens_Total_Net) * SETTLEMENT_%)&amp;gt;10000, '&amp;gt;10K')) ,
CSTM_CD, Year)&lt;/LI-CODE&gt;&lt;P&gt;If you could upload a sample I could make some tries.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 13:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1694080#M726766</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-04-16T13:25:53Z</dc:date>
    </item>
  </channel>
</rss>

