<?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/1459586#M794523</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to create a line graph in QlikView to compare data across two years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dimension (DOA_Month) and an expression (AVG([Total LOS]) which shows me the length of stay across the months however this shows a combination of two years worth of data across the same months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can add a list box to pick a specific year (DOA-Year) but ideally i'd like to show both years (2016 and 2017 from the DOA-Year dimension) on the same graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure its easy to do but my brains just not working this morning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would i do this with a 'calculated dimension' or somewhere as an expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>peterderrington</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Calculated Dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459586#M794523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to create a line graph in QlikView to compare data across two years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dimension (DOA_Month) and an expression (AVG([Total LOS]) which shows me the length of stay across the months however this shows a combination of two years worth of data across the same months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can add a list box to pick a specific year (DOA-Year) but ideally i'd like to show both years (2016 and 2017 from the DOA-Year dimension) on the same graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure its easy to do but my brains just not working this morning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would i do this with a 'calculated dimension' or somewhere as an expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459586#M794523</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459587#M794524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create 2 Expression one for 16 and other of 17&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(AVG{&amp;lt;Year='2016'&amp;gt;([Total LOS])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(AVG{&amp;lt;Year='2017'&amp;gt;([Total LOS])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 10:22:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459587#M794524</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2018-01-05T10:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459588#M794525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have date field, you could try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=MonthName([Date])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else, you could try concatenating fields like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Year &amp;amp; ' - ' &amp;amp; Month&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 10:23:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459588#M794525</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-01-05T10:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459589#M794526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This feels like its almost it however is it not missing an } symbol?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should the Year option not be DOA-Year?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the speedy responce&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 10:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459589#M794526</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2018-01-05T10:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459590#M794527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried:&lt;/P&gt;&lt;P&gt;Avg({&amp;lt;[DOA-Year]='2016'&amp;gt;}([Total LOS]))&lt;/P&gt;&lt;P&gt;which it accepted as an OK Expression however it then just shows 'No data to display' in the graph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 10:41:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459590#M794527</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2018-01-05T10:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459591#M794528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(AVG{&amp;lt;DOA-Year='2016'&amp;gt;}([Total LOS])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes you are right&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 10:42:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459591#M794528</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2018-01-05T10:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459592#M794529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So any idea as to why i'm getting the 'No data to display' message then?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 10:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459592#M794529</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2018-01-05T10:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459593#M794530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can u please share some sample data and what desired output u are looking for/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 10:48:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459593#M794530</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2018-01-05T10:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459594#M794535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached are two pictures of the normal data, each with the list box selected for either 2016 or 2017&lt;/P&gt;&lt;P&gt;I have attached an example of the data.&lt;/P&gt;&lt;P&gt;The fields we're looking at are: &lt;/P&gt;&lt;P&gt;Total LOS - 1 till end of NSECH&lt;/P&gt;&lt;P&gt;DOA-Month&lt;/P&gt;&lt;P&gt;DOA-Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want a line graph as shown but with the two years shown in different colours on the same graph.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 11:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459594#M794535</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2018-01-05T11:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459595#M794540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add One more calculated dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(DOA-Year&amp;gt;2015,DOA-Year)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Add &lt;STRONG&gt;DOA-Year&lt;/STRONG&gt; as a dimension and change exp to&lt;STRONG&gt; &lt;BR /&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;A&lt;STRONG&gt;VG({&amp;lt;DOA-Year={'2016','2017'}&amp;gt;}([Total LOS])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 11:05:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459595#M794540</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2018-01-05T11:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459596#M794542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;AVG({&amp;lt;DOA-Year={'2016'}&amp;gt;}[Total LOS])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 11:12:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459596#M794542</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-05T11:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459597#M794543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. Its all showing exactly as i needed it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 11:16:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1459597#M794543</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2018-01-05T11:16:55Z</dc:date>
    </item>
  </channel>
</rss>

