<?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: Expression not recognising dimension despite P() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847227#M297375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one more idea: try to force the user to limit/reduce the data before showing/calculating the table if this is possible...e.g. let the user set a certain start/end date or selection on certain segments/categories whatever works out&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 May 2015 05:28:29 GMT</pubDate>
    <dc:creator>danieloberbilli</dc:creator>
    <dc:date>2015-05-13T05:28:29Z</dc:date>
    <item>
      <title>Expression not recognising dimension despite P()</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847220#M297368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please look at the 2nd expression. I expect it to respect the dimension in iteration in terms of the P() function. But it doesn't. Can someone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 03:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847220#M297368</guid>
      <dc:creator />
      <dc:date>2015-05-13T03:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not recognising dimension despite P()</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847221#M297369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the dimension is from tablea&lt;/P&gt;&lt;P&gt;the first expression sums the values from tablea &amp;gt; everything fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the second expression sums the values from tableb...so no matter what you write in set analysis, if your dimension is from the (unlinked) tablea there wont be any differences per dimension (of tablea).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one possible solution for expression 2 would be:&lt;/P&gt;&lt;P&gt;sum(if(segment_code=t_segment_code, t_actual_amt))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 03:20:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847221#M297369</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2015-05-13T03:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not recognising dimension despite P()</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847222#M297370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the problem is that the p() function does not tell qlik how to allocate the sum(value) across the unlinked dimension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 03:25:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847222#M297370</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2015-05-13T03:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not recognising dimension despite P()</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847223#M297371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Daniel for your prompt response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the sum(if should work. Put in the expression and the dashboard hangs for 30 mins and didn't come back. I think if is very slow performing compared to set analysis in this case. I agree with you on what you say about P() in terms of unlinked dimension. Can there be any other workaround in the context of set analysis?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 04:30:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847223#M297371</guid>
      <dc:creator />
      <dc:date>2015-05-13T04:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not recognising dimension despite P()</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847224#M297372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what about if both tables share segment as a common dimension? Scripting the segment in a separate dimension table and let both tables be linked to that dimension. This would also enable your set analysis expression you had before.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 05:08:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847224#M297372</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2015-05-13T05:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not recognising dimension despite P()</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847225#M297373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried, doesn't work. The data model is too complicated and this chart is just one of the 100s of charts and all other work fine because i don't have to show the data from both these tables in the same chart. this is the only chart where i have the requirement. Can't afford to touch the data model just for this one chart and introduce a lot of regression. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 05:15:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847225#M297373</guid>
      <dc:creator />
      <dc:date>2015-05-13T05:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not recognising dimension despite P()</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847226#M297374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe try this in your dimension (instead of the grouped dimension) &lt;/P&gt;&lt;P&gt;=aggr(only(segment_code),t_segment_code)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 05:26:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847226#M297374</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2015-05-13T05:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not recognising dimension despite P()</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847227#M297375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one more idea: try to force the user to limit/reduce the data before showing/calculating the table if this is possible...e.g. let the user set a certain start/end date or selection on certain segments/categories whatever works out&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 05:28:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847227#M297375</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2015-05-13T05:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not recognising dimension despite P()</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847228#M297376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel, Gives me a NULL in the dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 05:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847228#M297376</guid>
      <dc:creator />
      <dc:date>2015-05-13T05:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not recognising dimension despite P()</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847229#M297377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;actually i made a very simple chart with sum(if expression in my data model. simply hangs..... but as the test harness suggests it works but just the sheer volume i believe brings it down.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 05:34:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847229#M297377</guid>
      <dc:creator />
      <dc:date>2015-05-13T05:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not recognising dimension despite P()</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847230#M297378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is slow performing because there is no association between the 2 tables, so QV has to do a cross-join (aka Cartesian join) to perform this filtering. This kind of operation is only practical for small data sets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Daniel suggested, the solution is to associate the tables by loading t_segment_code as segment code. If you cant make that change, then you will not be able to do the chart in your post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 05:56:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847230#M297378</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-05-13T05:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Expression not recognising dimension despite P()</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847231#M297379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YES Jonathan, I realise it doesn't scale for high data volumes at all as if statements are single threaded. I am trying to see what i can do with the data model with least possible regression effects. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 06:27:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-not-recognising-dimension-despite-P/m-p/847231#M297379</guid>
      <dc:creator />
      <dc:date>2015-05-13T06:27:30Z</dc:date>
    </item>
  </channel>
</rss>

