<?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 Manipulate Data coming from Analytic Connection in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Manipulate-Data-coming-from-Analytic-Connection/m-p/1665138#M12120</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have recently installed and used Analytics connection to use Python into Qlik Sense.&lt;/P&gt;&lt;P&gt;I use qlik-py-tools made by Nabeel :&amp;nbsp;&lt;A href="https://github.com/nabeel-oz/qlik-py-tools" target="_blank"&gt;https://github.com/nabeel-oz/qlik-py-tools&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I can display some graph coming such as forecast or decomposition.&lt;/P&gt;&lt;P&gt;Now, I would like to make operation of datas coming from pytools. I want to make it into Qlik, not in Python because I have few skills on it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example with this expression to calculate for everymonth the forecast Turnover :&lt;/P&gt;&lt;P&gt;PyTools.Prophet(Period_ForecastMonth_$(v_forecastMonth), Sum({&amp;lt;FactType={'SellOut'},TypePrescription={'$(v_Type_Prescription)'}, %Date={"&amp;lt;$(v_dateDebutMois)"}&amp;gt;} [_$(v_Type_Analyse)_FUTUR]), 'freq=MS, return=yhat, take_log=true,seasonality_mode=$(v_seasonalityMode)')&lt;/P&gt;&lt;P&gt;I can display this graph or see datas. But I cannot manipulate them.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To be more understanding, I want to get the turnover's evolution of the future year compared to the present year.&amp;nbsp; Operation is simple, I just have to add the future 12 month and divide by the last 12 month. But I have an error message 'Nested aggregation is not allowed', so I try to put result into an Aggr and manipulate them but all values are equals to 0.&lt;/P&gt;&lt;P&gt;Is it any way to manipulate data calculate by analytic connection (in this exemple by Python) with Qlik ?&lt;/P&gt;&lt;P&gt;I prefer to not precalculate those datas into script, because there is a lot of datas and a lot of different configuration (additive/multiplicative seasonality , confidence interval). So app will be very heavy.&lt;/P&gt;&lt;P&gt;Thank you for your suggestions&lt;/P&gt;&lt;P&gt;Anthony Cabos&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jan 2020 16:44:55 GMT</pubDate>
    <dc:creator>AnthonyCabos</dc:creator>
    <dc:date>2020-01-13T16:44:55Z</dc:date>
    <item>
      <title>Manipulate Data coming from Analytic Connection</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Manipulate-Data-coming-from-Analytic-Connection/m-p/1665138#M12120</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have recently installed and used Analytics connection to use Python into Qlik Sense.&lt;/P&gt;&lt;P&gt;I use qlik-py-tools made by Nabeel :&amp;nbsp;&lt;A href="https://github.com/nabeel-oz/qlik-py-tools" target="_blank"&gt;https://github.com/nabeel-oz/qlik-py-tools&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I can display some graph coming such as forecast or decomposition.&lt;/P&gt;&lt;P&gt;Now, I would like to make operation of datas coming from pytools. I want to make it into Qlik, not in Python because I have few skills on it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example with this expression to calculate for everymonth the forecast Turnover :&lt;/P&gt;&lt;P&gt;PyTools.Prophet(Period_ForecastMonth_$(v_forecastMonth), Sum({&amp;lt;FactType={'SellOut'},TypePrescription={'$(v_Type_Prescription)'}, %Date={"&amp;lt;$(v_dateDebutMois)"}&amp;gt;} [_$(v_Type_Analyse)_FUTUR]), 'freq=MS, return=yhat, take_log=true,seasonality_mode=$(v_seasonalityMode)')&lt;/P&gt;&lt;P&gt;I can display this graph or see datas. But I cannot manipulate them.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To be more understanding, I want to get the turnover's evolution of the future year compared to the present year.&amp;nbsp; Operation is simple, I just have to add the future 12 month and divide by the last 12 month. But I have an error message 'Nested aggregation is not allowed', so I try to put result into an Aggr and manipulate them but all values are equals to 0.&lt;/P&gt;&lt;P&gt;Is it any way to manipulate data calculate by analytic connection (in this exemple by Python) with Qlik ?&lt;/P&gt;&lt;P&gt;I prefer to not precalculate those datas into script, because there is a lot of datas and a lot of different configuration (additive/multiplicative seasonality , confidence interval). So app will be very heavy.&lt;/P&gt;&lt;P&gt;Thank you for your suggestions&lt;/P&gt;&lt;P&gt;Anthony Cabos&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 16:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Manipulate-Data-coming-from-Analytic-Connection/m-p/1665138#M12120</guid>
      <dc:creator>AnthonyCabos</dc:creator>
      <dc:date>2020-01-13T16:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulate Data coming from Analytic Connection</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Manipulate-Data-coming-from-Analytic-Connection/m-p/1846927#M15732</link>
      <description>&lt;P&gt;Hello, did you get a solution for this question?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 14:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Manipulate-Data-coming-from-Analytic-Connection/m-p/1846927#M15732</guid>
      <dc:creator>CintiaK</dc:creator>
      <dc:date>2021-10-14T14:03:57Z</dc:date>
    </item>
  </channel>
</rss>

