<?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 Mulitply multiple variables within text object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Mulitply-multiple-variables-within-text-object/m-p/33729#M5699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a 'what if' scenario which allows users to change the value of months within a line chart by using variables and an input box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My variables:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/205347_pastedImage_7.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;IMG alt="" class="jive-image image-4" src="https://community.qlik.com/legacyfs/online/205348_pastedImage_8.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/205321_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/205331_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show what the impact on costs would be (within a text object) if the figures input by a user where increased / deceased - I have been able to show the impact for number of people, like so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=count(DISTINCT(SERVICE_PROVISION_18_PERSON_DESC, DIM_PERSON_ID)) + Apr + May + Jun + Jul + Aug + Sep + Oct + Nov + Dec + Jan + Feb + Mar&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But having trouble incorporating this into a cost, I can only seem to add one variable to my expression and then it breaks as soon as I try to add more, here is what I am trying to work with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=money(sum(&lt;/STRONG&gt;&lt;STRONG&gt;if(len(SERVICE_PROVISION_18_PERSON_DESC)&amp;gt;1, FIN_WKLY_COST)) + vClientAverageWeeklyCost * Apr)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have tried the following, which doesn't work:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=money(sum(if(len(SERVICE_PROVISION_18_PERSON_DESC)&amp;gt;1, FIN_WKLY_COST))) + $(vMonth(Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, Jan, Feb, Mar))&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;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated&lt;STRONG&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jun 2018 12:42:36 GMT</pubDate>
    <dc:creator>samantha92</dc:creator>
    <dc:date>2018-06-15T12:42:36Z</dc:date>
    <item>
      <title>Mulitply multiple variables within text object</title>
      <link>https://community.qlik.com/t5/QlikView/Mulitply-multiple-variables-within-text-object/m-p/33729#M5699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a 'what if' scenario which allows users to change the value of months within a line chart by using variables and an input box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My variables:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/205347_pastedImage_7.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;IMG alt="" class="jive-image image-4" src="https://community.qlik.com/legacyfs/online/205348_pastedImage_8.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/205321_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/205331_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show what the impact on costs would be (within a text object) if the figures input by a user where increased / deceased - I have been able to show the impact for number of people, like so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=count(DISTINCT(SERVICE_PROVISION_18_PERSON_DESC, DIM_PERSON_ID)) + Apr + May + Jun + Jul + Aug + Sep + Oct + Nov + Dec + Jan + Feb + Mar&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But having trouble incorporating this into a cost, I can only seem to add one variable to my expression and then it breaks as soon as I try to add more, here is what I am trying to work with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=money(sum(&lt;/STRONG&gt;&lt;STRONG&gt;if(len(SERVICE_PROVISION_18_PERSON_DESC)&amp;gt;1, FIN_WKLY_COST)) + vClientAverageWeeklyCost * Apr)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have tried the following, which doesn't work:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=money(sum(if(len(SERVICE_PROVISION_18_PERSON_DESC)&amp;gt;1, FIN_WKLY_COST))) + $(vMonth(Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, Jan, Feb, Mar))&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;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated&lt;STRONG&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2018 12:42:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mulitply-multiple-variables-within-text-object/m-p/33729#M5699</guid>
      <dc:creator>samantha92</dc:creator>
      <dc:date>2018-06-15T12:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Mulitply multiple variables within text object</title>
      <link>https://community.qlik.com/t5/QlikView/Mulitply-multiple-variables-within-text-object/m-p/33730#M5700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a qvw sample to play around with? Also, would be helpful to know expected output for all the months based on the inputs provided above&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2018 12:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mulitply-multiple-variables-within-text-object/m-p/33730#M5700</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-15T12:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Mulitply multiple variables within text object</title>
      <link>https://community.qlik.com/t5/QlikView/Mulitply-multiple-variables-within-text-object/m-p/33731#M5701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't share it unfortunately &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, this is my chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/205352_pastedImage_4.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;If I then input figures for April and May you can see that the number of people have increased from 2,642 to 3,162, which is what i am expecting, however the cost has only increased based on the increase in people for April and not April AND May (&lt;STRONG&gt;&lt;EM&gt;=money(sum(&lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;if(len(SERVICE_PROVISION_18_PERSON_DESC)&amp;gt;1, FIN_WKLY_COST)) +&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;vClientAverageWeeklyCost * Apr)&lt;/EM&gt;&lt;/STRONG&gt;) as I dont know how to edit my expression to include the months for the rest of the year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/205351_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2018 13:01:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mulitply-multiple-variables-within-text-object/m-p/33731#M5701</guid>
      <dc:creator>samantha92</dc:creator>
      <dc:date>2018-06-15T13:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Mulitply multiple variables within text object</title>
      <link>https://community.qlik.com/t5/QlikView/Mulitply-multiple-variables-within-text-object/m-p/33732#M5702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about a mock up? I won't really be able to offer much help without playing around with it. But if you are not able to share a mock up qvw also.. then may be someone else can offer help &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;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2018 13:05:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mulitply-multiple-variables-within-text-object/m-p/33732#M5702</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-15T13:05:29Z</dc:date>
    </item>
  </channel>
</rss>

