<?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: calculate dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131973#M19852</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; if ( match( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[VBAPFactKEY]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '009225', '009153', '009161', '009122', '009104') and (Tuottovarattavat = 'x' , &lt;STRONG&gt;(sum&lt;/STRONG&gt; (Kulut / 0.9)), Veroton)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;if you this thig &lt;STRONG&gt;(sum&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;bold text not works&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Aug 2018 11:38:19 GMT</pubDate>
    <dc:creator>kkarlste</dc:creator>
    <dc:date>2018-08-29T11:38:19Z</dc:date>
    <item>
      <title>calculate dimension</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131968#M19847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you any ideas this calculation dimension&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;how the script goes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if field1 = ('1','10) sum (field2 /0,85) otherwise take (field3)&lt;/P&gt;&lt;P&gt;if field4 = ('9225', '9153', '9161', '9122', '9104') field1 = ('1','10) sum (field2 / 0,9) otherwise take (field3)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 10:12:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131968#M19847</guid>
      <dc:creator>kkarlste</dc:creator>
      <dc:date>2018-08-29T10:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: calculate dimension</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131969#M19848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If( &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;field1 =1 or &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;field1 =10,&amp;nbsp; &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;sum (field2 /0.85), field3)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;if ( match(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;field4 , &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;'9225', '9153', '9161', '9122', '9104') and match(&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;field1 , 1, 10),&amp;nbsp; &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;sum (field2 / 0.9), field3)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 10:16:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131969#M19848</guid>
      <dc:creator>thevingo</dc:creator>
      <dc:date>2018-08-29T10:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: calculate dimension</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131970#M19849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is correct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Tuottovarattavat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'x' ,&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Kulut&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; /0.85), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Veroton&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;but this is not&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt; if &lt;/SPAN&gt;&lt;STRONG style=": ; color: #ff0000; font-size: 8pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; match( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[VBAPFactKEY]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '009225', '009153', '009161', '009122', '009104') and (Tuottovarattavat = 'x' , sum (Kulut / 0.9), Veroton) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 10:34:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131970#M19849</guid>
      <dc:creator>kkarlste</dc:creator>
      <dc:date>2018-08-29T10:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: calculate dimension</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131971#M19850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You forgot to close your sum. Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if (&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;match( &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[VBAPFactKEY]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;, '009225', '009153', '009161', '009122', '009104') and (Tuottovarattavat = 'x' , sum (Kulut / 0.9)&lt;STRONG&gt;)&lt;/STRONG&gt;, Veroton)&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;AGB &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 11:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131971#M19850</guid>
      <dc:creator>sewialwork</dc:creator>
      <dc:date>2018-08-29T11:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: calculate dimension</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131972#M19851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/312420"&gt;calculate dimension&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 11:19:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131972#M19851</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-29T11:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: calculate dimension</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131973#M19852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; if ( match( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[VBAPFactKEY]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '009225', '009153', '009161', '009122', '009104') and (Tuottovarattavat = 'x' , &lt;STRONG&gt;(sum&lt;/STRONG&gt; (Kulut / 0.9)), Veroton)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;if you this thig &lt;STRONG&gt;(sum&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;bold text not works&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 11:38:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131973#M19852</guid>
      <dc:creator>kkarlste</dc:creator>
      <dc:date>2018-08-29T11:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: calculate dimension</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131974#M19853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You were not closed the bracket of Tuottovarattavat='x' properly.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use below expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Match([VBAPFactKEY],'009225','009153','009161','009122','009104') and (Tuottovarattavat = 'x'), Sum(Kulut/0.9),Veroton)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 14:12:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131974#M19853</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-08-29T14:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: calculate dimension</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131975#M19854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In order to use an aggregation function like Sum in calculated dimension, you'll need to use Aggr - &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if ( match( &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[VBAPFactKEY]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, '009225', '009153', '009161', '009122', '009104') and (Tuottovarattavat = 'x' , Aggr&lt;STRONG style="font-style: inherit; font-size: 10.6667px; font-family: inherit;"&gt;(sum&lt;/STRONG&gt; (Kulut / 0.9)), Veroton) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;EM&gt;Check on the number of paranthesis&lt;/EM&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 14:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131975#M19854</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2018-08-29T14:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: calculate dimension</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131976#M19855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=If(Match(field1,'1','10'),Sum(field2/0.85),field3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Match(field4,'9225','9153','9161','9122','9104') and Match(field1,'1','10'),Sum(field2/0.9),field3)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 14:16:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131976#M19855</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-08-29T14:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: calculate dimension</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131977#M19856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 18:55:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131977#M19856</guid>
      <dc:creator>kkarlste</dc:creator>
      <dc:date>2018-08-29T18:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: calculate dimension</title>
      <link>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131978#M19857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you got the Answer, please close thread by marking it as Answered. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 05:06:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculate-dimension/m-p/131978#M19857</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-08-30T05:06:46Z</dc:date>
    </item>
  </channel>
</rss>

