<?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 filter a field when its values are distributed into several table fields? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-filter-a-field-when-its-values-are-distributed-into/m-p/175234#M43760</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.02.89.41/Monthly-Sales-Targets.qvw]&lt;/P&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I need help to solve the following situation. Please see the attachment.&lt;/P&gt;&lt;P&gt;I have a table with Sales Target for each Customer, but the table has the values for each month in a different field.&lt;/P&gt;&lt;P&gt;I need to be able to filter the sales target by Customer, year and month.&lt;/P&gt;&lt;P&gt;How can I work it around?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Aldo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Aug 2010 09:04:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-26T09:04:24Z</dc:date>
    <item>
      <title>How to filter a field when its values are distributed into several table fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-a-field-when-its-values-are-distributed-into/m-p/175234#M43760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.02.89.41/Monthly-Sales-Targets.qvw]&lt;/P&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I need help to solve the following situation. Please see the attachment.&lt;/P&gt;&lt;P&gt;I have a table with Sales Target for each Customer, but the table has the values for each month in a different field.&lt;/P&gt;&lt;P&gt;I need to be able to filter the sales target by Customer, year and month.&lt;/P&gt;&lt;P&gt;How can I work it around?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Aldo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Aug 2010 09:04:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-a-field-when-its-values-are-distributed-into/m-p/175234#M43760</guid>
      <dc:creator />
      <dc:date>2010-08-26T09:04:24Z</dc:date>
    </item>
    <item>
      <title>How to filter a field when its values are distributed into several table fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-a-field-when-its-values-are-distributed-into/m-p/175235#M43761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Aldo,&lt;/P&gt;&lt;P&gt;You may try something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;MonthlyTargets:crosstable (month, sales, 2) loadYear, Customer, JanuaryQuant, FebruaryQuant from MonthlyTargets.qvd (qvd);&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Is this what you are looking for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Aug 2010 09:21:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-a-field-when-its-values-are-distributed-into/m-p/175235#M43761</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-08-26T09:21:57Z</dc:date>
    </item>
    <item>
      <title>How to filter a field when its values are distributed into several table fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-a-field-when-its-values-are-distributed-into/m-p/175236#M43762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;I solved it, re-creating the table as below, but I think it is not the best solution. Let me try your suggestion.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aldo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MonthlyTargets:&lt;/P&gt;&lt;P&gt;let MonthNo = 1;&lt;/P&gt;&lt;P&gt;Do while MonthNo &amp;lt; 13&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;Customer,&lt;/P&gt;&lt;P&gt;Year,&lt;/P&gt;&lt;P&gt;'$(MonthNo)' as Month,&lt;/P&gt;&lt;P&gt;if('$(MonthNo)'=1, JanuaryQuant,&lt;/P&gt;&lt;P&gt;if('$(MonthNo)'=2, FebruaryQuant)&lt;/P&gt;&lt;P&gt;) as Quant&lt;/P&gt;&lt;P&gt;from ...MonthlyTargets.qvd (qvd);&lt;/P&gt;&lt;P&gt;Let MonthNo = MonthNo+1;&lt;/P&gt;&lt;P&gt;loop;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Aug 2010 09:24:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-a-field-when-its-values-are-distributed-into/m-p/175236#M43762</guid>
      <dc:creator />
      <dc:date>2010-08-26T09:24:59Z</dc:date>
    </item>
  </channel>
</rss>

