<?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: Set analysis issue with island dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-issue-with-island-dimension/m-p/1598612#M444099</link>
    <description>&lt;P&gt;I solved it using the following formula in the expression :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SUM({&amp;lt;MONTH=&amp;gt;}if(ANALYSIS = 'YTD', AMOUNT))+
SUM(if(ANALYSIS = 'PERIOD', AMOUNT))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jul 2019 12:10:25 GMT</pubDate>
    <dc:creator>fabrice_lattern</dc:creator>
    <dc:date>2019-07-03T12:10:25Z</dc:date>
    <item>
      <title>Set analysis issue with island dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-issue-with-island-dimension/m-p/1598596#M444094</link>
      <description>&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;I am facing an issue with some requirement.&lt;/P&gt;&lt;P&gt;I have to build a stacked bar chart that present some YTD figures + the figures of the selected period, following a split by a dimension (called "sourcing group"). So I created an island table like this :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ANALYSIS:
LOAD * INLINE [
ANALYSIS
YTD
PERIOD
];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and a dummy table with some data to reproduce the issue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TEST:
LOAD * INLINE [
PO NUMBER, MONTH, SOURCING GROUP, AMOUNT
1, 1, A, 100
2, 1, B, 200
3, 2, A, 80
4, 2, B, 20
5, 3, A, 90
];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my bar chart, I added the two dimensions ANALYSIS and SOURCING GROUP, and the following formula as an expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=if(ANALYSIS = 'YTD', SUM({&amp;lt;MONTH=&amp;gt;}AMOUNT), if(ANALYSIS='PERIOD', SUM(AMOUNT)))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The idea is to have:&lt;BR /&gt;- One column with the YTD figures, not depending on month selection&lt;BR /&gt;- One other column with the selected period figures&lt;/P&gt;&lt;P&gt;The issue is that on March, I have no data for sourcing group "B", and the YTD figures show only dimension "A" instead of showing the split.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="All months selected.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14847iC213B243A802F435/image-size/medium?v=v2&amp;amp;px=400" role="button" title="All months selected.png" alt="All months selected.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="March selected.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14848iE4884B87C97057A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="March selected.png" alt="March selected.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I suppose that I have to use a calculated dimension, but I do not the expression to use.&lt;/P&gt;&lt;P&gt;Thanks in advance for any advice !&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 11:30:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-issue-with-island-dimension/m-p/1598596#M444094</guid>
      <dc:creator>fabrice_lattern</dc:creator>
      <dc:date>2019-07-03T11:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis issue with island dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-issue-with-island-dimension/m-p/1598612#M444099</link>
      <description>&lt;P&gt;I solved it using the following formula in the expression :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SUM({&amp;lt;MONTH=&amp;gt;}if(ANALYSIS = 'YTD', AMOUNT))+
SUM(if(ANALYSIS = 'PERIOD', AMOUNT))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 12:10:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-issue-with-island-dimension/m-p/1598612#M444099</guid>
      <dc:creator>fabrice_lattern</dc:creator>
      <dc:date>2019-07-03T12:10:25Z</dc:date>
    </item>
  </channel>
</rss>

