<?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: Invalid Dimension error ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Invalid-Dimension-error/m-p/1508315#M750692</link>
    <description>&lt;P&gt;Since you are adding&amp;nbsp;four expressions, I would try each individual expression to see which one causes the error.&lt;/P&gt;&lt;P&gt;If that fails, you might try using rangesum instead of +.&lt;/P&gt;&lt;P&gt;Now i see the division.&lt;/P&gt;&lt;P&gt;Do you really mean to do:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt;Group={'CG'},brand = {'Options'}&amp;gt;}Revenue) / Sum({&amp;lt;Group={'CG'}&amp;gt;}Revenue&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or did you want the four expressions summed first and then divide?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Nov 2018 17:44:33 GMT</pubDate>
    <dc:creator>m_woolf</dc:creator>
    <dc:date>2018-11-16T17:44:33Z</dc:date>
    <item>
      <title>Invalid Dimension error ?</title>
      <link>https://community.qlik.com/t5/QlikView/Invalid-Dimension-error/m-p/1508312#M750691</link>
      <description>&lt;P&gt;I am fairly new and not sure why I get error Invalid Dimension for this expression in my table when I have others similar working.&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Group={'CG'},TS = {'QS'},PCat = {'Premium'}&amp;gt;}Revenue) + Sum({&amp;lt;Group={'CG'},brand = {'Services'}&amp;gt;}Revenue)+ Sum({&amp;lt;Group={'CG'},brand = {'Wks'}&amp;gt;}Revenue) + Sum({&amp;lt;Group={'CG'},brand = {'Options'}&amp;gt;}Revenue) / Sum({&amp;lt;Group={'CG'}&amp;gt;}Revenue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there is a better way to write this as well I am eager to learn.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:52:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Invalid-Dimension-error/m-p/1508312#M750691</guid>
      <dc:creator>victagbc</dc:creator>
      <dc:date>2024-11-16T21:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Dimension error ?</title>
      <link>https://community.qlik.com/t5/QlikView/Invalid-Dimension-error/m-p/1508315#M750692</link>
      <description>&lt;P&gt;Since you are adding&amp;nbsp;four expressions, I would try each individual expression to see which one causes the error.&lt;/P&gt;&lt;P&gt;If that fails, you might try using rangesum instead of +.&lt;/P&gt;&lt;P&gt;Now i see the division.&lt;/P&gt;&lt;P&gt;Do you really mean to do:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt;Group={'CG'},brand = {'Options'}&amp;gt;}Revenue) / Sum({&amp;lt;Group={'CG'}&amp;gt;}Revenue&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or did you want the four expressions summed first and then divide?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 17:44:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Invalid-Dimension-error/m-p/1508315#M750692</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2018-11-16T17:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Dimension error ?</title>
      <link>https://community.qlik.com/t5/QlikView/Invalid-Dimension-error/m-p/1508319#M750693</link>
      <description>There was a missing closing parenthesis at the end of the expression:&lt;BR /&gt;&lt;BR /&gt;=Sum({&amp;lt;Group={'CG'},TS = {'QS'},PCat = {'Premium'}&amp;gt;}Revenue) + Sum({&amp;lt;Group={'CG'},brand = {'Services'}&amp;gt;}Revenue)+ Sum({&amp;lt;Group={'CG'},brand = {'Wks'}&amp;gt;}Revenue) + Sum({&amp;lt;Group={'CG'},brand = {'Options'}&amp;gt;}Revenue) / Sum({&amp;lt;Group={'CG'}&amp;gt;}Revenue )</description>
      <pubDate>Fri, 16 Nov 2018 17:46:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Invalid-Dimension-error/m-p/1508319#M750693</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-11-16T17:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Dimension error ?</title>
      <link>https://community.qlik.com/t5/QlikView/Invalid-Dimension-error/m-p/1508321#M750694</link>
      <description>&lt;P&gt;So I think maybe the expression may not be the issue as I tried just&amp;nbsp;Sum({&amp;lt;Group={'CG'}&amp;gt;}Revenue) and still get the error, even though I have this expression in another column where it works without error.&amp;nbsp; If I change the expression to just =Revenue the error is gone.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 17:49:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Invalid-Dimension-error/m-p/1508321#M750694</guid>
      <dc:creator>victagbc</dc:creator>
      <dc:date>2018-11-16T17:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Dimension error ?</title>
      <link>https://community.qlik.com/t5/QlikView/Invalid-Dimension-error/m-p/1508322#M750695</link>
      <description>Sorry that was in my real expression just didnt paste over.</description>
      <pubDate>Fri, 16 Nov 2018 17:50:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Invalid-Dimension-error/m-p/1508322#M750695</guid>
      <dc:creator>victagbc</dc:creator>
      <dc:date>2018-11-16T17:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Dimension error ?</title>
      <link>https://community.qlik.com/t5/QlikView/Invalid-Dimension-error/m-p/1508323#M750696</link>
      <description>Are you using that as a measure or as a dimension? If you try to use it as a dimension I understand why you get an error. An expression can only return one result. A simple sum(something) cannot be used as a dimension. You need to specify one or more fields that need to be used to calculated the sums over. For that you need to use the Aggr function: Aggr(sum(Revenue), MyDimension1, MyDimension2, ... etc).</description>
      <pubDate>Fri, 16 Nov 2018 17:53:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Invalid-Dimension-error/m-p/1508323#M750696</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-11-16T17:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Dimension error ?</title>
      <link>https://community.qlik.com/t5/QlikView/Invalid-Dimension-error/m-p/1508329#M750697</link>
      <description>&lt;P&gt;Thanks so much, built it as a measure and it works.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 17:58:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Invalid-Dimension-error/m-p/1508329#M750697</guid>
      <dc:creator>victagbc</dc:creator>
      <dc:date>2018-11-16T17:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Dimension error ?</title>
      <link>https://community.qlik.com/t5/QlikView/Invalid-Dimension-error/m-p/1508331#M750698</link>
      <description>Great. Glad you got it sorted. Could you mark a post as the solution? That makes it easier for other users to find solutions to their questions.</description>
      <pubDate>Fri, 16 Nov 2018 18:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Invalid-Dimension-error/m-p/1508331#M750698</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-11-16T18:01:33Z</dc:date>
    </item>
  </channel>
</rss>

