<?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: cal condition example in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/cal-example/m-p/927850#M321047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Camile for your response&lt;/P&gt;&lt;P&gt;Unfortunately i tried to add the expressions in the chart but unfortunately it was throwing out of memory expception&lt;/P&gt;&lt;P&gt;Could you please share me the app?&lt;/P&gt;&lt;P&gt;I just need to check my mistake , hope it would be fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please send me the app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Oct 2015 13:45:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-07T13:45:52Z</dc:date>
    <item>
      <title>cal example</title>
      <link>https://community.qlik.com/t5/QlikView/cal-example/m-p/927847#M321044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;I need some suggestions or help on calcuated dimesion&lt;/P&gt;&lt;P&gt;My req is i have two columns and i need to merget them based on certain condition&lt;/P&gt;&lt;P&gt;please look into the attached image and qvw for suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;need help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 12:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cal-example/m-p/927847#M321044</guid>
      <dc:creator />
      <dc:date>2015-10-07T12:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: cal condition example</title>
      <link>https://community.qlik.com/t5/QlikView/cal-example/m-p/927848#M321045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;suggestion pls&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 13:15:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cal-example/m-p/927848#M321045</guid>
      <dc:creator />
      <dc:date>2015-10-07T13:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: cal condition example</title>
      <link>https://community.qlik.com/t5/QlikView/cal-example/m-p/927849#M321046</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;Following would be your calculated dimensions (I didn't continue, but you get the idea - just follow along with the match functions as necessary):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="101292" alt="hounslow.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/101292_hounslow.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="101293" alt="hounslowhealth.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/101293_hounslowhealth.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="totalvariance.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/101297_totalvariance.png" style="height: 189px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider doing this in the script - that would eliminate the need of a calculated dimension. So I would try to push these fields back into the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, create a whole new field based off of your existing dimensional fields. It would use the same functions as above - but you would just alias them to a new field. That way you eliminate the use of a calculated dimension and it will be better - performance-wise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Camile&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 13:30:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cal-example/m-p/927849#M321046</guid>
      <dc:creator>cjohnson</dc:creator>
      <dc:date>2015-10-07T13:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: cal condition example</title>
      <link>https://community.qlik.com/t5/QlikView/cal-example/m-p/927850#M321047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Camile for your response&lt;/P&gt;&lt;P&gt;Unfortunately i tried to add the expressions in the chart but unfortunately it was throwing out of memory expception&lt;/P&gt;&lt;P&gt;Could you please share me the app?&lt;/P&gt;&lt;P&gt;I just need to check my mistake , hope it would be fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please send me the app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 13:45:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cal-example/m-p/927850#M321047</guid>
      <dc:creator />
      <dc:date>2015-10-07T13:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: cal condition example</title>
      <link>https://community.qlik.com/t5/QlikView/cal-example/m-p/927851#M321048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here it is attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to suggest again to push these calculations back to the script - if possible. You do this by creating a new field in the script with the same expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 14:09:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cal-example/m-p/927851#M321048</guid>
      <dc:creator>cjohnson</dc:creator>
      <dc:date>2015-10-07T14:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: cal condition example</title>
      <link>https://community.qlik.com/t5/QlikView/cal-example/m-p/927852#M321049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Camile&lt;/P&gt;&lt;P&gt;Thanks for the app but unfortunately i could same error in your qvw too... i am sharing the image that i got after opening your dashboard. please look into it/ Could you please advise me?&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="101300" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/101300_Capture.PNG" style="height: 137px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 14:13:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cal-example/m-p/927852#M321049</guid>
      <dc:creator />
      <dc:date>2015-10-07T14:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: cal condition example</title>
      <link>https://community.qlik.com/t5/QlikView/cal-example/m-p/927853#M321050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just want to check .. is this a error or am i done anythign from my end ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 14:25:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cal-example/m-p/927853#M321050</guid>
      <dc:creator />
      <dc:date>2015-10-07T14:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: cal condition example</title>
      <link>https://community.qlik.com/t5/QlikView/cal-example/m-p/927854#M321051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;I'm not sure what is causing your issue. Maybe try to make a selection and clear again. Did you try doing that?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;It works fine on my end. Also try putting it back into the script. Write the same expression as follows (in the script):&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P&gt;if(match(depot_code, 'AV', 'AVN'),&amp;nbsp; 'AV, AVN',&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(match(depot_code, 'FW', 'FWN'),&amp;nbsp; 'FW, FWN',&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(match(depot_code, 'HH', 'HHN'),&amp;nbsp; 'HH, HHN',&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(match(depot_code, 'S', 'SN'),&amp;nbsp; 'S, SN',&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(match(depot_code, 'TV', 'TVN'),&amp;nbsp; 'TV, TVN',&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(match(depot_code, 'V', 'VN', 'VT'),&amp;nbsp; 'V, VN, VT',&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(match(depot_code, 'BT', 'BTN'),&amp;nbsp; 'BT, BTN',&lt;/P&gt;&lt;P&gt;&amp;nbsp; depot_code)))))))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as NewDepotCodeField&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Then use this new field as a dimension. &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I'm presuming it has something to with your model, but I'm not sure...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 14:52:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cal-example/m-p/927854#M321051</guid>
      <dc:creator>cjohnson</dc:creator>
      <dc:date>2015-10-07T14:52:37Z</dc:date>
    </item>
  </channel>
</rss>

