<?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: Dynamic aggregation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-aggregation/m-p/518576#M555872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok...I will try...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My goal is to calculate the exposure to risk (in terms of money) of my sales of raw materials.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The risk is due to a series of risk factors (=marker). For example the USD rate, the price of Brent (marker=bre) and so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to perform two kind of simulations: STANDARD and AGREGATED. This last according to two kind of calculation methods: RATIOS and SPREAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This aggregated simulation is my problem. I called it "AGGREGATED" because I want to calculate the exposure aggregating my markers (risk factor) in marker2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my datasource (I have only one table) I have a row for each combination of marker and marker2 but I don't want to use all the combination but only those I choose in presentation layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the STANDARD simulation I calculate the exposure to risk for all the risk factor listed in marker field (bre, afr, gip)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marker&amp;nbsp; Exposure&lt;/P&gt;&lt;P&gt;bre&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;afr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;/P&gt;&lt;P&gt;gip&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the AGGREGATED simulation I want to aggregate all in one row for the marker2 "bre" according to this choice:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;marker&amp;nbsp; marker2&lt;/P&gt;&lt;P&gt;bre&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bre&lt;/P&gt;&lt;P&gt;afr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bre&lt;/P&gt;&lt;P&gt;gip&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bre&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attention: i would like to take this choice in the presentation layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marker2&amp;nbsp; Exposure&lt;/P&gt;&lt;P&gt;bre&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 35&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my datasource I have all the possible combination of marker and marker2 with the relative exposure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach my qlik app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's very difficult for me to explain my work but please try to help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jul 2013 11:45:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-24T11:45:12Z</dc:date>
    <item>
      <title>Dynamic aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-aggregation/m-p/518574#M555870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ask your help to solve a little big issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marker&amp;nbsp;&amp;nbsp; Marker2&amp;nbsp;&amp;nbsp; Data&amp;nbsp; Month ....&lt;/P&gt;&lt;P&gt;zee&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zee&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;bfr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zee&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7&lt;/P&gt;&lt;P&gt;tfr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gip&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The list of Marker and of Marker2 is the same...and in my table I have a row for all the possible combination between Marker and Marker2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Marker2 is a sort of aggregation of Marker.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In the presentation layer the user wants to choose which marker2 have to correspond to&amp;nbsp; a marker. IN other words Marker2 is an aggregation of Marker and the user wants to create this aggregation in the presentation layer dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; P.S.&lt;/P&gt;&lt;P&gt;The number of Marker/Marker2 can change&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 10:27:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-aggregation/m-p/518574#M555870</guid>
      <dc:creator />
      <dc:date>2013-07-24T10:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-aggregation/m-p/518575#M555871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please explain the question in detail with full table structure and a example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 10:31:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-aggregation/m-p/518575#M555871</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2013-07-24T10:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-aggregation/m-p/518576#M555872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok...I will try...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My goal is to calculate the exposure to risk (in terms of money) of my sales of raw materials.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The risk is due to a series of risk factors (=marker). For example the USD rate, the price of Brent (marker=bre) and so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to perform two kind of simulations: STANDARD and AGREGATED. This last according to two kind of calculation methods: RATIOS and SPREAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This aggregated simulation is my problem. I called it "AGGREGATED" because I want to calculate the exposure aggregating my markers (risk factor) in marker2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my datasource (I have only one table) I have a row for each combination of marker and marker2 but I don't want to use all the combination but only those I choose in presentation layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the STANDARD simulation I calculate the exposure to risk for all the risk factor listed in marker field (bre, afr, gip)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marker&amp;nbsp; Exposure&lt;/P&gt;&lt;P&gt;bre&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;afr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;/P&gt;&lt;P&gt;gip&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the AGGREGATED simulation I want to aggregate all in one row for the marker2 "bre" according to this choice:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;marker&amp;nbsp; marker2&lt;/P&gt;&lt;P&gt;bre&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bre&lt;/P&gt;&lt;P&gt;afr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bre&lt;/P&gt;&lt;P&gt;gip&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bre&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attention: i would like to take this choice in the presentation layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marker2&amp;nbsp; Exposure&lt;/P&gt;&lt;P&gt;bre&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 35&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my datasource I have all the possible combination of marker and marker2 with the relative exposure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach my qlik app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's very difficult for me to explain my work but please try to help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 11:45:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-aggregation/m-p/518576#M555872</guid>
      <dc:creator />
      <dc:date>2013-07-24T11:45:12Z</dc:date>
    </item>
  </channel>
</rss>

