<?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 how to create calculations based on partial field names in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-create-calculations-based-on-partial-field-names/m-p/411531#M563306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table where I have a Column name Customer ID (3 million customers)&amp;nbsp; and for each month i have performed a diferent set of calculations and created as many columns as combinations of calcultaion name &amp;amp;calculation&amp;nbsp; month. for the last 13 Months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way instead of having&amp;nbsp; a huge table of&amp;nbsp; 39 million records with the calculations for each customer&amp;nbsp; (6 column table)&amp;nbsp; , each month , with the approach i built , I have a table with 3 million of rows and&amp;nbsp; 91 columns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The size of the application was reduced from 450 Megas to 100 Megas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but now i need to create the GUI objects with calculations&amp;nbsp;&amp;nbsp; but do not know how to perform aggregations based on fieldname patterns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IE I need to build and expresion&amp;nbsp; to aggregate by customer&amp;nbsp; the authentications by quarter, so I know that the information is in the fields, depending the name of the column I will know that metrics and depending of the numerica part of the column I will know the time dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 40px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="padding: 3px; text-align: center; color: #ffffff; background-color: #6690bc;"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;fieldname&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201201&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201202&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201203&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201204&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201205&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201206&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201207&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201208&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201209&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201210&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201211&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201212&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the table how it looks in QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any sugestion wiil be more than appreciated&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="33170" class="jive-image-thumbnail jive-image" onclick="" alt="table.jpg" src="https://community.qlik.com/legacyfs/online/33170_table.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Feb 2013 19:13:07 GMT</pubDate>
    <dc:creator>hectorgarcia</dc:creator>
    <dc:date>2013-02-06T19:13:07Z</dc:date>
    <item>
      <title>how to create calculations based on partial field names</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-calculations-based-on-partial-field-names/m-p/411531#M563306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table where I have a Column name Customer ID (3 million customers)&amp;nbsp; and for each month i have performed a diferent set of calculations and created as many columns as combinations of calcultaion name &amp;amp;calculation&amp;nbsp; month. for the last 13 Months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way instead of having&amp;nbsp; a huge table of&amp;nbsp; 39 million records with the calculations for each customer&amp;nbsp; (6 column table)&amp;nbsp; , each month , with the approach i built , I have a table with 3 million of rows and&amp;nbsp; 91 columns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The size of the application was reduced from 450 Megas to 100 Megas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but now i need to create the GUI objects with calculations&amp;nbsp;&amp;nbsp; but do not know how to perform aggregations based on fieldname patterns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IE I need to build and expresion&amp;nbsp; to aggregate by customer&amp;nbsp; the authentications by quarter, so I know that the information is in the fields, depending the name of the column I will know that metrics and depending of the numerica part of the column I will know the time dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 40px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="padding: 3px; text-align: center; color: #ffffff; background-color: #6690bc;"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;fieldname&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201201&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201202&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201203&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201204&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201205&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201206&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201207&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201208&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201209&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201210&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201211&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 3px; text-align: left; color: #333333; font-family: arial,helvetica,sans-serif; background-color: transparent;"&gt;cantauth201212&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the table how it looks in QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any sugestion wiil be more than appreciated&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="33170" class="jive-image-thumbnail jive-image" onclick="" alt="table.jpg" src="https://community.qlik.com/legacyfs/online/33170_table.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 19:13:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-calculations-based-on-partial-field-names/m-p/411531#M563306</guid>
      <dc:creator>hectorgarcia</dc:creator>
      <dc:date>2013-02-06T19:13:07Z</dc:date>
    </item>
  </channel>
</rss>

