<?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 Work with variable as Field Value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Work-with-variable-as-Field-Value/m-p/219214#M72260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmmm&lt;/P&gt;&lt;P&gt;i think you will need to change the format of the table using the crosstable KEYWORD&lt;/P&gt;&lt;P&gt;so instead of having one row of data per each order per each year with 12 fields (one field per month)&lt;/P&gt;&lt;P&gt;you will have 12 rows of data per each order per each year (one row per month)&lt;/P&gt;&lt;P&gt;with the fields:&lt;/P&gt;&lt;P&gt;Order Year Month Amount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can select a month too (and even connect it to a master calander)&lt;/P&gt;&lt;P&gt;you can check the syntax for the "CrossTable" keyword in the manual&lt;/P&gt;&lt;P&gt;Mansyno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jul 2010 22:48:16 GMT</pubDate>
    <dc:creator>wizardo</dc:creator>
    <dc:date>2010-07-09T22:48:16Z</dc:date>
    <item>
      <title>Work with variable as Field Value</title>
      <link>https://community.qlik.com/t5/QlikView/Work-with-variable-as-Field-Value/m-p/219213#M72259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a table I got 12 fields, WKG001, WKG002, ..... up to WKG012 (containing values.)&lt;/P&gt;&lt;P&gt;Each field represents the global result of financial postings, and it builds month by month, from WKG001 to WKG012&lt;/P&gt;&lt;P&gt;So this means in field WKG001 you can find the results of Month Januari, in WKG002 = Februari ...... WKG012 = December.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have another field, wich contains the year of posting.&lt;/P&gt;&lt;P&gt;So the combination of year &amp;amp; WKG will give you the posting of year &amp;amp; month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I make a 'selector' so the customer can choose his from/to period(s)???&lt;/P&gt;&lt;P&gt;I my chart I got dimension Order and Year, and in the expressions the 12 seperate SUM(WKG)-fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jul 2010 14:18:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Work-with-variable-as-Field-Value/m-p/219213#M72259</guid>
      <dc:creator />
      <dc:date>2010-07-09T14:18:51Z</dc:date>
    </item>
    <item>
      <title>Work with variable as Field Value</title>
      <link>https://community.qlik.com/t5/QlikView/Work-with-variable-as-Field-Value/m-p/219214#M72260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmmm&lt;/P&gt;&lt;P&gt;i think you will need to change the format of the table using the crosstable KEYWORD&lt;/P&gt;&lt;P&gt;so instead of having one row of data per each order per each year with 12 fields (one field per month)&lt;/P&gt;&lt;P&gt;you will have 12 rows of data per each order per each year (one row per month)&lt;/P&gt;&lt;P&gt;with the fields:&lt;/P&gt;&lt;P&gt;Order Year Month Amount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can select a month too (and even connect it to a master calander)&lt;/P&gt;&lt;P&gt;you can check the syntax for the "CrossTable" keyword in the manual&lt;/P&gt;&lt;P&gt;Mansyno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jul 2010 22:48:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Work-with-variable-as-Field-Value/m-p/219214#M72260</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2010-07-09T22:48:16Z</dc:date>
    </item>
    <item>
      <title>Work with variable as Field Value</title>
      <link>https://community.qlik.com/t5/QlikView/Work-with-variable-as-Field-Value/m-p/219215#M72261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for your suggestion, but this will not work.&lt;/P&gt;&lt;P&gt;I now have allready a table of 7,5 million records in my table, and growing every day.&lt;/P&gt;&lt;P&gt;Turning the columns into rows will multiply this qty of lines x 12.&lt;/P&gt;&lt;P&gt;This is too much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I found an alternative which works...&lt;/P&gt;&lt;P&gt;I made a small inline table with 12 columns, containing Months &amp;amp; Period ='1' or '0', and linked this on my table via Key Month/Period&lt;/P&gt;&lt;P&gt;Depending on wich 'Month' you select in this inline table, it will say wich 'period' x0 and x1.&lt;/P&gt;&lt;P&gt;So&lt;/P&gt;&lt;P&gt;Month 1 will give you 'x1', 'x0', 'x0', 'x0', 'x0', .....&lt;/P&gt;&lt;P&gt;Month 2 will give you 'x1', 'x1', 'x0', 'x0', 'x0', ......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I do (KF1 x 'month1') + (KF2 x 'month2') + .......... I got a nice result&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;Month 1 = (10 x 1) + (20 x 0) + (30 x 0) + ....... = 10&lt;/P&gt;&lt;P&gt;Month 2 = (10 x 1) + (20 x 1) + (30 x 0) + ....... = 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result: Month 1 = Value 10, Month 2 = Value 30 --&amp;gt; correct&lt;/P&gt;&lt;P&gt;For the user, the result is shown as like you would select a Period in a std calendar and getting the calculations in your Chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 09:59:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Work-with-variable-as-Field-Value/m-p/219215#M72261</guid>
      <dc:creator />
      <dc:date>2010-07-13T09:59:26Z</dc:date>
    </item>
  </channel>
</rss>

