<?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: Poor data structure make my expression very complicated. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Poor-data-structure-make-my-expression-very-complicated/m-p/719425#M540599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my QV doc , which make you easy understand what i mean. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 06 Jul 2014 04:28:37 GMT</pubDate>
    <dc:creator>paulyeo11</dc:creator>
    <dc:date>2014-07-06T04:28:37Z</dc:date>
    <item>
      <title>Poor data structure make my expression very complicated.</title>
      <link>https://community.qlik.com/t5/QlikView/Poor-data-structure-make-my-expression-very-complicated/m-p/719424#M540598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my database structure which force me create exchange rate for indo with 2 different name. my wish is i just hope to make these 2 var name same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="poor data structure.png" class="jive-image" src="/legacyfs/online/61812_poor data structure.png" style="width: 620px; height: 315px;" /&gt;n&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Due to the above database structure which is not so smart , which end up make my expression very complicate like below :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;match(Currency_P,'SG') and (match (BRAND_P,'IBH')&lt;/P&gt;&lt;P&gt;),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(AFTER_DISCOUNT*RATE_EU*TRANSPORT_IBH/MU_IBH),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(match(Currency_P,'SG') and (match (BRAND_P,'GE')),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(AFTER_DISCOUNT*RATE_US*TRANSPORT_GE/MU_GE),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;match(Currency_P,'INDO') and (match (BRAND_P,'IBH')&lt;/P&gt;&lt;P&gt;),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(AFTER_DISCOUNT*RATE_EU*RATE_ID_IBH*TRANSPORT_IBH/MU_IBH),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(match(Currency_P,'INDO') and (match (BRAND_P,'GE')),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(AFTER_DISCOUNT*RATE_US*RATE_ID_GE*TRANSPORT_GE/MU_GE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like to ask it there any way i can modify my database structure , so that i don't need to create 2 variable :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RATE_ID_GE&lt;/P&gt;&lt;P&gt;RATE_ID_IBH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As these 2 variable are similar , which make user confuse only. at first i try to make the above 2 variable to RATE_ID , it unable to work. hope some one can advise me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Jul 2014 04:24:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Poor-data-structure-make-my-expression-very-complicated/m-p/719424#M540598</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2014-07-06T04:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Poor data structure make my expression very complicated.</title>
      <link>https://community.qlik.com/t5/QlikView/Poor-data-structure-make-my-expression-very-complicated/m-p/719425#M540599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my QV doc , which make you easy understand what i mean. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Jul 2014 04:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Poor-data-structure-make-my-expression-very-complicated/m-p/719425#M540599</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2014-07-06T04:28:37Z</dc:date>
    </item>
  </channel>
</rss>

