<?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: Measuring Two dimensions with same values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Measuring-Two-dimensions-with-same-values/m-p/1569370#M41518</link>
    <description>&lt;P&gt;May be an expression like this&lt;/P&gt;&lt;PRE&gt;If(ValueList('Web', 'Phone', 'Email') = 'Web',
	Count(DISTINCT {&amp;lt;[Source A] = {'Web'}&amp;gt;} Lead_ID),
If(ValueList('Web', 'Phone', 'Email') = 'Phone',
	Count(DISTINCT {&amp;lt;[Source A] = {'Phone'}&amp;gt;} Lead_ID),
If(ValueList('Web', 'Phone', 'Email') = 'Email',
	Count(DISTINCT {&amp;lt;[Source A] = {'Email'}&amp;gt;} Lead_ID))))&lt;/PRE&gt;&lt;P&gt;and&lt;/P&gt;&lt;PRE&gt;If(ValueList('Web', 'Phone', 'Email') = 'Web',
	Count(DISTINCT {&amp;lt;[Source B] = {'Web'}&amp;gt;} Lead_ID),
If(ValueList('Web', 'Phone', 'Email') = 'Phone',
	Count(DISTINCT {&amp;lt;[Source B] = {'Phone'}&amp;gt;} Lead_ID),
If(ValueList('Web', 'Phone', 'Email') = 'Email',
	Count(DISTINCT {&amp;lt;[Source B] = {'Email'}&amp;gt;} Lead_ID))))&lt;/PRE&gt;&lt;P&gt;With this dimension&lt;/P&gt;&lt;PRE&gt;=ValueList('Web', 'Phone', 'Email')&lt;/PRE&gt;</description>
    <pubDate>Mon, 15 Apr 2019 12:01:10 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-04-15T12:01:10Z</dc:date>
    <item>
      <title>Measuring Two dimensions with same values</title>
      <link>https://community.qlik.com/t5/App-Development/Measuring-Two-dimensions-with-same-values/m-p/1569203#M41509</link>
      <description>&lt;P&gt;Hi my friends&lt;/P&gt;&lt;P&gt;I have a table witch include two dimensions with same values (Not specifically on the same rows ).&lt;/P&gt;&lt;P&gt;I need to count rows for every distinct value on this dimensions, Like the example below.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thanks, Sela&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Symmetric difference.png" style="width: 598px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/10178i91D9192892F7E5FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Symmetric difference.png" alt="Symmetric difference.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 07:52:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measuring-Two-dimensions-with-same-values/m-p/1569203#M41509</guid>
      <dc:creator>sela</dc:creator>
      <dc:date>2019-04-15T07:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Measuring Two dimensions with same values</title>
      <link>https://community.qlik.com/t5/App-Development/Measuring-Two-dimensions-with-same-values/m-p/1569279#M41511</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can try below code.&lt;BR /&gt;&lt;BR /&gt;Load&lt;BR /&gt;Lead_id,&lt;BR /&gt;source A as source,&lt;BR /&gt;"A" as flag&lt;BR /&gt;from table&lt;BR /&gt;&lt;BR /&gt;concatenate&lt;BR /&gt;Load&lt;BR /&gt;Lead_id,&lt;BR /&gt;source B as source,&lt;BR /&gt;"B" as flag&lt;BR /&gt;from table&lt;BR /&gt;&lt;BR /&gt;and in expression you can try&lt;BR /&gt;count({&amp;lt;flag="A"&amp;gt;}lead_id)&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Apr 2019 09:35:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measuring-Two-dimensions-with-same-values/m-p/1569279#M41511</guid>
      <dc:creator>miskinmaz</dc:creator>
      <dc:date>2019-04-15T09:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Measuring Two dimensions with same values</title>
      <link>https://community.qlik.com/t5/App-Development/Measuring-Two-dimensions-with-same-values/m-p/1569323#M41512</link>
      <description>&lt;P&gt;Is there any solution with on-the-fly calculation?&lt;/P&gt;&lt;P&gt;I already tried 'Value list'&amp;nbsp; and Set Analysis, But it didn't worked....&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 10:35:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measuring-Two-dimensions-with-same-values/m-p/1569323#M41512</guid>
      <dc:creator>sela</dc:creator>
      <dc:date>2019-04-15T10:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Measuring Two dimensions with same values</title>
      <link>https://community.qlik.com/t5/App-Development/Measuring-Two-dimensions-with-same-values/m-p/1569370#M41518</link>
      <description>&lt;P&gt;May be an expression like this&lt;/P&gt;&lt;PRE&gt;If(ValueList('Web', 'Phone', 'Email') = 'Web',
	Count(DISTINCT {&amp;lt;[Source A] = {'Web'}&amp;gt;} Lead_ID),
If(ValueList('Web', 'Phone', 'Email') = 'Phone',
	Count(DISTINCT {&amp;lt;[Source A] = {'Phone'}&amp;gt;} Lead_ID),
If(ValueList('Web', 'Phone', 'Email') = 'Email',
	Count(DISTINCT {&amp;lt;[Source A] = {'Email'}&amp;gt;} Lead_ID))))&lt;/PRE&gt;&lt;P&gt;and&lt;/P&gt;&lt;PRE&gt;If(ValueList('Web', 'Phone', 'Email') = 'Web',
	Count(DISTINCT {&amp;lt;[Source B] = {'Web'}&amp;gt;} Lead_ID),
If(ValueList('Web', 'Phone', 'Email') = 'Phone',
	Count(DISTINCT {&amp;lt;[Source B] = {'Phone'}&amp;gt;} Lead_ID),
If(ValueList('Web', 'Phone', 'Email') = 'Email',
	Count(DISTINCT {&amp;lt;[Source B] = {'Email'}&amp;gt;} Lead_ID))))&lt;/PRE&gt;&lt;P&gt;With this dimension&lt;/P&gt;&lt;PRE&gt;=ValueList('Web', 'Phone', 'Email')&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Apr 2019 12:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measuring-Two-dimensions-with-same-values/m-p/1569370#M41518</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-04-15T12:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Measuring Two dimensions with same values</title>
      <link>https://community.qlik.com/t5/App-Development/Measuring-Two-dimensions-with-same-values/m-p/1569495#M41522</link>
      <description>&lt;P&gt;Thank you for your ans &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have a long and dynamic list.&lt;/P&gt;&lt;P&gt;Because of that, I need some way to do it without "Ifs".&lt;/P&gt;&lt;P&gt;Is there any way to make it sort and dynamic?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 14:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measuring-Two-dimensions-with-same-values/m-p/1569495#M41522</guid>
      <dc:creator>sela</dc:creator>
      <dc:date>2019-04-15T14:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Measuring Two dimensions with same values</title>
      <link>https://community.qlik.com/t5/App-Development/Measuring-Two-dimensions-with-same-values/m-p/1569544#M41538</link>
      <description>&lt;P&gt;Nope, only way is to transform your data using CrossTable load in the script. Can't think of another easy way to do this&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 16:04:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measuring-Two-dimensions-with-same-values/m-p/1569544#M41538</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-04-15T16:04:16Z</dc:date>
    </item>
  </channel>
</rss>

