<?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: Count different values over dimensions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Count-different-values-over-dimensions/m-p/1580231#M42363</link>
    <description>&lt;P&gt;Works perfect,&lt;/P&gt;&lt;P&gt;Thanks a lot for your help!.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jose.&lt;/P&gt;</description>
    <pubDate>Wed, 15 May 2019 07:10:25 GMT</pubDate>
    <dc:creator>josemaria_cabre</dc:creator>
    <dc:date>2019-05-15T07:10:25Z</dc:date>
    <item>
      <title>Count different values over dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Count-different-values-over-dimensions/m-p/1579878#M42343</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;Let's imagine we have this table, where every dimension can contain different values from 0 to 5:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tbl1.png" style="width: 412px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11994i15AE081F4CC67364/image-size/large?v=v2&amp;amp;px=999" role="button" title="tbl1.png" alt="tbl1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And we want to get another table, that counts how many times each value appears on corresponding dimension:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tbl2.png" style="width: 412px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11996i5AEC1A512931979E/image-size/large?v=v2&amp;amp;px=999" role="button" title="tbl2.png" alt="tbl2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How can I get the dimension 'Value'?, and how do I count appereances of each value on this new dimension?&lt;/P&gt;&lt;P&gt;How can I add totals to this table as well?&lt;/P&gt;&lt;P&gt;I tried to do something like&amp;nbsp;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Dim1 = {'0'}&amp;gt;} DISTINCT ID)&lt;/P&gt;&lt;P&gt;but this involves creating a different expression for each value and for each dimension.&amp;nbsp; I'm sure there must be an easier way to achieve my pretending table.&lt;/P&gt;&lt;P&gt;Can anyone help with this?&amp;nbsp;I'm attaching a .qvf file with this example dimensions and values.&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Jose.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:50:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-different-values-over-dimensions/m-p/1579878#M42343</guid>
      <dc:creator>josemaria_cabre</dc:creator>
      <dc:date>2024-11-16T05:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Count different values over dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Count-different-values-over-dimensions/m-p/1579926#M42349</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Using Crosstable in scripting, you will get the output.&lt;/P&gt;&lt;P&gt;Attaching the qvf and output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sonu Sagar&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 13:03:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-different-values-over-dimensions/m-p/1579926#M42349</guid>
      <dc:creator>sonusagar</dc:creator>
      <dc:date>2019-05-14T13:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Count different values over dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Count-different-values-over-dimensions/m-p/1580231#M42363</link>
      <description>&lt;P&gt;Works perfect,&lt;/P&gt;&lt;P&gt;Thanks a lot for your help!.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jose.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 07:10:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-different-values-over-dimensions/m-p/1580231#M42363</guid>
      <dc:creator>josemaria_cabre</dc:creator>
      <dc:date>2019-05-15T07:10:25Z</dc:date>
    </item>
  </channel>
</rss>

