<?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: Problem with p() in straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-p-in-straight-table/m-p/1563503#M742648</link>
    <description>Ok, I was afraid of that. What you're trying to do is this: &lt;A href="https://community.qlik.com/t5/QlikView-Documents/Evaluating-quot-sets-quot-in-the-context-of-a-dimension/ta-p/1494598" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Documents/Evaluating-quot-sets-quot-in-the-context-of-a-dimension/ta-p/1494598&lt;/A&gt;</description>
    <pubDate>Mon, 01 Apr 2019 13:58:15 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2019-04-01T13:58:15Z</dc:date>
    <item>
      <title>Problem with p() in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-p-in-straight-table/m-p/1563192#M742641</link>
      <description>&lt;DIV class="topic-subject-wrapper"&gt;&lt;DIV class="lia-message-subject lia-component-message-view-widget-subject"&gt;&lt;DIV class="MessageSubject"&gt;&lt;SPAN&gt;Hi there !&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;I hope you can help me.&lt;/P&gt;&lt;P&gt;I habe a straight table with two dimensions (Material_Cat1, Material_Cat2).&lt;/P&gt;&lt;P&gt;I&amp;nbsp;want to calculate the sum of&amp;nbsp;&lt;STRONG&gt;volume&lt;/STRONG&gt; (=space)&amp;nbsp;of all possible delivery notes for Material_Cat2, but I want the total volume of those delivery notes regardless Material_Cat2...&lt;/P&gt;&lt;P&gt;I tried this Expression to get what I want and it works well for Material_Cat2=CE Internet Radio&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;=&lt;FONT color="#0000ff"&gt;sum&lt;/FONT&gt;({&amp;lt;&lt;FONT color="#800000"&gt;Material_Cat1&lt;/FONT&gt;=, &lt;FONT color="#800000"&gt;Material_Cat2&lt;/FONT&gt;=, &lt;FONT color="#800000"&gt;%Deliverynote&lt;/FONT&gt;=&lt;STRONG&gt;&lt;FONT size="3" color="#0000ff"&gt;P&lt;/FONT&gt;&lt;/STRONG&gt;({1&amp;lt;&lt;FONT color="#800000"&gt;Material_Cat2&lt;/FONT&gt;={&lt;FONT color="#800000"&gt;"CE Internet Radio"&lt;/FONT&gt;}&amp;gt;} &lt;FONT color="#800000"&gt;%Deliverynote&lt;/FONT&gt;) &amp;gt;} &lt;FONT color="#0000ff"&gt;TOTAL&lt;/FONT&gt; &lt;FONT color="#800000"&gt;Volumen&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT size="2"&gt;)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline"&gt;&lt;SPAN class="lia-message-image-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2png.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9160i8DCECD72941B433B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2png.png" alt="2png.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT size="3"&gt;Of Course it does't work for the other rows in the table.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Have you an Idea how I could fix and replace&amp;nbsp; ={&lt;STRONG&gt;&lt;FONT color="#800000"&gt;"CE Internet Radio"&lt;/FONT&gt;&lt;/STRONG&gt;} with something which selects &amp;nbsp;the right Material_Cat2 for each row ?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Thank you very much in advance!&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:00:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-p-in-straight-table/m-p/1563192#M742641</guid>
      <dc:creator>haupenthals</dc:creator>
      <dc:date>2024-11-16T04:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with p() in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-p-in-straight-table/m-p/1563207#M742642</link>
      <description>Try: =sum({&amp;lt;Material_Cat1=, Material_Cat2=&amp;gt;} TOTAL &amp;lt;Material_Cat2&amp;gt; Volumen)</description>
      <pubDate>Sun, 31 Mar 2019 15:07:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-p-in-straight-table/m-p/1563207#M742642</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2019-03-31T15:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with p() in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-p-in-straight-table/m-p/1563211#M742643</link>
      <description>&lt;P&gt;Hi Gysbert! Thanks for your suggestion. Unfortunately it doesn‘t work...&lt;BR /&gt;The results in the Chart are the same as if I put&lt;BR /&gt;sum(Volumen).&lt;BR /&gt;&lt;BR /&gt;What I‘m basically doing manually in my app to get the correct value in a Text Box is:&lt;BR /&gt;1) Text Box with expression: sum(Volumen)&lt;BR /&gt;2) select from a list Box one Mateial_Category2, for example „CE IT“&lt;BR /&gt;3) select from a list Box ALL POSSIBLE DeliveryNotes&lt;BR /&gt;4) CANCEL SELECTION In the Material_Category2 list Box&lt;BR /&gt;=&amp;gt; Now I have the Sum of Volume&lt;BR /&gt;-disregarding the category&lt;BR /&gt;-but only for delivery notes which contained at least one article belonging to that category&lt;BR /&gt;&lt;BR /&gt;My wish was to create a straight table with an expression which leads to the same result for all categories at once.&lt;BR /&gt;&lt;BR /&gt;I hope I could explain... Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 31 Mar 2019 17:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-p-in-straight-table/m-p/1563211#M742643</guid>
      <dc:creator>haupenthals</dc:creator>
      <dc:date>2019-03-31T17:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with p() in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-p-in-straight-table/m-p/1563264#M742644</link>
      <description>&lt;PRE&gt;=sum({&amp;lt;Material_Cat1=, Material_Cat2=, %Deliverynote=P({&amp;lt;Material_Cat2=p(Material_Cat2)&amp;gt;} %Deliverynote) &amp;gt;} Volumen)&lt;/PRE&gt;&lt;P&gt;Try the above and check if you need the total keyword or not.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 05:27:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-p-in-straight-table/m-p/1563264#M742644</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-04-01T05:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with p() in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-p-in-straight-table/m-p/1563300#M742645</link>
      <description>&lt;P&gt;Thank you for your Expression - look pretty well with a double p()... It's better than the one I used before &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; For your Information: I used the TOTAL Keyword &amp;nbsp;at the end of the Expression, &amp;nbsp;otherwise nothing is displayed (null)&amp;nbsp;.&lt;/P&gt;&lt;P&gt;Unfortunately it's still not producing the desired result. If I select a Category2 it gives the correct value&amp;nbsp;in the sum row (in the Example Volume should be 40.611,839) - I would like to have it in the CE Internet Radio&amp;nbsp;row below (!)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unbenannt4.png" style="width: 691px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9193i6953126F46316AFD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt4.png" alt="Unbenannt4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As soon as I deselect the category I continue to get right values in the sum, this time over all categories. I would like to see for each category the correct value...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unbenannt2.png" style="width: 710px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9192i3D683906C593EF99/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt2.png" alt="Unbenannt2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 06:46:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-p-in-straight-table/m-p/1563300#M742645</guid>
      <dc:creator>haupenthals</dc:creator>
      <dc:date>2019-04-01T06:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with p() in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-p-in-straight-table/m-p/1563358#M742646</link>
      <description>&lt;P&gt;I am not sure i understand the requirement , can you please elaborate .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please try the below my be&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;=sum({&amp;lt;Material_Cat1=, Material_Cat2=, %Deliverynote=P({&amp;lt;Material_Cat2=p(Material_Cat2)&amp;gt;} %Deliverynote) &amp;gt;} Total &amp;lt;Material_Cat2&amp;gt; Volumen)&lt;/PRE&gt;</description>
      <pubDate>Mon, 01 Apr 2019 09:17:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-p-in-straight-table/m-p/1563358#M742646</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-04-01T09:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with p() in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-p-in-straight-table/m-p/1563492#M742647</link>
      <description>Thanks, but it still doesn't work. I will try another appoach...</description>
      <pubDate>Mon, 01 Apr 2019 13:35:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-p-in-straight-table/m-p/1563492#M742647</guid>
      <dc:creator>haupenthals</dc:creator>
      <dc:date>2019-04-01T13:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with p() in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-p-in-straight-table/m-p/1563503#M742648</link>
      <description>Ok, I was afraid of that. What you're trying to do is this: &lt;A href="https://community.qlik.com/t5/QlikView-Documents/Evaluating-quot-sets-quot-in-the-context-of-a-dimension/ta-p/1494598" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Documents/Evaluating-quot-sets-quot-in-the-context-of-a-dimension/ta-p/1494598&lt;/A&gt;</description>
      <pubDate>Mon, 01 Apr 2019 13:58:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-p-in-straight-table/m-p/1563503#M742648</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2019-04-01T13:58:15Z</dc:date>
    </item>
  </channel>
</rss>

