<?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: The calculated string in the dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/The-calculated-string-in-the-dimension/m-p/1458554#M435616</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not work&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_2.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188922_Screenshot_2.png" style="height: 89px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jan 2018 12:27:00 GMT</pubDate>
    <dc:creator>kolov007</dc:creator>
    <dc:date>2018-01-04T12:27:00Z</dc:date>
    <item>
      <title>The calculated string in the dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-calculated-string-in-the-dimension/m-p/1458551#M435613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hello.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I have a table with metrics. I need to calculate value for the certain line&lt;/SPAN&gt; (&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #0000ff; text-decoration: underline;"&gt;Percent of Profit&lt;/SPAN&gt;&lt;/SPAN&gt;) &lt;SPAN style="color: #000000;"&gt;by certain formula, and for the all other values by another&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;sum([Amount of USD])&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I have a formula:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;if(Metrics = 'Percent of Profit', Sum ({&amp;lt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px;"&gt;Metrics &lt;/SPAN&gt;= {'Sales'}&amp;gt;}&lt;SPAN style="color: #0000ff; font-size: 13.3333px;"&gt;[Amount of USD]&lt;/SPAN&gt;)/Sum ({&lt;SPAN style="color: #0000ff; font-size: 13.3333px;"&gt;{&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px;"&gt;Metrics &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px;"&gt;= {'Cost'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px;"&gt;[Amount of USD]&lt;/SPAN&gt;)-1, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px;"&gt;[Amount of USD]&lt;/SPAN&gt;) &lt;SPAN style="color: #000000;"&gt;but this formula is invalid.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Please help me with this task.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188870_Screenshot_1.png" style="height: 226px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 09:18:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-calculated-string-in-the-dimension/m-p/1458551#M435613</guid>
      <dc:creator>kolov007</dc:creator>
      <dc:date>2018-01-04T09:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: The calculated string in the dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-calculated-string-in-the-dimension/m-p/1458552#M435614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have access to check. But, My assumption is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Sum(Aggr(if(Metrics = 'Percent of Profit', Sum ({&amp;lt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px;"&gt;Metrics &lt;/SPAN&gt;= {'Sales'}&amp;gt;}&lt;SPAN style="color: #0000ff; font-size: 13.3333px;"&gt;[Amount of USD]&lt;/SPAN&gt;)/Sum ({&lt;SPAN style="color: #0000ff; font-size: 13.3333px;"&gt;{&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px;"&gt;Metrics &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px;"&gt;= {'Cost'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px;"&gt;[Amount of USD]&lt;/SPAN&gt;)-1, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px;"&gt;[Amount of USD]&lt;/SPAN&gt;), Metrics))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 09:29:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-calculated-string-in-the-dimension/m-p/1458552#M435614</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-04T09:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: The calculated string in the dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-calculated-string-in-the-dimension/m-p/1458553#M435615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188854_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 09:30:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-calculated-string-in-the-dimension/m-p/1458553#M435615</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-01-04T09:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: The calculated string in the dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-calculated-string-in-the-dimension/m-p/1458554#M435616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not work&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_2.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188922_Screenshot_2.png" style="height: 89px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 12:27:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-calculated-string-in-the-dimension/m-p/1458554#M435616</guid>
      <dc:creator>kolov007</dc:creator>
      <dc:date>2018-01-04T12:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: The calculated string in the dimension</title>
      <link>https://community.qlik.com/t5/QlikView/The-calculated-string-in-the-dimension/m-p/1458555#M435617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Metrics = 'Percent of Profit', Num(Sum(TOTAL {&amp;lt;Metrics = {'Sales'}&amp;gt;}[Amount of USD])/Sum(TOTAL {&amp;lt;Metrics = {'Cost'}&amp;gt;}[Amount of USD])-1, '#,##%'), Num([Amount of USD], '#,00')) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188919_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 12:49:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/The-calculated-string-in-the-dimension/m-p/1458555#M435617</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-04T12:49:18Z</dc:date>
    </item>
  </channel>
</rss>

