<?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: Data distribution in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-distribution/m-p/1579194#M598231</link>
    <description>&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Type= 'T1', Sum({&amp;lt;Type= {'T1'}&amp;gt;} P*Z), I&lt;/STRONG&gt;&lt;STRONG&gt;f(Type= 'T2', Sum({&amp;lt;Type= {'T2'}&amp;gt;}P*Z), 1))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Match(Type, 'T1', 'T2')+1,&amp;nbsp;Sum({&amp;lt;Type= {'T1'}&amp;gt;} P*Z), Sum({&amp;lt;Type= {'T2'}&amp;gt;}P*Z), 1)&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 11 May 2019 08:30:59 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2019-05-11T08:30:59Z</dc:date>
    <item>
      <title>Data distribution</title>
      <link>https://community.qlik.com/t5/QlikView/Data-distribution/m-p/1579193#M598229</link>
      <description>&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;I have been searching on the community and have found similar examples but nothing that will quite do what I require.&lt;BR /&gt;&lt;BR /&gt;Benchmark data&lt;BR /&gt;load *&lt;/P&gt;&lt;P&gt;inline&lt;BR /&gt;[&lt;BR /&gt;Product, Type,&amp;nbsp;&amp;nbsp; P,&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; Z&lt;BR /&gt;Banana, T1,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.4&lt;BR /&gt;Banana, T2,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.6&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;Formula for distribution&lt;BR /&gt;if(Type= 'T1', Sum({&amp;lt;Type= {'T1'}&amp;gt;}P)*only({&amp;lt;Type= {'T1'}&amp;gt;}Z),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Type= 'T2', Sum({&amp;lt;Type= {'T2'}&amp;gt;}P)*only({&amp;lt;Type= {'T2'}&amp;gt;}Z)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,1))&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;But I can not distribute where there is no source data.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I will appreciate any help.&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2019 08:23:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-distribution/m-p/1579193#M598229</guid>
      <dc:creator>Denchik</dc:creator>
      <dc:date>2019-05-11T08:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Data distribution</title>
      <link>https://community.qlik.com/t5/QlikView/Data-distribution/m-p/1579194#M598231</link>
      <description>&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Type= 'T1', Sum({&amp;lt;Type= {'T1'}&amp;gt;} P*Z), I&lt;/STRONG&gt;&lt;STRONG&gt;f(Type= 'T2', Sum({&amp;lt;Type= {'T2'}&amp;gt;}P*Z), 1))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Match(Type, 'T1', 'T2')+1,&amp;nbsp;Sum({&amp;lt;Type= {'T1'}&amp;gt;} P*Z), Sum({&amp;lt;Type= {'T2'}&amp;gt;}P*Z), 1)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2019 08:30:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-distribution/m-p/1579194#M598231</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-05-11T08:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Data distribution</title>
      <link>https://community.qlik.com/t5/QlikView/Data-distribution/m-p/1579195#M598233</link>
      <description>&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;It doesn't work either.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2019 08:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-distribution/m-p/1579195#M598233</guid>
      <dc:creator>Denchik</dc:creator>
      <dc:date>2019-05-11T08:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Data distribution</title>
      <link>https://community.qlik.com/t5/QlikView/Data-distribution/m-p/1579196#M598234</link>
      <description>&lt;P&gt;What is the O/P you want to see? and where are you trying?&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2019 08:47:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-distribution/m-p/1579196#M598234</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-05-11T08:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Data distribution</title>
      <link>https://community.qlik.com/t5/QlikView/Data-distribution/m-p/1579198#M598235</link>
      <description>&lt;P&gt;&lt;FONT&gt;&lt;FONT&gt;QlikView 11,20, &lt;/FONT&gt;&lt;/FONT&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;Summary Table&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT&gt;&lt;FONT&gt; . &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT&gt;&lt;FONT&gt;Т1 = 100 * 0,4 = 40 &lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT&gt;&lt;FONT&gt;Т2 = 100 * 0,6 = 60&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2019 09:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-distribution/m-p/1579198#M598235</guid>
      <dc:creator>Denchik</dc:creator>
      <dc:date>2019-05-11T09:15:27Z</dc:date>
    </item>
  </channel>
</rss>

