<?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: Calculated Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857900#M1017720</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Try to push much of the calculation to script so that it will not take much of the time calculating in the front end.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Apr 2015 10:32:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-06T10:32:00Z</dc:date>
    <item>
      <title>Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857894#M1017714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have straight table and first dimension is calculated dimension as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(HNAH_3460S = 'Y','HNAH_3460S' ,if(HUSI_3401S = 'Y','HUSI_3401S',if(HBUS_3607S = 'Y','HBUS_3607S',&lt;/P&gt;&lt;P&gt;if(HTCD_37130 = 'Y','HTCD_37130',if(HBIO_1201S = 'Y','HBIO_1201S',if(HSI_32900 = 'Y','HSI_32900',if(HMUS_3285S = 'Y','HSI_32900','')))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And filters are like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HBUS_3607S&lt;/P&gt;&lt;P&gt;HBIO_1201S&lt;/P&gt;&lt;P&gt;HMUS_3285S&lt;/P&gt;&lt;P&gt;HNAH_3460S&lt;/P&gt;&lt;P&gt;HSI_32900&lt;/P&gt;&lt;P&gt;HTCD_37130&lt;/P&gt;&lt;P&gt;HUSI_3401S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each filter has Y or N values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so my requirement as below.&lt;/P&gt;&lt;P&gt;If I select HUSI_3401S then in the dimension it should display 'HUSI_3401S' only but it displaying 'HNAH_3460S' eve if I select any other filters as Y then also it displaying 'HNAH_3460S'. is there any expression should write please suggest me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 09:36:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857894#M1017714</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2015-04-06T09:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857895#M1017715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to what you show here this could be achieved much simpler by just:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Create one List Box for the Legal Entity ID field.&lt;/P&gt;&lt;P&gt;- Then when you select in this List Box every row in your straight table will be filtered accordingly.&lt;/P&gt;&lt;P&gt;- The lookup you are using in the straight table should not be necessary as the association in your data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; model (if you make it correctly) will give you the right values in this column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But since I don't see your data model I can't judge whether this is a good solution for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 10:00:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857895#M1017715</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-04-06T10:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857896#M1017716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be making the if more complex will help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=If(HNAH_3460S = 'Y' &lt;STRONG&gt;and GetSelectedCount(HNAH_3460S) = 1&lt;/STRONG&gt;, 'HNAH_3460S', If(HUSI_3401S = 'Y' &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;and GetSelectedCount(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;HUSI_3401S&lt;/SPAN&gt;) = 1&lt;/STRONG&gt;&lt;/SPAN&gt;, 'HUSI_3401S', If(HBUS_3607S = 'Y' &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;and GetSelectedCount(HBUS_3607S) = 1&lt;/STRONG&gt;&lt;/SPAN&gt;, 'HBUS_3607S', I&lt;SPAN style="line-height: 1.5em;"&gt;f(HTCD_37130 = 'Y' &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;and GetSelectedCount(HTCD_37130) = 1&lt;/STRONG&gt;&lt;/SPAN&gt;, 'HTCD_37130', If(HBIO_1201S = 'Y' &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;and GetSelectedCount(HBIO_1201S) = 1&lt;/STRONG&gt;&lt;/SPAN&gt;, 'HBIO_1201S', If(HSI_32900 = 'Y' &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;and GetSelectedCount(HSI_32900) = 1&lt;/STRONG&gt;&lt;/SPAN&gt;, 'HSI_32900', If(HMUS_3285S = 'Y' &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;and GetSelectedCount(HMUS_3258S) = 1&lt;/STRONG&gt;&lt;/SPAN&gt;, 'HSI_32900','')))))))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;HTH&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Best,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 10:07:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857896#M1017716</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-06T10:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857897#M1017717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA for better clarity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As suggested, If I take flags alone its showing perfect whether Y or N.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 10:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857897#M1017717</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2015-04-06T10:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857898#M1017718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My point is still valid. You should not need to complicate things with flags and a calculated dimension - which is very very expensive performance wise anyway. Try to make QlikView do the work for you in an uncomplicated manner and you will be able to deliver a solution to your customer more quickly and it will be much cheaper to extend and maintain too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 10:14:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857898#M1017718</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-04-06T10:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857899#M1017719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;will solve the problem but &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;will surely ruin the performance.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 10:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857899#M1017719</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-06T10:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857900#M1017720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Try to push much of the calculation to script so that it will not take much of the time calculating in the front end.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 10:32:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857900#M1017720</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-06T10:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857901#M1017721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/Bhagirath"&gt;Bhagirath&lt;/A&gt;‌&lt;/STRONG&gt;I agree with you, but there are times you want the things to be dynamic and its just not possible to do everything in the back end of the application. In those times you need to use these functions and that's why they exist. If there is any chance of doing them in the back end, I would suggest &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/Priyarane"&gt;Priyarane&lt;/A&gt;‌ &lt;/STRONG&gt;to do it there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&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>Mon, 06 Apr 2015 10:41:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857901#M1017721</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-06T10:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857902#M1017722</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;Try this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(GetFieldSelections(HNAH_3460S) = 'Y',&amp;nbsp; 'HNAH_3460S', &lt;/P&gt;&lt;P&gt;If(GetFieldSelections(HUSI_3401S) = 'Y', 'HUSI_3401S', &lt;/P&gt;&lt;P&gt;If(GetFieldSelections(HBUS_3607S) = 'Y', 'HBUS_3607S', &lt;/P&gt;&lt;P&gt;If(GetFieldSelections(HTCD_37130) = 'Y', 'HTCD_37130', &lt;/P&gt;&lt;P&gt;If(GetFieldSelections(HBIO_1201S) = 'Y', 'HBIO_1201S', &lt;/P&gt;&lt;P&gt;If(GetFieldSelections(HSI_32900) = 'Y', 'HSI_32900', &lt;/P&gt;&lt;P&gt;If(GetFieldSelections(HMUS_3258S) = 'Y', 'HSI_32900','')))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 10:48:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857902#M1017722</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-04-06T10:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857903#M1017723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with you that with the current info we have this is one of the feasible solutions &lt;/P&gt;&lt;P&gt;but if we would have received data model then may not be derivation of field (static) helped but we might have introduced some mapping or some minor things which can still help for better performance &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 11:38:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857903#M1017723</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-06T11:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857904#M1017724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its working Jagan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to write this at script level.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 13:05:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857904#M1017724</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2015-04-06T13:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857905#M1017725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not possible to write this in script, because this expression depends on the Current Selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 02:06:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/857905#M1017725</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-04-07T02:06:34Z</dc:date>
    </item>
  </channel>
</rss>

