<?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: Dimension Calculation errors in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimension-Calculation-errors/m-p/1042608#M931131</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;i dont know if i understood you but i think you need to work with Straight Table and Pivot table in order to achieve what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a sample application with dummy data for you to see some examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this helps and if you need something else.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Mar 2016 20:49:46 GMT</pubDate>
    <dc:creator>santiago_respane</dc:creator>
    <dc:date>2016-03-09T20:49:46Z</dc:date>
    <item>
      <title>Dimension Calculation errors</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Calculation-errors/m-p/1042607#M931130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I'm a newbie so here goes my first question in QlikView. I am trying to create a table or chart that will help me analyze data. I have what I think should be the dimension (Year) and multiple expressions (Products 1/2/3/4).&amp;nbsp; When I create the table or chart, it only allows me to select dimension (Year). I don't want that, I want to select any expression that contains "1" as the value. I'd like to make a decision on which expression to analyze by the largest number of values of "1" for that Product. Note; the expression fields only contain a "0" or "1."&amp;nbsp; The raw dataset looks something like the below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); border-image: none; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Year&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Product 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Product 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Product 3&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Product 4&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essentially, I want the final table to look like the below. I want to be able to click on the Sum of&amp;nbsp; the Products individually; 3, 1, 5 or 4 and select those records for analysis in another table. I tried to move the Products into the dimension (so that I could select them) and the Year to the expression but I get Dimension Calculation errors when I try to Sum each of those fields. I would appreciate if someone could advise. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Product 1 = 3&lt;/P&gt;&lt;P&gt;Product 2 = 1&lt;/P&gt;&lt;P&gt;Product 3 = 5&lt;/P&gt;&lt;P&gt;Product 4 = 4&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/Dimension-Calculation-errors/m-p/1042607#M931130</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Calculation errors</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Calculation-errors/m-p/1042608#M931131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;i dont know if i understood you but i think you need to work with Straight Table and Pivot table in order to achieve what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a sample application with dummy data for you to see some examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this helps and if you need something else.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 20:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Calculation-errors/m-p/1042608#M931131</guid>
      <dc:creator>santiago_respane</dc:creator>
      <dc:date>2016-03-09T20:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Calculation errors</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Calculation-errors/m-p/1042609#M931132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the prompt response Santiago. Except I'm not clear with the table mock up. My table looks like the one I described above where Product 1, Product 2, Product 3 and Product 4 are different fields/columns, each containing values '0' or '1'.&amp;nbsp; So, I don't have a table with a singular 'Product' column and separate Qty column. Does that make sense what I'm trying to do ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 21:33:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Calculation-errors/m-p/1042609#M931132</guid>
      <dc:creator />
      <dc:date>2016-03-09T21:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Calculation errors</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Calculation-errors/m-p/1042610#M931133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok now i got it, you should use crosstable load, this will allow you to pivot your table so that in memory yo have a single column named Product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample of code:&lt;/P&gt;&lt;P&gt;tmpData:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Crosstable (Product, Sales)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Load Year, [Product1], [Product2], Product3, Product4,Product5 resident TEST;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 22:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Calculation-errors/m-p/1042610#M931133</guid>
      <dc:creator>santiago_respane</dc:creator>
      <dc:date>2016-03-09T22:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Calculation errors</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Calculation-errors/m-p/1042611#M931134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect. That's just what i need. Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 11:03:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Calculation-errors/m-p/1042611#M931134</guid>
      <dc:creator />
      <dc:date>2016-03-10T11:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Calculation errors</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Calculation-errors/m-p/1042612#M931135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent! Im glad to read that.&lt;/P&gt;&lt;P&gt;Please mark the answer as correct in order close the discussion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 11:29:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Calculation-errors/m-p/1042612#M931135</guid>
      <dc:creator>santiago_respane</dc:creator>
      <dc:date>2016-03-10T11:29:16Z</dc:date>
    </item>
  </channel>
</rss>

