<?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: One Slider for different Products in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591224#M219286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;Please check out the attached file and see if it helps you. This is a basic qvw with simple calculations. You can tweak it to your needs.&lt;/P&gt;&lt;P&gt;Hope it guides you in the right direction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jan 2014 19:17:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-30T19:17:11Z</dc:date>
    <item>
      <title>One Slider for different Products</title>
      <link>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591223#M219285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get the below scenario work,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say I have 3 different product types and I calculate the total cost(for each product) and total cost of all products and display them in a text box. Now I want to choose a particular product using the list box and should have one slider with a variable to increase the sale count of the product selected and see the estimated value of the total cost for each and all products.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TotalCostof All Products = (AverageIncomeoftheProduct1 * CountIncrease)+(AverageIncomeoftheProduct2 * CountIncrease)+(AverageIncomeoftheProduct3 * CountIncrease)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AverageIncomeoftheProduct= TotalIncome/No of units sold&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I have 1 slider and 1 variable how would I make sure the variable is set to the correct product so the total cost is increased by only the product chosen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using set analysis on the product type in my expressions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 18:49:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591223#M219285</guid>
      <dc:creator />
      <dc:date>2014-01-30T18:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: One Slider for different Products</title>
      <link>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591224#M219286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;Please check out the attached file and see if it helps you. This is a basic qvw with simple calculations. You can tweak it to your needs.&lt;/P&gt;&lt;P&gt;Hope it guides you in the right direction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 19:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591224#M219286</guid>
      <dc:creator />
      <dc:date>2014-01-30T19:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: One Slider for different Products</title>
      <link>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591225#M219287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your quick reply.This is closer. But when I choose the product, I still need to see other products in the chart/table with their actual value in both actual and estimated column. Also the variable value adds the same amount to all the products. But I want it to increase only for the selected product.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 19:35:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591225#M219287</guid>
      <dc:creator />
      <dc:date>2014-01-30T19:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: One Slider for different Products</title>
      <link>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591226#M219288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The way I designed it the slider works as per your request for the text objects. Did you check the way the three text objects were working when a product is selected and you change the slider?&lt;/P&gt;&lt;P&gt;Edit: So you want that feature in the table? Lemme give it a whirl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 19:37:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591226#M219288</guid>
      <dc:creator />
      <dc:date>2014-01-30T19:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: One Slider for different Products</title>
      <link>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591227#M219289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do see it. But how about displaying the total of all the products in the text even though I choose a product?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 19:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591227#M219289</guid>
      <dc:creator />
      <dc:date>2014-01-30T19:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Re: One Slider for different Products</title>
      <link>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591228#M219290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this one. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 20:01:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591228#M219290</guid>
      <dc:creator />
      <dc:date>2014-01-30T20:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: One Slider for different Products</title>
      <link>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591229#M219291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get it. But lets do this, I added count to the sample you did and changed the slider to increase the count.&lt;/P&gt;&lt;P&gt;Attaching the modified sample. I may be complicating the scenario but this is how exactly I would need to produce.&lt;/P&gt;&lt;P&gt;I did not modify the texts that display the total cost and the individual products.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 21:14:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591229#M219291</guid>
      <dc:creator />
      <dc:date>2014-01-30T21:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Re: One Slider for different Products</title>
      <link>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591230#M219292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; I used the below formula in the Ball text box&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=(&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Product&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Ball'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Product&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Ball'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Pcount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) //Average value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;*(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Product&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Ball'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Pcount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)+&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Product&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)='Ball',&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vCount)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0)) // Original count+Slider Increment&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;The logic is AverageValue*(Original count+Increased Count)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 21:23:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591230#M219292</guid>
      <dc:creator />
      <dc:date>2014-01-30T21:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Re: One Slider for different Products</title>
      <link>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591231#M219293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fixed it. This should meet your needs. The table works as per your wish. &lt;/P&gt;&lt;P&gt;Lemme know your thoughts&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 21:34:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591231#M219293</guid>
      <dc:creator />
      <dc:date>2014-01-30T21:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: One Slider for different Products</title>
      <link>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591232#M219294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the final QVW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 21:47:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591232#M219294</guid>
      <dc:creator />
      <dc:date>2014-01-30T21:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Re: One Slider for different Products</title>
      <link>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591233#M219295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your qvw works except the total number in the text is incorrect. Also I changed the Estimated total in the chart to sum(expressions) and it works&amp;nbsp; fine. However when I do that in my application, it is not working. If I put set analysis in the product count to ignore the Product selection, the values become null. Not sure waht could be the issue?&lt;/P&gt;&lt;P&gt;I appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 15:28:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591233#M219295</guid>
      <dc:creator />
      <dc:date>2014-01-31T15:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Re: One Slider for different Products</title>
      <link>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591234#M219296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The chart works fine. The two issue I have is although I increase the count by 5, it increases to 30.&lt;/P&gt;&lt;P&gt;The total estimated text object incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 15:37:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591234#M219296</guid>
      <dc:creator />
      <dc:date>2014-01-31T15:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: One Slider for different Products</title>
      <link>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591235#M219297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it is a bracket issue. put a bracket around the (entire expression) + variable&lt;/P&gt;&lt;P&gt;Can you provide an example of how you want the total text value to be, please explain with numbers like what are all the amounts and if you change the slider what you want the total to be in the text object.&lt;/P&gt;&lt;P&gt;It would be helpful in answering.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 15:56:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591235#M219297</guid>
      <dc:creator />
      <dc:date>2014-01-31T15:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Re: One Slider for different Products</title>
      <link>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591236#M219298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the issue with incorrect count. Attaching the file with the estimated count. If you select bike and have the slider at 7, then the estimated count shows 16 (since there are 2 bikes)=2(actual count)+7*2. The issue is using the sum for vCount with the set analysis. So instead of the set analysis I tried,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Actual Count]+if(GetFieldSelections(Product),&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vCount)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;But the numbers show just the actual count.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Also have you experienced Garbage after Expression errors while using GetFieldSelections. So I used function trim inside the GetFieldSelections. But when I change the count it does not affect the chart anymore.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;The Product Names I have has space and special characters in them. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 17:00:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591236#M219298</guid>
      <dc:creator />
      <dc:date>2014-01-31T17:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Re: One Slider for different Products</title>
      <link>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591237#M219299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;Estimated count seems to be working good in the file you attached&lt;/LI&gt;&lt;LI&gt;You can't use Getfieldselections in the table. It wont give you the results you are looking for&lt;/LI&gt;&lt;LI&gt;You can use it in the text object though. Try using " " or [ ]&amp;nbsp; . Just play around and one of them should click&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT : I tried if(GetFieldSelections(Product)='Bell &amp;amp;Ball',$(vCount),0) and it worked fine (I just created a field value like &lt;STRONG&gt;Bell &amp;amp;Ball&lt;/STRONG&gt; to test)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 17:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591237#M219299</guid>
      <dc:creator />
      <dc:date>2014-01-31T17:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re: One Slider for different Products</title>
      <link>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591238#M219300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. Your posts help me to progress.Will keep you posted on the result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 18:32:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Slider-for-different-Products/m-p/591238#M219300</guid>
      <dc:creator />
      <dc:date>2014-01-31T18:32:05Z</dc:date>
    </item>
  </channel>
</rss>

