<?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: Measures  VS  Calculated fields in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Measures-VS-Calculated-fields/m-p/2505561#M103971</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Indeed, I did not plan to create a measure for each possibility and I plan to make the aggregation according to my dimensions (time and geography)&lt;/P&gt;
&lt;P&gt;But even if a create a measure just for&amp;nbsp;&lt;SPAN&gt;each KPI&amp;nbsp; x (Real, Target, Difference, Real YTD, Target YTD, Difference YTD..); having 50 KPI, I will need 500 measures. That's why I was wondering if it isn't better to have those variations&amp;nbsp; (Real, Target, Difference, Real YTD, Target YTD, Difference YTD..) calculated in the loading script. However, I dont know how to do it. ..&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2025 11:43:29 GMT</pubDate>
    <dc:creator>JuMo</dc:creator>
    <dc:date>2025-02-12T11:43:29Z</dc:date>
    <item>
      <title>Measures  VS  Calculated fields</title>
      <link>https://community.qlik.com/t5/App-Development/Measures-VS-Calculated-fields/m-p/2505514#M103964</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I am preparing a new app. My row data will be a series of gSheet (one by geographical site) with a series of KPI (real value and target value) similar to what we have hereunder.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Exemple.png" style="width: 745px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177472i07D6DAB3A6E68189/image-size/large?v=v2&amp;amp;px=999" role="button" title="Exemple.png" alt="Exemple.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The product owner expects me to produce a dashboard with a geographical filter (they shall be able to see the data at site level, consolidated at country and region level) and a time filter (they shall be able to select a month)&lt;/P&gt;
&lt;P&gt;For each possibility of these filters and for each KPI in the file, in the dashboard, I shall display:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The monthly real value&lt;/LI&gt;
&lt;LI&gt;The monthly target value&lt;/LI&gt;
&lt;LI&gt;The difference between monthly real value and monthly target value&lt;/LI&gt;
&lt;LI&gt;The YTD real value&lt;/LI&gt;
&lt;LI&gt;The YTD target value&lt;/LI&gt;
&lt;LI&gt;The difference between YTD real value and YTD target value&lt;/LI&gt;
&lt;LI&gt;A colour according if the YTD real value is higher than the YTD target value&lt;/LI&gt;
&lt;LI&gt;A forecast of the YTD value EOY&lt;/LI&gt;
&lt;LI&gt;A trend (a ratio between YTD real value &amp;amp; YTD target value) VS (a ratio between YTD real value &amp;amp; YTD target value) for previous month&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Shall I create a measure for each of them and for each KPI?&lt;/P&gt;
&lt;P&gt;Shall I pre-calculate all the possibilities in the loading script? (In that case, how should I do it ?)&lt;/P&gt;
&lt;P&gt;I am a bit concerned by the performance since: we have a lot of sites and a huge number of KPI (an of course some sites have different KPI)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[EDIT]&lt;/P&gt;
&lt;P&gt;Sample data added.&lt;/P&gt;
&lt;P&gt;- IRL, data are in separated GSheets, not in the same Excel (but thats not a problem)&lt;/P&gt;
&lt;P&gt;- I have much more KPI and Area&lt;/P&gt;
&lt;P&gt;- All the columns are not present in all the files&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="ae_app" data-nosnippet=""&gt;&lt;!--
        Layout, Style or Voice Helpers
    --&gt;
&lt;DIV id="ae_helpers" class="ae-module" style="display: none;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!--
        Compliance
    --&gt;
&lt;DIV id="ae_compliance" class="ae-module" style="display: none;"&gt;&lt;!-- For autoSmartRem addNewWindowWarnings div is referenced in an aria-describedby --&gt;
&lt;DIV id="audioeye_new_window_message" style="display: none;"&gt;Opens in new window&lt;/DIV&gt;
&lt;DIV id="audioeye_pdf_message" style="display: none;"&gt;PDF Download&lt;/DIV&gt;
&lt;DIV id="audioeye_word_message" style="display: none;"&gt;Word Download&lt;/DIV&gt;
&lt;DIV id="audioeye_excel_message" style="display: none;"&gt;Excel Download&lt;/DIV&gt;
&lt;DIV id="audioeye_powerpoint_message" style="display: none;"&gt;PowerPoint Download&lt;/DIV&gt;
&lt;DIV id="audioeye_document_message" style="display: none;"&gt;Document Download&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;!--
        Versioning Control Panel if versioning = true !
    --&gt; &lt;!--
        Launcher
    --&gt;  &lt;!-- Toolbar --&gt;
&lt;ASIDE id="ae_toolbar" tabindex="0" aria-label="Accessibility options"&gt;&lt;/ASIDE&gt;
&lt;!--
        Site Menu
    --&gt;  &lt;!--
        Generic Aria Live message container
    --&gt;
&lt;DIV id="ae_enabled_messages" class="ae-blurb-noaudio" aria-relevant="additions" aria-live="assertive"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!-- Symbol definitions --&gt;    &lt;/DIV&gt;
&lt;!-- end #ae_app --&gt;</description>
      <pubDate>Thu, 13 Feb 2025 09:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measures-VS-Calculated-fields/m-p/2505514#M103964</guid>
      <dc:creator>JuMo</dc:creator>
      <dc:date>2025-02-13T09:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Measures  VS  Calculated fields</title>
      <link>https://community.qlik.com/t5/App-Development/Measures-VS-Calculated-fields/m-p/2505551#M103966</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can create a measure for each KPI (Real, Target, Difference, Real YTD, Target YTD, Difference YTD..). DO NOT create a measure for each possiblity of selection (region country...). Qlik is here to help you aggregate &amp;amp; analyse your KPIs according to all dimensions of your data model. If your model is well designed, performance should not be one issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 10:39:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measures-VS-Calculated-fields/m-p/2505551#M103966</guid>
      <dc:creator>SRA</dc:creator>
      <dc:date>2025-02-12T10:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Measures  VS  Calculated fields</title>
      <link>https://community.qlik.com/t5/App-Development/Measures-VS-Calculated-fields/m-p/2505561#M103971</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Indeed, I did not plan to create a measure for each possibility and I plan to make the aggregation according to my dimensions (time and geography)&lt;/P&gt;
&lt;P&gt;But even if a create a measure just for&amp;nbsp;&lt;SPAN&gt;each KPI&amp;nbsp; x (Real, Target, Difference, Real YTD, Target YTD, Difference YTD..); having 50 KPI, I will need 500 measures. That's why I was wondering if it isn't better to have those variations&amp;nbsp; (Real, Target, Difference, Real YTD, Target YTD, Difference YTD..) calculated in the loading script. However, I dont know how to do it. ..&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 11:43:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measures-VS-Calculated-fields/m-p/2505561#M103971</guid>
      <dc:creator>JuMo</dc:creator>
      <dc:date>2025-02-12T11:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Measures  VS  Calculated fields</title>
      <link>https://community.qlik.com/t5/App-Development/Measures-VS-Calculated-fields/m-p/2505593#M103975</link>
      <description>&lt;P&gt;please put the same data in an excel sheet so we can play around with it and come up with a solution. Thnx&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 14:27:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measures-VS-Calculated-fields/m-p/2505593#M103975</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2025-02-12T14:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Measures  VS  Calculated fields</title>
      <link>https://community.qlik.com/t5/App-Development/Measures-VS-Calculated-fields/m-p/2505632#M103985</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;Shall I create a measure for each of them and for each KPI?"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Not for each KPI. Use Crosstable load to convert the KPI Names in to dimension values. So your table becomes something like:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Date, KPI, Real, Target&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;31 Jan, A, 25, 20&lt;BR /&gt;31 Jan, B, 25, 18&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;etc&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;-Rob&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 16:46:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measures-VS-Calculated-fields/m-p/2505632#M103985</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2025-02-12T16:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Measures  VS  Calculated fields</title>
      <link>https://community.qlik.com/t5/App-Development/Measures-VS-Calculated-fields/m-p/2505720#M104016</link>
      <description>&lt;P&gt;OK, 1st message updated with sample data&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="ae_app" data-nosnippet=""&gt;&lt;!--
        Layout, Style or Voice Helpers
    --&gt;
&lt;DIV id="ae_helpers" class="ae-module" style="display: none;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!--
        Compliance
    --&gt;
&lt;DIV id="ae_compliance" class="ae-module" style="display: none;"&gt;&lt;!-- For autoSmartRem addNewWindowWarnings div is referenced in an aria-describedby --&gt;
&lt;DIV id="audioeye_new_window_message" style="display: none;"&gt;Opens in new window&lt;/DIV&gt;
&lt;DIV id="audioeye_pdf_message" style="display: none;"&gt;PDF Download&lt;/DIV&gt;
&lt;DIV id="audioeye_word_message" style="display: none;"&gt;Word Download&lt;/DIV&gt;
&lt;DIV id="audioeye_excel_message" style="display: none;"&gt;Excel Download&lt;/DIV&gt;
&lt;DIV id="audioeye_powerpoint_message" style="display: none;"&gt;PowerPoint Download&lt;/DIV&gt;
&lt;DIV id="audioeye_document_message" style="display: none;"&gt;Document Download&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;!--
        Versioning Control Panel if versioning = true !
    --&gt; &lt;!--
        Launcher
    --&gt;  &lt;!-- Toolbar --&gt;  &lt;!--
        Site Menu
    --&gt;  &lt;!--
        Generic Aria Live message container
    --&gt;
&lt;DIV id="ae_enabled_messages" class="ae-blurb-noaudio" aria-relevant="additions" aria-live="assertive"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!-- Symbol definitions --&gt;    &lt;/DIV&gt;
&lt;!-- end #ae_app --&gt;</description>
      <pubDate>Thu, 13 Feb 2025 09:42:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measures-VS-Calculated-fields/m-p/2505720#M104016</guid>
      <dc:creator>JuMo</dc:creator>
      <dc:date>2025-02-13T09:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Measures  VS  Calculated fields</title>
      <link>https://community.qlik.com/t5/App-Development/Measures-VS-Calculated-fields/m-p/2505722#M104017</link>
      <description>&lt;P&gt;The problem here is all my KPI shall concolidate the same way. Some are simple sums, other are monthly products, others are overall ratio, others are min/max, others are average ....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 09:45:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measures-VS-Calculated-fields/m-p/2505722#M104017</guid>
      <dc:creator>JuMo</dc:creator>
      <dc:date>2025-02-13T09:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Measures  VS  Calculated fields</title>
      <link>https://community.qlik.com/t5/App-Development/Measures-VS-Calculated-fields/m-p/2505948#M104063</link>
      <description>&lt;P&gt;I would recommend pre calculating the value in the script, but use a common field for the result. For example, "Difference" regardless of the type.&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 13:55:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measures-VS-Calculated-fields/m-p/2505948#M104063</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2025-02-14T13:55:30Z</dc:date>
    </item>
  </channel>
</rss>

