<?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: Need help translating frontend script to the data load script in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Need-help-translating-frontend-script-to-the-data-load-script/m-p/2513344#M105319</link>
    <description>&lt;P&gt;does all this fields are coming from one table? If not, then combine all table and make it in one table.&lt;/P&gt;&lt;P&gt;If yes, then try&lt;/P&gt;&lt;P&gt;Load Dimension1, Dimension2,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;((AVG(MeasureA * MeasureB) * SUM(MeasureC)) / MeasureB) * SUM(MeasureE)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Resident TableName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Group By&amp;nbsp;Dimension1, Dimension2;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Apr 2025 11:16:20 GMT</pubDate>
    <dc:creator>PrashantSangle</dc:creator>
    <dc:date>2025-04-07T11:16:20Z</dc:date>
    <item>
      <title>Need help translating frontend script to the data load script</title>
      <link>https://community.qlik.com/t5/App-Development/Need-help-translating-frontend-script-to-the-data-load-script/m-p/2513332#M105316</link>
      <description>&lt;P&gt;The frontend script is as follows:&lt;/P&gt;&lt;P&gt;SUM(AGGR(((AVG(MeasureA * MeasureB) * SUM(MeasureC)) / MeasureB) * SUM(MeasureE), Dimension1, Dimension2))&lt;/P&gt;&lt;P&gt;I'm still pretty new to Qlik so I can't wrap my head around how I'm supposed to write this in the data load editor. I've tried so much yet nothing works...&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 10:23:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-help-translating-frontend-script-to-the-data-load-script/m-p/2513332#M105316</guid>
      <dc:creator>phiilip</dc:creator>
      <dc:date>2025-04-07T10:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need help translating frontend script to the data load script</title>
      <link>https://community.qlik.com/t5/App-Development/Need-help-translating-frontend-script-to-the-data-load-script/m-p/2513336#M105317</link>
      <description>&lt;P&gt;Without knowing your data model and the definition of your measures it's hard to say whether the calculation of this formula can be done in the data model or not.&lt;/P&gt;
&lt;P&gt;I assume that you are asking this question because the above formula is not very performant.&lt;/P&gt;
&lt;P&gt;Using aggr function in chart expressions can be slow if the amount of data is huge.&lt;/P&gt;
&lt;P&gt;In general to optimize UI performance, it's a good idea to pre-calculate as much as possible in the data load script. However if the fields that are underlying your dimensions and measures are spread over multiple tables in the data model, then it's likely that the formula cannot be calculated in the data model. Or only if you de-normalize your data model and/or do aggregations in the load script.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 10:45:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-help-translating-frontend-script-to-the-data-load-script/m-p/2513336#M105317</guid>
      <dc:creator>Helga_W</dc:creator>
      <dc:date>2025-04-07T10:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Need help translating frontend script to the data load script</title>
      <link>https://community.qlik.com/t5/App-Development/Need-help-translating-frontend-script-to-the-data-load-script/m-p/2513344#M105319</link>
      <description>&lt;P&gt;does all this fields are coming from one table? If not, then combine all table and make it in one table.&lt;/P&gt;&lt;P&gt;If yes, then try&lt;/P&gt;&lt;P&gt;Load Dimension1, Dimension2,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;((AVG(MeasureA * MeasureB) * SUM(MeasureC)) / MeasureB) * SUM(MeasureE)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Resident TableName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Group By&amp;nbsp;Dimension1, Dimension2;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 11:16:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-help-translating-frontend-script-to-the-data-load-script/m-p/2513344#M105319</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2025-04-07T11:16:20Z</dc:date>
    </item>
  </channel>
</rss>

