<?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 Mulitple conditions for if clause in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Mulitple-conditions-for-if-clause/m-p/1788595#M61574</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a Bar chart where I want to show the dimensions only if it has two conditions (field MakeBuy should be 'make' and the calculated value should be ave 0.2&lt;/P&gt;&lt;P&gt;=if((MakeBuy='make'and Sum({&amp;lt;Source={'AccountStructureSOW'}&amp;gt;} Value)/&lt;BR /&gt;Sum({&amp;lt;Unit={'Costs'}&amp;gt;}Value)&amp;gt;'0.2'),SubCompetency)&lt;/P&gt;&lt;P&gt;the formular is shown as OK but the dimension is not guilty. what did i wrong?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pia&lt;/P&gt;</description>
    <pubDate>Fri, 05 Mar 2021 07:41:59 GMT</pubDate>
    <dc:creator>peisenrot</dc:creator>
    <dc:date>2021-03-05T07:41:59Z</dc:date>
    <item>
      <title>Mulitple conditions for if clause</title>
      <link>https://community.qlik.com/t5/App-Development/Mulitple-conditions-for-if-clause/m-p/1788595#M61574</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a Bar chart where I want to show the dimensions only if it has two conditions (field MakeBuy should be 'make' and the calculated value should be ave 0.2&lt;/P&gt;&lt;P&gt;=if((MakeBuy='make'and Sum({&amp;lt;Source={'AccountStructureSOW'}&amp;gt;} Value)/&lt;BR /&gt;Sum({&amp;lt;Unit={'Costs'}&amp;gt;}Value)&amp;gt;'0.2'),SubCompetency)&lt;/P&gt;&lt;P&gt;the formular is shown as OK but the dimension is not guilty. what did i wrong?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pia&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 07:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Mulitple-conditions-for-if-clause/m-p/1788595#M61574</guid>
      <dc:creator>peisenrot</dc:creator>
      <dc:date>2021-03-05T07:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Mulitple conditions for if clause</title>
      <link>https://community.qlik.com/t5/App-Development/Mulitple-conditions-for-if-clause/m-p/1788619#M61576</link>
      <description>&lt;P&gt;Your condition contains an aggregation which aren't allowed within a dimension unless they are wrapped with an aggr(). This means your calculated dimension should be look rather more so:&lt;/P&gt;&lt;P&gt;aggr(&lt;BR /&gt;&lt;SPAN&gt;=if((MakeBuy='make'and Sum({&amp;lt;Source={'AccountStructureSOW'}&amp;gt;} Value)/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sum({&amp;lt;Unit={'Costs'}&amp;gt;}Value)&amp;gt;'0.2'),SubCompetency),&lt;BR /&gt;&lt;/SPAN&gt;Dim1, Dim2)&lt;/P&gt;&lt;P&gt;whereby Dim1 and Dim2 are just placeholder for the dimensionally context in which this condition should be evaluated - often it are the dimensions which are used within the chart but it could be others, too. In your case it's probably&amp;nbsp;&lt;SPAN&gt;SubCompetency and maybe any period-field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Marcus&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 09:33:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Mulitple-conditions-for-if-clause/m-p/1788619#M61576</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-03-05T09:33:04Z</dc:date>
    </item>
  </channel>
</rss>

