<?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 References between object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/References-between-object/m-p/377754#M573161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear colleagues,&lt;/P&gt;&lt;P&gt;Please help me with such question... Maybe it is very easy, but I just started with QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a QV document&lt;/P&gt;&lt;P&gt;In this document I have Chart (table)&lt;/P&gt;&lt;P&gt;this is very complicated table with various dimensions and with many expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many of my expressions have aggregations. And I need to create additional aggregation of this aggregated expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want - I want to use fields (dimensions or expression result) from my main chart object (for ex.Object ID = CH50) as values in some another chart with another object ID = CH55. Maybe this is possible to use some fields from one table in the another table...Maybe QV has something like "symbolic links" or refferences between objects?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Example:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I have some result of this expression in the chart:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Chart object name CH50&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Field name - "result"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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: #800000; font-size: 8pt;"&gt;RTO8_TripNumber&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;1,'0', &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(&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;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;nodistinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; {1} textcount(distinct RTO8_TripNumber),RTO8_ConsignmentNumber))=1, aggr({1} RTO8_TaxWeight,JOB8_ConsignmentNumber), aggr(nodistinct {1} RTO8_TaxWeight,JOB8_ConsignmentNumber))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;BR /&gt;&amp;nbsp;&amp;nbsp; )&lt;BR /&gt;&amp;nbsp;&amp;nbsp; /&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; aggr(nodistinct {1} sum({1} JOB8_TaxWeight),RTO8_TripNumber)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(RTO8_TripNumber&amp;gt;'a',Aggr(nodistinct {1} sum(PIV8ChargeCostBase)+sum(WIPCA8WIPValueBase),RTO8_TripNumber),'RTO_wo_TRIP') &lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; result is fine and now I want to aggregate resulting data by some another field in my chart (for example JOB8_ConsignmentNumber)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I want to use create after this expression some another expression like: aggr({1} sum(result), JOB8_ConsignmentNumber)... but this is double aggregation - so nothing not happened, my second expression give to me 0...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;This is example of transport order... we have one order, which consist from 3 sub-orders. every sub-order has sales and costs, some multipliers, and somehow calculated revenue. Next I want to aggregate sum of this revenue in the upper order level...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Maybe I unable to do this in one chart, then if possible I want to create some another chart, who will work with field data from original chart...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Thank you!&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2012 15:21:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-14T15:21:30Z</dc:date>
    <item>
      <title>References between object</title>
      <link>https://community.qlik.com/t5/QlikView/References-between-object/m-p/377754#M573161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear colleagues,&lt;/P&gt;&lt;P&gt;Please help me with such question... Maybe it is very easy, but I just started with QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a QV document&lt;/P&gt;&lt;P&gt;In this document I have Chart (table)&lt;/P&gt;&lt;P&gt;this is very complicated table with various dimensions and with many expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many of my expressions have aggregations. And I need to create additional aggregation of this aggregated expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want - I want to use fields (dimensions or expression result) from my main chart object (for ex.Object ID = CH50) as values in some another chart with another object ID = CH55. Maybe this is possible to use some fields from one table in the another table...Maybe QV has something like "symbolic links" or refferences between objects?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Example:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I have some result of this expression in the chart:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Chart object name CH50&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Field name - "result"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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: #800000; font-size: 8pt;"&gt;RTO8_TripNumber&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;1,'0', &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(&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;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;nodistinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; {1} textcount(distinct RTO8_TripNumber),RTO8_ConsignmentNumber))=1, aggr({1} RTO8_TaxWeight,JOB8_ConsignmentNumber), aggr(nodistinct {1} RTO8_TaxWeight,JOB8_ConsignmentNumber))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;BR /&gt;&amp;nbsp;&amp;nbsp; )&lt;BR /&gt;&amp;nbsp;&amp;nbsp; /&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; aggr(nodistinct {1} sum({1} JOB8_TaxWeight),RTO8_TripNumber)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(RTO8_TripNumber&amp;gt;'a',Aggr(nodistinct {1} sum(PIV8ChargeCostBase)+sum(WIPCA8WIPValueBase),RTO8_TripNumber),'RTO_wo_TRIP') &lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; result is fine and now I want to aggregate resulting data by some another field in my chart (for example JOB8_ConsignmentNumber)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I want to use create after this expression some another expression like: aggr({1} sum(result), JOB8_ConsignmentNumber)... but this is double aggregation - so nothing not happened, my second expression give to me 0...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;This is example of transport order... we have one order, which consist from 3 sub-orders. every sub-order has sales and costs, some multipliers, and somehow calculated revenue. Next I want to aggregate sum of this revenue in the upper order level...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Maybe I unable to do this in one chart, then if possible I want to create some another chart, who will work with field data from original chart...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Thank you!&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 15:21:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/References-between-object/m-p/377754#M573161</guid>
      <dc:creator />
      <dc:date>2012-08-14T15:21:30Z</dc:date>
    </item>
  </channel>
</rss>

