<?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 Evaluating Expression in PivotTable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Evaluating-Expression-in-PivotTable/m-p/470807#M175878</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;I would like to re-produce the following table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD colspan="4"&gt;Actual&lt;/TD&gt;&lt;TD colspan="4"&gt;Budget&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Entity&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Omzet&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;Marge&lt;BR /&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Kosten&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;Ebit%&lt;BR /&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;&lt;STRONG style="color: #ffffff; text-align: -webkit-center; background-color: #6690bc;"&gt;Omzet&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG style="text-align: -webkit-center; background-color: #6690bc;"&gt;Marge&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;Kosten&lt;BR /&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;&lt;STRONG style="color: #ffffff; text-align: -webkit-center; background-color: #6690bc;"&gt;Ebit%&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Company A&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Company B&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expressions for each column (Revenues, Direct kost, Gross profit and Ebit% x Actuals / Budget) are stored in Excel &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression table looks something like that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 845px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="18" width="53"&gt;Rapportage id&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: white; font-weight: bold; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 1.5pt; border-bottom-color: white; background-color: #4f81bd;" width="182"&gt;Sectie&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: white; font-weight: bold; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 1.5pt; border-bottom-color: white; background-color: #4f81bd;" width="104"&gt;Kolom naam&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: white; font-weight: bold; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 1.5pt; border-bottom-color: white; background-color: #4f81bd;" width="100"&gt;Kolom label&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: white; font-weight: bold; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 1.5pt; border-bottom-color: white; background-color: #4f81bd;" width="288"&gt;kolom Expression&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: white; font-weight: bold; font-family: Arial; border-style: none none solid; border-bottom-width: 1.5pt; border-bottom-color: white; background-color: #4f81bd;" width="118"&gt;Kolom formaat&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="72" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;Actual&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;Omzet&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;Omzet&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;" width="288"&gt;sum( {&amp;lt;&lt;BR /&gt; [Verdichting1]= {'Total Revenue from Services'},&lt;BR /&gt; [F einddatum]={"$(=$(=$(getMaxDate('P&amp;lt;-&amp;gt;(P-1)'))))"}&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; [#Transact bedrag])&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none none solid; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;#.##0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="65" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;Actual&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;Marge&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;Marge&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;" width="288"&gt;sum( {&amp;lt;&lt;BR /&gt; [Exec P&amp;amp;L Heading]= {'Gross Profit'},&lt;BR /&gt; [F einddatum]={"$(=$(=$(getMaxDate('P&amp;lt;-&amp;gt;(P-1)'))))"}&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; [#Transact bedrag])&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none none solid; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;#.##0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;Actual&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;Kosten&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;Kosten&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;" width="288"&gt;$(=only({&amp;lt;Sectie = {'Actual'},[Kolom naam] = {'Marge'}&amp;gt;}[kolom Expression])) - $(=only({&amp;lt;Sectie = {'Actual'},[Kolom naam] = {'Resultaat'}&amp;gt;}[kolom Expression]))&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none none solid; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;#.##0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="52" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;Actual&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;Resultaat&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;Resultaat&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;" width="288"&gt;sum( {&amp;lt;&lt;BR /&gt; [Exec P&amp;amp;L Heading] = {'Income before taxes'},&lt;BR /&gt; [F einddatum]={"$(=$(=$(getMaxDate('P&amp;lt;-&amp;gt;(P-1)'))))"}&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; [#Transact bedrag]) &lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none none solid; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;#.##0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="35" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;Actual&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;FTE&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;FTE&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;" width="288"&gt;sum( {&amp;lt;&lt;BR /&gt; [F einddatum]={"$(=$(=$(getMaxDate('P&amp;lt;-&amp;gt;(P-1)'))))"}&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; [# totaal FTE]) &lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none none solid; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;#.##0,0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="67" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;Actual&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;Ebit%&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;Ebit%&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;" width="288"&gt;$(=only({&amp;lt;Sectie = {'Actual'},[Kolom naam] = {'Resultaat'}&amp;gt;}[kolom Expression])) / $(=only({&amp;lt;Sectie = {'Actual'},[Kolom naam] = {'Omzet'}&amp;gt;}[kolom Expression]))&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none none solid; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;#.##0,0%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="136" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Budget&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Omzet&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Omzet&lt;/TD&gt;&lt;TD class="xl69" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;" width="288"&gt;sum( {&amp;lt;&lt;BR /&gt; [Verdichting1]= {'Total Revenue from Services'},&lt;BR /&gt; [F einddatum]={"$(=$(=$(getMaxDate('P&amp;lt;-&amp;gt;(P-1)'))))"}&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; #Budget) &lt;BR /&gt; &lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none none solid; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;#.##0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="119" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Budget&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Marge&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Marge&lt;/TD&gt;&lt;TD class="xl69" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;" width="288"&gt;sum( {&amp;lt;&lt;BR /&gt; [Exec P&amp;amp;L Heading]= {'Gross Profit'},&lt;BR /&gt; [F einddatum]={"$(=$(=$(getMaxDate('P&amp;lt;-&amp;gt;(P-1)'))))"}&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; #Budget)&lt;BR /&gt; &lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none none solid; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;#.##0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Budget&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Kosten&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Kosten&lt;/TD&gt;&lt;TD class="xl69" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;" width="288"&gt;$(=only({&amp;lt;Sectie = {'Budget'},[Kolom naam] = {'Marge'}&amp;gt;}[kolom Expression])) - $(=only({&amp;lt;Sectie = {'Budget'},[Kolom naam] = {'Resultaat'}&amp;gt;}[kolom Expression]))&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none none solid; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;#.##0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="136" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Budget&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Resultaat&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Resultaat&lt;/TD&gt;&lt;TD class="xl69" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;" width="288"&gt;sum( {&amp;lt;&lt;BR /&gt; [Exec P&amp;amp;L Heading] = {'Income before taxes'},&lt;BR /&gt; [F einddatum]={"=$(=$(=$(getMaxDate('P&amp;lt;-&amp;gt;(P-1)'))))"}&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; #Budget) &lt;BR /&gt; &lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none none solid; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;#.##0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="85" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Budget&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;FTE&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;FTE&lt;/TD&gt;&lt;TD class="xl69" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;" width="288"&gt;sum( {&amp;lt;&lt;BR /&gt; [F einddatum]={"$(=$(=$(getMaxDate('P&amp;lt;-&amp;gt;(P-1)'))))"}&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; [# totaal FTE]) &lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none none solid; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;#.##0,0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid none none; border-right-width: 0.5pt; border-right-color: white; background-color: #ffc000;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid none none; border-right-width: 0.5pt; border-right-color: white; background-color: #ffc000;"&gt;Budget&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid none none; border-right-width: 0.5pt; border-right-color: white; background-color: #ffc000;"&gt;Ebit%&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid none none; border-right-width: 0.5pt; border-right-color: white; background-color: #ffc000;"&gt;Ebit%&lt;/TD&gt;&lt;TD class="xl69" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid none none; border-right-width: 0.5pt; border-right-color: white; background-color: #ffc000;" width="288"&gt;$(=only({&amp;lt;Sectie = {'Budget'},[Kolom naam] = {'Resultaat'}&amp;gt;}[kolom Expression])) / $(=only({&amp;lt;Sectie = {'Budget'},[Kolom naam] = {'Omzet'}&amp;gt;}[kolom Expression]))&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border: none; background-color: #ffc000;"&gt;#.##0,0%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rendering the expression in the pivot chart shows the right expression in the right place&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="41220" alt="Knipsel.PNG" class="jive-image-thumbnail jive-image" height="240" src="https://community.qlik.com/legacyfs/online/41220_Knipsel.PNG" style="height: 240px; width: 837.2093023255813px;" width="837" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Pivot setup&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Dimensions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1.RPT_dim_hdr (The king field group, CNIT, ect...)&lt;/P&gt;&lt;P&gt;2.Rpt sectie (Actual, Budget)&lt;/P&gt;&lt;P&gt;3.Kolom naam (Omzet, Kosten, Marge, ect...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[kolom Expression]&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i try to evaluate the expression, &lt;/P&gt;&lt;P&gt;$(=[kolom Expression]) I get nothing...&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can this actually be done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dror&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 May 2013 11:01:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-17T11:01:48Z</dc:date>
    <item>
      <title>Evaluating Expression in PivotTable</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluating-Expression-in-PivotTable/m-p/470807#M175878</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;I would like to re-produce the following table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD colspan="4"&gt;Actual&lt;/TD&gt;&lt;TD colspan="4"&gt;Budget&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Entity&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Omzet&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;Marge&lt;BR /&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Kosten&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;Ebit%&lt;BR /&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;&lt;STRONG style="color: #ffffff; text-align: -webkit-center; background-color: #6690bc;"&gt;Omzet&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG style="text-align: -webkit-center; background-color: #6690bc;"&gt;Marge&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;Kosten&lt;BR /&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;&lt;STRONG style="color: #ffffff; text-align: -webkit-center; background-color: #6690bc;"&gt;Ebit%&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Company A&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Company B&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expressions for each column (Revenues, Direct kost, Gross profit and Ebit% x Actuals / Budget) are stored in Excel &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression table looks something like that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 845px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="18" width="53"&gt;Rapportage id&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: white; font-weight: bold; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 1.5pt; border-bottom-color: white; background-color: #4f81bd;" width="182"&gt;Sectie&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: white; font-weight: bold; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 1.5pt; border-bottom-color: white; background-color: #4f81bd;" width="104"&gt;Kolom naam&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: white; font-weight: bold; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 1.5pt; border-bottom-color: white; background-color: #4f81bd;" width="100"&gt;Kolom label&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: white; font-weight: bold; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 1.5pt; border-bottom-color: white; background-color: #4f81bd;" width="288"&gt;kolom Expression&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: white; font-weight: bold; font-family: Arial; border-style: none none solid; border-bottom-width: 1.5pt; border-bottom-color: white; background-color: #4f81bd;" width="118"&gt;Kolom formaat&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="72" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;Actual&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;Omzet&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;Omzet&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;" width="288"&gt;sum( {&amp;lt;&lt;BR /&gt; [Verdichting1]= {'Total Revenue from Services'},&lt;BR /&gt; [F einddatum]={"$(=$(=$(getMaxDate('P&amp;lt;-&amp;gt;(P-1)'))))"}&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; [#Transact bedrag])&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none none solid; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;#.##0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="65" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;Actual&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;Marge&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;Marge&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;" width="288"&gt;sum( {&amp;lt;&lt;BR /&gt; [Exec P&amp;amp;L Heading]= {'Gross Profit'},&lt;BR /&gt; [F einddatum]={"$(=$(=$(getMaxDate('P&amp;lt;-&amp;gt;(P-1)'))))"}&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; [#Transact bedrag])&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none none solid; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;#.##0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;Actual&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;Kosten&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;Kosten&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;" width="288"&gt;$(=only({&amp;lt;Sectie = {'Actual'},[Kolom naam] = {'Marge'}&amp;gt;}[kolom Expression])) - $(=only({&amp;lt;Sectie = {'Actual'},[Kolom naam] = {'Resultaat'}&amp;gt;}[kolom Expression]))&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none none solid; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;#.##0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="52" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;Actual&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;Resultaat&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;Resultaat&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;" width="288"&gt;sum( {&amp;lt;&lt;BR /&gt; [Exec P&amp;amp;L Heading] = {'Income before taxes'},&lt;BR /&gt; [F einddatum]={"$(=$(=$(getMaxDate('P&amp;lt;-&amp;gt;(P-1)'))))"}&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; [#Transact bedrag]) &lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none none solid; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;#.##0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="35" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;Actual&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;FTE&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;FTE&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;" width="288"&gt;sum( {&amp;lt;&lt;BR /&gt; [F einddatum]={"$(=$(=$(getMaxDate('P&amp;lt;-&amp;gt;(P-1)'))))"}&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; [# totaal FTE]) &lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none none solid; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;#.##0,0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="67" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #b8cce4;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;Actual&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;Ebit%&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;Ebit%&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;" width="288"&gt;$(=only({&amp;lt;Sectie = {'Actual'},[Kolom naam] = {'Resultaat'}&amp;gt;}[kolom Expression])) / $(=only({&amp;lt;Sectie = {'Actual'},[Kolom naam] = {'Omzet'}&amp;gt;}[kolom Expression]))&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 10pt; color: black; font-family: Arial; border-style: none none solid; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #dbe5f1;"&gt;#.##0,0%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="136" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Budget&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Omzet&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Omzet&lt;/TD&gt;&lt;TD class="xl69" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;" width="288"&gt;sum( {&amp;lt;&lt;BR /&gt; [Verdichting1]= {'Total Revenue from Services'},&lt;BR /&gt; [F einddatum]={"$(=$(=$(getMaxDate('P&amp;lt;-&amp;gt;(P-1)'))))"}&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; #Budget) &lt;BR /&gt; &lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none none solid; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;#.##0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="119" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Budget&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Marge&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Marge&lt;/TD&gt;&lt;TD class="xl69" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;" width="288"&gt;sum( {&amp;lt;&lt;BR /&gt; [Exec P&amp;amp;L Heading]= {'Gross Profit'},&lt;BR /&gt; [F einddatum]={"$(=$(=$(getMaxDate('P&amp;lt;-&amp;gt;(P-1)'))))"}&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; #Budget)&lt;BR /&gt; &lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none none solid; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;#.##0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Budget&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Kosten&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Kosten&lt;/TD&gt;&lt;TD class="xl69" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;" width="288"&gt;$(=only({&amp;lt;Sectie = {'Budget'},[Kolom naam] = {'Marge'}&amp;gt;}[kolom Expression])) - $(=only({&amp;lt;Sectie = {'Budget'},[Kolom naam] = {'Resultaat'}&amp;gt;}[kolom Expression]))&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none none solid; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;#.##0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="136" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Budget&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Resultaat&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Resultaat&lt;/TD&gt;&lt;TD class="xl69" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;" width="288"&gt;sum( {&amp;lt;&lt;BR /&gt; [Exec P&amp;amp;L Heading] = {'Income before taxes'},&lt;BR /&gt; [F einddatum]={"=$(=$(=$(getMaxDate('P&amp;lt;-&amp;gt;(P-1)'))))"}&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; #Budget) &lt;BR /&gt; &lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none none solid; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;#.##0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="85" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;Budget&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;FTE&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;FTE&lt;/TD&gt;&lt;TD class="xl69" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid solid none; border-right-width: 0.5pt; border-right-color: white; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;" width="288"&gt;sum( {&amp;lt;&lt;BR /&gt; [F einddatum]={"$(=$(=$(getMaxDate('P&amp;lt;-&amp;gt;(P-1)'))))"}&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; [# totaal FTE]) &lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none none solid; border-bottom-width: 0.5pt; border-bottom-color: white; background-color: #ffc000;"&gt;#.##0,0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid none none; border-right-width: 0.5pt; border-right-color: white; background-color: #ffc000;"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid none none; border-right-width: 0.5pt; border-right-color: white; background-color: #ffc000;"&gt;Budget&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid none none; border-right-width: 0.5pt; border-right-color: white; background-color: #ffc000;"&gt;Ebit%&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid none none; border-right-width: 0.5pt; border-right-color: white; background-color: #ffc000;"&gt;Ebit%&lt;/TD&gt;&lt;TD class="xl69" style="font-size: 10pt; color: black; font-family: Arial; border-style: none solid none none; border-right-width: 0.5pt; border-right-color: white; background-color: #ffc000;" width="288"&gt;$(=only({&amp;lt;Sectie = {'Budget'},[Kolom naam] = {'Resultaat'}&amp;gt;}[kolom Expression])) / $(=only({&amp;lt;Sectie = {'Budget'},[Kolom naam] = {'Omzet'}&amp;gt;}[kolom Expression]))&lt;/TD&gt;&lt;TD class="xl68" style="font-size: 10pt; color: black; font-family: Arial; border: none; background-color: #ffc000;"&gt;#.##0,0%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rendering the expression in the pivot chart shows the right expression in the right place&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="41220" alt="Knipsel.PNG" class="jive-image-thumbnail jive-image" height="240" src="https://community.qlik.com/legacyfs/online/41220_Knipsel.PNG" style="height: 240px; width: 837.2093023255813px;" width="837" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Pivot setup&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Dimensions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1.RPT_dim_hdr (The king field group, CNIT, ect...)&lt;/P&gt;&lt;P&gt;2.Rpt sectie (Actual, Budget)&lt;/P&gt;&lt;P&gt;3.Kolom naam (Omzet, Kosten, Marge, ect...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[kolom Expression]&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i try to evaluate the expression, &lt;/P&gt;&lt;P&gt;$(=[kolom Expression]) I get nothing...&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can this actually be done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dror&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 11:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluating-Expression-in-PivotTable/m-p/470807#M175878</guid>
      <dc:creator />
      <dc:date>2013-05-17T11:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating Expression in PivotTable</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluating-Expression-in-PivotTable/m-p/470808#M175879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dror,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you solve this question? I have the same problem, when I try to evaluate the expressione with $(=Only(Formula)) Qlikview write null value. If I write Only(Formula) I look the formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have try to write expression $(=Formula) but this not work, it work only if I select a single value for Classificazione and Categorizzazione.&lt;/P&gt;&lt;P&gt;I tried to write the expression Count(Formula) to test how expression it have for single cell and I receive always 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I add my application files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Luca Jonathan Panetta&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.pljsoftware.com/"&gt;PLJ Software&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 15:59:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluating-Expression-in-PivotTable/m-p/470808#M175879</guid>
      <dc:creator>pljsoftware</dc:creator>
      <dc:date>2014-11-12T15:59:26Z</dc:date>
    </item>
  </channel>
</rss>

