<?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: Complications in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Complications/m-p/1431945#M804455</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shoham&lt;/P&gt;&lt;P&gt;is there way to make &lt;/P&gt;&lt;P&gt;to make this dimesion as dynamic .....if this can be achived as dynamic then my thing is achived ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=Pick(Dim,MonthName(Created),'AVG 2015','AVG 2016','AVG 2017')..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Nov 2017 09:32:07 GMT</pubDate>
    <dc:creator>smilingjohn</dc:creator>
    <dc:date>2017-11-08T09:32:07Z</dc:date>
    <item>
      <title>Complications</title>
      <link>https://community.qlik.com/t5/QlikView/Complications/m-p/1431940#M804450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Expertise, &lt;/P&gt;&lt;P&gt;Please find the attachment of the QVW file.&lt;/P&gt;&lt;P&gt;I have a table chart&amp;nbsp; where&amp;nbsp; there is a average of three years and this depends on the load date selection .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently iam selecting say october -2017(10-10-2017 from load date then&amp;nbsp; my chart should show the 2015 AVG and 2016 avg and 2017 avg only till october..&lt;/P&gt;&lt;P&gt;it should show devide 2017/ 10 ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should be dynamic ...&lt;/P&gt;&lt;P&gt;everything should show based on load date selection .&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/Complications/m-p/1431940#M804450</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Complications</title>
      <link>https://community.qlik.com/t5/QlikView/Complications/m-p/1431941#M804451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be easier to do this, generally speaking, if you isolate the month and year for each date at the script level. This simplifies the set analysis later:&lt;/P&gt;&lt;P&gt;[Load Date] =,[Load Year] = {$(=SELECT_YEAR-1)} , [Period Number] = { "&amp;lt;=$(=MONTH_NUM)"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that in this example I've used variables for SELECT_YEAR, which evaluates to Only([Load Year]), and MONTH_NUM, which evaluates to num([Load Month]). This isn't strictly necessary but I find it easier to read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could take the same approach without loading the month and year at the script level, by isolating them using the variables. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 07:55:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complications/m-p/1431941#M804451</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2017-11-08T07:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Complications</title>
      <link>https://community.qlik.com/t5/QlikView/Complications/m-p/1431942#M804452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Shoham can you please involve this into my QVW file...Will be really helpfull&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 08:58:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complications/m-p/1431942#M804452</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2017-11-08T08:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Complications</title>
      <link>https://community.qlik.com/t5/QlikView/Complications/m-p/1431943#M804453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope. I can't run your script, which means I can't do anything in your file. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 09:15:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complications/m-p/1431943#M804453</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2017-11-08T09:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Complications</title>
      <link>https://community.qlik.com/t5/QlikView/Complications/m-p/1431944#M804454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; if the created date is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Pick(Dim,MonthName(Created),'AVG 2015','AVG 2016','AVG 2017')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want this t be dynamic ..i dnt want to change this for next year &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i achive this &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 09:22:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complications/m-p/1431944#M804454</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2017-11-08T09:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Complications</title>
      <link>https://community.qlik.com/t5/QlikView/Complications/m-p/1431945#M804455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shoham&lt;/P&gt;&lt;P&gt;is there way to make &lt;/P&gt;&lt;P&gt;to make this dimesion as dynamic .....if this can be achived as dynamic then my thing is achived ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=Pick(Dim,MonthName(Created),'AVG 2015','AVG 2016','AVG 2017')..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 09:32:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complications/m-p/1431945#M804455</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2017-11-08T09:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Complications</title>
      <link>https://community.qlik.com/t5/QlikView/Complications/m-p/1431946#M804456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could probably use:&lt;/P&gt;&lt;P&gt;=Pick(Dim,MonthName(Created),Year(LoadDate)-2 , Year(LoadDate)-1, Year(LoadDate))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it'd be extremely slow. It's not really a healthy way to create a dimension. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A more resource/speed friendly approach would be to create a variable called vYear, containing the following formula:&lt;/P&gt;&lt;P&gt;=Year(LoadDate)&lt;/P&gt;&lt;P&gt;And your calculated dimension would be:&lt;/P&gt;&lt;P&gt;=Pick(Dim,MonthName(Created),$(vYear)-2 , $(vYear)-1, $(vYear))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for adding the 'AVG ' string aspect, I can't think of a good way to make this dynamic without making the code fairly clunky, as adding a text string will break your sorting. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 09:49:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complications/m-p/1431946#M804456</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2017-11-08T09:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Complications</title>
      <link>https://community.qlik.com/t5/QlikView/Complications/m-p/1431947#M804457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried doing this witought adding the load date ... but this logic in Dimension shows only 2017 ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Pick(Dim,MonthName(Created),Year(Created)-2,Year(Created)-1,Year(Created))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do i need to change anything in this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should give me 2015 , 2016 , 2017&amp;nbsp; and then monthname of 2017 &lt;/P&gt;&lt;P&gt;but this is giving me only 2017 and the relaetd mons for 2017 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 11:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complications/m-p/1431947#M804457</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2017-11-08T11:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Complications</title>
      <link>https://community.qlik.com/t5/QlikView/Complications/m-p/1431948#M804458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That doesn't look like it would work. Is there a problem with the approach I suggested?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 13:13:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complications/m-p/1431948#M804458</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2017-11-08T13:13:09Z</dc:date>
    </item>
  </channel>
</rss>

