<?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 Calculated Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1594881#M737533</link>
    <description>&lt;P&gt;i have a calculate dimension in a trend line chart, with if statements, BUT my second if statement is giving me 0s. so if i switch the 1st if statement to the second position, i get incorrect values for it. so, in essence, it is only returning a correct value for whatever calculation is being done first.&lt;/P&gt;&lt;P&gt;Expression: count(personnel)&lt;/P&gt;&lt;P&gt;the goal is: 489,546 in FY1, and 486,990 in FY2&lt;/P&gt;&lt;P&gt;i have never encountered this in qlik. any thoughts? (i could do them as expressions, but i want to change the bar chart to a trend chart)&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Dimension in the 1st bar chart:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=if(fiscalyear1headcount=1 , 'FY1',&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;IF(fiscalyear2headcount=1 , 'FY2',&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;IF(fiscalyear3headcount=1, 'FY3')))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Dimension in the 2nd bar chart:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=if(fiscalyear2headcount=1 , 'FY2',&lt;BR /&gt;IF(fiscalyear1headcount=1 , 'FY1',&lt;BR /&gt;IF(fiscalyear3headcount=1, 'FY3')))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="persons.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14236i2C81BA1F312D8CD6/image-size/large?v=v2&amp;amp;px=999" role="button" title="persons.PNG" alt="persons.PNG" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 20:36:34 GMT</pubDate>
    <dc:creator>triekong</dc:creator>
    <dc:date>2024-11-16T20:36:34Z</dc:date>
    <item>
      <title>Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1594881#M737533</link>
      <description>&lt;P&gt;i have a calculate dimension in a trend line chart, with if statements, BUT my second if statement is giving me 0s. so if i switch the 1st if statement to the second position, i get incorrect values for it. so, in essence, it is only returning a correct value for whatever calculation is being done first.&lt;/P&gt;&lt;P&gt;Expression: count(personnel)&lt;/P&gt;&lt;P&gt;the goal is: 489,546 in FY1, and 486,990 in FY2&lt;/P&gt;&lt;P&gt;i have never encountered this in qlik. any thoughts? (i could do them as expressions, but i want to change the bar chart to a trend chart)&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Dimension in the 1st bar chart:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=if(fiscalyear1headcount=1 , 'FY1',&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;IF(fiscalyear2headcount=1 , 'FY2',&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;IF(fiscalyear3headcount=1, 'FY3')))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Dimension in the 2nd bar chart:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=if(fiscalyear2headcount=1 , 'FY2',&lt;BR /&gt;IF(fiscalyear1headcount=1 , 'FY1',&lt;BR /&gt;IF(fiscalyear3headcount=1, 'FY3')))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="persons.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14236i2C81BA1F312D8CD6/image-size/large?v=v2&amp;amp;px=999" role="button" title="persons.PNG" alt="persons.PNG" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:36:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1594881#M737533</guid>
      <dc:creator>triekong</dc:creator>
      <dc:date>2024-11-16T20:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1595069#M737534</link>
      <description>&lt;P&gt;Would you be able to share a sample qvw to check this out? Also, what numbers do you expect to see (for the attached sample) for all the three bars?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 11:50:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1595069#M737534</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-06-24T11:50:21Z</dc:date>
    </item>
  </channel>
</rss>

