<?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 with a conditional sum in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Dimension-with-a-conditional-sum/m-p/1778378#M60464</link>
    <description>&lt;P&gt;Thanks, with your suggestion I resolved my problem!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jan 2021 09:41:02 GMT</pubDate>
    <dc:creator>Shi</dc:creator>
    <dc:date>2021-01-29T09:41:02Z</dc:date>
    <item>
      <title>Dimension with a conditional sum</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-with-a-conditional-sum/m-p/1778208#M60421</link>
      <description>&lt;P&gt;Hi to everyone!&lt;/P&gt;&lt;P&gt;I have an issue. I need to create a dimension MONTH that is dependent on two conditions. I want consider the dimension MONTH only if the Measure it is&amp;nbsp; equal 'Volumes' and its sum on that dimension is = 11.&lt;/P&gt;&lt;P&gt;I tried to write the following expression:&lt;/P&gt;&lt;P&gt;if (Sum({$&amp;lt;Measure={'Volumes'}&amp;gt;}VALUE)=11, MONTH)&lt;/P&gt;&lt;P&gt;The expression seems to be right, but then the dimension is invalid.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried also :&lt;/P&gt;&lt;P&gt;if ([Measure]='Volumes' and VALUE=11, MESE_FISCALE)&lt;/P&gt;&lt;P&gt;that one seems to work in the dimension, but I want the aggregate sum of the VALUE not only the single value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks to everyone!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:33:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-with-a-conditional-sum/m-p/1778208#M60421</guid>
      <dc:creator>Shi</dc:creator>
      <dc:date>2024-11-16T17:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension with a conditional sum</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-with-a-conditional-sum/m-p/1778223#M60427</link>
      <description>&lt;P&gt;the expression&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;if (Sum({$&amp;lt;Measure={'Volumes'}&amp;gt;}VALUE)=11, MONTH)&lt;/SPAN&gt;&lt;BR /&gt;is not allowed in dimension, encapsulate your SUM with AGGR depending on your other dimensions you need to decide what dimensions go inside the AGGR.&amp;nbsp; try aggr(&lt;SPAN&gt;Sum({$&amp;lt;Measure={'Volumes'}&amp;gt;}VALUE)&lt;/SPAN&gt;,MONTH)&lt;BR /&gt;also, validate first if the expression will return a value add&amp;nbsp;&lt;SPAN&gt;Sum({$&amp;lt;Measure={'Volumes'}&amp;gt;}VALUE) as an expression first.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 18:36:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-with-a-conditional-sum/m-p/1778223#M60427</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-01-28T18:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension with a conditional sum</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-with-a-conditional-sum/m-p/1778307#M60453</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/58578"&gt;@edwin&lt;/a&gt;&amp;nbsp;has said, you can't use that kind of expression in a calculated dimension. 99 times out of a 100 when I see this sort of requirement I find it can be solved by having the correct set analysis in your measure expression. Is VALUE a static single value or are you truly trying to sum it? Can you share what measure you are trying to calculate?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 04:31:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-with-a-conditional-sum/m-p/1778307#M60453</guid>
      <dc:creator>Rodj</dc:creator>
      <dc:date>2021-01-29T04:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension with a conditional sum</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-with-a-conditional-sum/m-p/1778378#M60464</link>
      <description>&lt;P&gt;Thanks, with your suggestion I resolved my problem!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 09:41:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-with-a-conditional-sum/m-p/1778378#M60464</guid>
      <dc:creator>Shi</dc:creator>
      <dc:date>2021-01-29T09:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension with a conditional sum</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-with-a-conditional-sum/m-p/1778514#M60488</link>
      <description>&lt;P&gt;np&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 17:01:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-with-a-conditional-sum/m-p/1778514#M60488</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-01-29T17:01:38Z</dc:date>
    </item>
  </channel>
</rss>

