<?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: Value Loop and Input Boxes - Create Bar Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Value-Loop-and-Input-Boxes-Create-Bar-Chart/m-p/369304#M576356</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dv &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i saw your blog comment link , i hope you can share a bit more on this example , as i am unable to figure out how it work. it is vey power ful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jul 2013 09:50:47 GMT</pubDate>
    <dc:creator>paulyeo11</dc:creator>
    <dc:date>2013-07-02T09:50:47Z</dc:date>
    <item>
      <title>Value Loop and Input Boxes - Create Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Value-Loop-and-Input-Boxes-Create-Bar-Chart/m-p/369299#M576351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to build a qlikview model where there are a few input boxes that the EU can use and will be called later to populate the report. What I wanted to do was chart the values this person has selected for each.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what is happening is this. vYear1 = 100, vYear2 = 200 ...vYearN = N..etc. I now want to create a bar chart with Year as the axis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the model is a variable called Financial Year, lets say its 2012, and a variable called modelling years, lets say 5. I have used the function Valueloop to create the dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=ValueLoop(vFinancialYear,vFinancialYear + vModellingYears).... Gives me 2012, 20132, 2014....n etc as my axis. Now how do i call the values from the input boxes and correctly allocate them to the year on the axis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a model that shows what im trying to achieve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Byron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 08:39:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-Loop-and-Input-Boxes-Create-Bar-Chart/m-p/369299#M576351</guid>
      <dc:creator />
      <dc:date>2012-05-25T08:39:13Z</dc:date>
    </item>
    <item>
      <title>Value Loop and Input Boxes - Create Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Value-Loop-and-Input-Boxes-Create-Bar-Chart/m-p/369300#M576352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys, Im hoping there is a much more elegent way of doing it then using this as the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;if(Valueloop(vFinancialYear,vFinancialYear+(vModellingYears-1))=2012,vYear1,&lt;/P&gt;&lt;P&gt;if(Valueloop(vFinancialYear,vFinancialYear+(vModellingYears-1))=2013,vYear2,&lt;/P&gt;&lt;P&gt;if(Valueloop(vFinancialYear,vFinancialYear+(vModellingYears-1))=2014,vYear3,&lt;/P&gt;&lt;P&gt;if(Valueloop(vFinancialYear,vFinancialYear+(vModellingYears-1))=2015,vYear4,&lt;/P&gt;&lt;P&gt;if(Valueloop(vFinancialYear,vFinancialYear+(vModellingYears-1))=2016,vYear5,&lt;/P&gt;&lt;P&gt;if(Valueloop(vFinancialYear,vFinancialYear+(vModellingYears-1))=2017,vYear6,&lt;/P&gt;&lt;P&gt;if(Valueloop(vFinancialYear,vFinancialYear+(vModellingYears-1))=2018,vYear7,&lt;/P&gt;&lt;P&gt;if(Valueloop(vFinancialYear,vFinancialYear+(vModellingYears-1))=2019,vYear8,&lt;/P&gt;&lt;P&gt;if(Valueloop(vFinancialYear,vFinancialYear+(vModellingYears-1))=2020,vYear9,&lt;/P&gt;&lt;P&gt;if(Valueloop(vFinancialYear,vFinancialYear+(vModellingYears-1))=2021,vYear10))))))))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 09:48:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-Loop-and-Input-Boxes-Create-Bar-Chart/m-p/369300#M576352</guid>
      <dc:creator />
      <dc:date>2012-05-25T09:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Value Loop and Input Boxes - Create Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Value-Loop-and-Input-Boxes-Create-Bar-Chart/m-p/369301#M576353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Hi Byron,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I think hard coded IF statements won't work in your case. Because whenever EU changes the Years which are not within the IF statement range then you need to change the expression and there is maintenance cost or you need to write massive expression to check the conditions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I would solve this problem by using Pick and Match functions. Something like this...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #000080;"&gt;&lt;STRONG style="font-family: calibri,verdana,arial,sans-serif;"&gt;Pick( Match(Valueloop(vFinancialYear,vFinancialYear+(vModellingYears-1)), $(=vMyYears)), $(=vMyText))&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;And I have created two variable &lt;SPAN style="color: #000080;"&gt;&lt;STRONG&gt;vMyText &lt;/STRONG&gt;&lt;/SPAN&gt;and &lt;SPAN style="color: #000080;"&gt;&lt;STRONG&gt;vMyYears&lt;/STRONG&gt;&lt;/SPAN&gt;. There is one issue with this approach i.e. when EU assigns 10 as Modelling Years the sort order in my expression is incorrect however this works until you select 9 as Modelling Years. I'll try to solve this one for you. Meanwhile you can play around with this. I'm attaching the sample app.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Good luck!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikshare.com/"&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;www.QlikShare.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 10:04:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-Loop-and-Input-Boxes-Create-Bar-Chart/m-p/369301#M576353</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-05-25T10:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Value Loop and Input Boxes - Create Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Value-Loop-and-Input-Boxes-Create-Bar-Chart/m-p/369302#M576354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Byron - I think it works fine and please ignore my previous message about not working. It works for all the years and for some reason I thought there is an issue. My mistake! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I hope this is what you need.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikshare.com/"&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;www.QlikShare.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 10:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-Loop-and-Input-Boxes-Create-Bar-Chart/m-p/369302#M576354</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-05-25T10:25:53Z</dc:date>
    </item>
    <item>
      <title>Value Loop and Input Boxes - Create Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Value-Loop-and-Input-Boxes-Create-Bar-Chart/m-p/369303#M576355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Absolutely fantastic DV! This was 'eleqantly' done &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really like what you did with the variables vMyText and vMyYears. Thank you very much for taking the time to get this to work for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Byron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 10:56:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-Loop-and-Input-Boxes-Create-Bar-Chart/m-p/369303#M576355</guid>
      <dc:creator />
      <dc:date>2012-05-25T10:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Value Loop and Input Boxes - Create Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Value-Loop-and-Input-Boxes-Create-Bar-Chart/m-p/369304#M576356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dv &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i saw your blog comment link , i hope you can share a bit more on this example , as i am unable to figure out how it work. it is vey power ful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 09:50:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-Loop-and-Input-Boxes-Create-Bar-Chart/m-p/369304#M576356</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2013-07-02T09:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Value Loop and Input Boxes - Create Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Value-Loop-and-Input-Boxes-Create-Bar-Chart/m-p/369305#M576357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a dummy file to explain my problem, In sheet one there is a contract with given Valid from valid to date&lt;/P&gt;&lt;P&gt;and in sheet 2 there is year on year variance for same contracts,&lt;/P&gt;&lt;P&gt;In sheet 3 i have mentioned the output desired.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. if two contracts have diff valid from date but user wants them to be in a single column for there respective 1st contractual , 2nd contractual year and so on .can this be done through valueloop ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated!!! thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 07:18:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-Loop-and-Input-Boxes-Create-Bar-Chart/m-p/369305#M576357</guid>
      <dc:creator>rajni_batra</dc:creator>
      <dc:date>2013-10-14T07:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Value Loop and Input Boxes - Create Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Value-Loop-and-Input-Boxes-Create-Bar-Chart/m-p/369306#M576358</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;Thanks for sharing qvw file (Sales Planning Model v5.01.qvw).&lt;/P&gt;&lt;P&gt;It helped me&amp;nbsp; to understand the concepts of not only valueloop()&amp;nbsp; but also pick(),match() and concat() functions.&lt;/P&gt;&lt;P&gt;Thanks once again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Geeta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 11:52:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-Loop-and-Input-Boxes-Create-Bar-Chart/m-p/369306#M576358</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-04T11:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Value Loop and Input Boxes - Create Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Value-Loop-and-Input-Boxes-Create-Bar-Chart/m-p/369307#M576359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;That's great. I'm glad it was helpful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;www.QlikShare.com&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Jul 2014 09:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-Loop-and-Input-Boxes-Create-Bar-Chart/m-p/369307#M576359</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2014-07-06T09:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Value Loop and Input Boxes - Create Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Value-Loop-and-Input-Boxes-Create-Bar-Chart/m-p/369308#M576360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See if you can help on this question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/241204"&gt;How to make pie chart of sum of metrices as dimensions ?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 12:34:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-Loop-and-Input-Boxes-Create-Bar-Chart/m-p/369308#M576360</guid>
      <dc:creator />
      <dc:date>2016-11-28T12:34:41Z</dc:date>
    </item>
  </channel>
</rss>

