<?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 Expression based on non associated fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-based-on-non-associated-fields/m-p/231816#M500771</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that this might be simple, but I couldnt solve it.&lt;BR /&gt;I have 2 tables: Orders and Budget.&lt;/P&gt;&lt;P&gt;Orders:&lt;BR /&gt;OrderDate, OrderMonth, OrderDay, ValueO&lt;BR /&gt;2010-12-30, 12, 30, 1500&lt;BR /&gt;2010-12-31, 12, 31, 2000&lt;BR /&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Budget:&lt;BR /&gt;BudgetDate, BugetMonth, BugetDay, ValueB&lt;BR /&gt;2010-12-30, 12, 30, 1500&lt;BR /&gt;2010-12-31, 12, 31, 2000&lt;BR /&gt;2010-12-31, 12, 31, 1000&lt;/P&gt;&lt;DIV&gt;....&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides those 2, I have a lot more tables, in a way I cannot associate those 2. So the 2 tables are not associated, and I cannot use BudgetDate as OrderDate.&lt;/P&gt;&lt;P&gt;And the result I am expecting is a table like that:&lt;BR /&gt;Result:&lt;BR /&gt;Day, Month, Orders, Budget&lt;BR /&gt;30, 12, 1500, 1500&lt;BR /&gt;31, 12, 2000, 3000&lt;BR /&gt;&lt;BR /&gt;Day And Month are dimensions from Orders table. The fields Orders and Budget must be expressions. I was thiking something like that:&lt;BR /&gt;Order = Sum(ValueO)&lt;BR /&gt;Budget= Sum ( {$&amp;lt;BugetMonth=( 'Month Dimension Value' ) and BugetDay=( 'Day Dimension Value' )&amp;gt; ValueB}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Feb 2011 06:58:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-28T06:58:50Z</dc:date>
    <item>
      <title>Expression based on non associated fields</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-on-non-associated-fields/m-p/231816#M500771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that this might be simple, but I couldnt solve it.&lt;BR /&gt;I have 2 tables: Orders and Budget.&lt;/P&gt;&lt;P&gt;Orders:&lt;BR /&gt;OrderDate, OrderMonth, OrderDay, ValueO&lt;BR /&gt;2010-12-30, 12, 30, 1500&lt;BR /&gt;2010-12-31, 12, 31, 2000&lt;BR /&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Budget:&lt;BR /&gt;BudgetDate, BugetMonth, BugetDay, ValueB&lt;BR /&gt;2010-12-30, 12, 30, 1500&lt;BR /&gt;2010-12-31, 12, 31, 2000&lt;BR /&gt;2010-12-31, 12, 31, 1000&lt;/P&gt;&lt;DIV&gt;....&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides those 2, I have a lot more tables, in a way I cannot associate those 2. So the 2 tables are not associated, and I cannot use BudgetDate as OrderDate.&lt;/P&gt;&lt;P&gt;And the result I am expecting is a table like that:&lt;BR /&gt;Result:&lt;BR /&gt;Day, Month, Orders, Budget&lt;BR /&gt;30, 12, 1500, 1500&lt;BR /&gt;31, 12, 2000, 3000&lt;BR /&gt;&lt;BR /&gt;Day And Month are dimensions from Orders table. The fields Orders and Budget must be expressions. I was thiking something like that:&lt;BR /&gt;Order = Sum(ValueO)&lt;BR /&gt;Budget= Sum ( {$&amp;lt;BugetMonth=( 'Month Dimension Value' ) and BugetDay=( 'Day Dimension Value' )&amp;gt; ValueB}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Feb 2011 06:58:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-on-non-associated-fields/m-p/231816#M500771</guid>
      <dc:creator />
      <dc:date>2011-02-28T06:58:50Z</dc:date>
    </item>
    <item>
      <title>Expression based on non associated fields</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-on-non-associated-fields/m-p/231817#M500772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hei&lt;/P&gt;&lt;P&gt;try this one&lt;/P&gt;&lt;P&gt;hope it helps you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Feb 2011 07:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-on-non-associated-fields/m-p/231817#M500772</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2011-02-28T07:11:41Z</dc:date>
    </item>
    <item>
      <title>Expression based on non associated fields</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-on-non-associated-fields/m-p/231818#M500773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that way, it worked.&lt;/P&gt;&lt;P&gt;But I have a lot of fields, that I can filter or not: customer, product, year and month. These filters need to be on both tables, and they are not associated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Feb 2011 13:37:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-on-non-associated-fields/m-p/231818#M500773</guid>
      <dc:creator />
      <dc:date>2011-02-28T13:37:35Z</dc:date>
    </item>
  </channel>
</rss>

