<?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 Same expression, same table but one gives Invalid dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Same-expression-same-table-but-one-gives-Invalid-dimension/m-p/2479568#M1226057</link>
    <description>&lt;P&gt;I have this expression:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;=IF(
    (moreJourneys - moreJourneysR) &amp;gt; (SUM(corse_perse_norilevanti) - corse_rec_norilevanti_mex),
    IF(
        (SUM(corse_perse_norilevanti) - corse_rec_norilevanti_mex) &amp;gt; 0,
        SUM(corse_perse_norilevanti) - corse_rec_norilevanti_mex,
        0
    ),
    (moreJourneys - moreJourneysR)
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;I use it in two columns in a table inside one of my app sheets and in one of them everything works fine but in the other column it gives back the error Invalid Dimension.&lt;BR /&gt;Qlik says that the expression sintax is fine.&lt;BR /&gt;&lt;BR /&gt;I have no clue on what to do at this point:&lt;BR /&gt;&lt;BR /&gt;Actually i believe the thing creating the problem is &lt;STRONG&gt;sum(corse_perse_norilevanti)&lt;/STRONG&gt; but it still make no sense since in the other column it works fine. &lt;STRONG&gt;(Working in the same app, sheet and table)&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for the help &lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2024 09:20:12 GMT</pubDate>
    <dc:creator>CardiMatt02</dc:creator>
    <dc:date>2024-09-04T09:20:12Z</dc:date>
    <item>
      <title>Same expression, same table but one gives Invalid dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Same-expression-same-table-but-one-gives-Invalid-dimension/m-p/2479568#M1226057</link>
      <description>&lt;P&gt;I have this expression:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;=IF(
    (moreJourneys - moreJourneysR) &amp;gt; (SUM(corse_perse_norilevanti) - corse_rec_norilevanti_mex),
    IF(
        (SUM(corse_perse_norilevanti) - corse_rec_norilevanti_mex) &amp;gt; 0,
        SUM(corse_perse_norilevanti) - corse_rec_norilevanti_mex,
        0
    ),
    (moreJourneys - moreJourneysR)
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;I use it in two columns in a table inside one of my app sheets and in one of them everything works fine but in the other column it gives back the error Invalid Dimension.&lt;BR /&gt;Qlik says that the expression sintax is fine.&lt;BR /&gt;&lt;BR /&gt;I have no clue on what to do at this point:&lt;BR /&gt;&lt;BR /&gt;Actually i believe the thing creating the problem is &lt;STRONG&gt;sum(corse_perse_norilevanti)&lt;/STRONG&gt; but it still make no sense since in the other column it works fine. &lt;STRONG&gt;(Working in the same app, sheet and table)&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for the help &lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 09:20:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-expression-same-table-but-one-gives-Invalid-dimension/m-p/2479568#M1226057</guid>
      <dc:creator>CardiMatt02</dc:creator>
      <dc:date>2024-09-04T09:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Same expression, same table but one gives Invalid dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Same-expression-same-table-but-one-gives-Invalid-dimension/m-p/2479574#M1226058</link>
      <description>&lt;P&gt;By any chance, one is expression and another is dimension (calculated)? If so, you can't use aggregation function (here - sum) without aggr/total. However, the same expression as expression would work fine&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 09:31:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-expression-same-table-but-one-gives-Invalid-dimension/m-p/2479574#M1226058</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2024-09-04T09:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Same expression, same table but one gives Invalid dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Same-expression-same-table-but-one-gives-Invalid-dimension/m-p/2479580#M1226059</link>
      <description>&lt;P&gt;Thank you, that was the problem. I created another column as Measure and deleted the old one that was a Dimension.&lt;BR /&gt;&lt;BR /&gt;I'm still a noob with Qlik xD&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 10:15:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-expression-same-table-but-one-gives-Invalid-dimension/m-p/2479580#M1226059</guid>
      <dc:creator>CardiMatt02</dc:creator>
      <dc:date>2024-09-04T10:15:37Z</dc:date>
    </item>
  </channel>
</rss>

