<?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: Grouping data in straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Grouping-data-in-straight-table/m-p/976499#M333759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this should work for you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count( DISTINCT TOTAL &amp;lt;News&amp;gt; RecordID )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Oct 2015 09:55:42 GMT</pubDate>
    <dc:creator>petter</dc:creator>
    <dc:date>2015-10-01T09:55:42Z</dc:date>
    <item>
      <title>Grouping data in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-data-in-straight-table/m-p/976495#M333755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dynamic straight table with few dimensions and measures.&lt;/P&gt;&lt;P&gt;In my data schema, I have a field called "News" which have few values, like: "Sports", "Economics", etc.&lt;/P&gt;&lt;P&gt;I'd like to add an expression field to my straight table, which will show for each value in "News", how many records exists for this value.&lt;/P&gt;&lt;P&gt;For example, If I filter my data for October 2015, I'll see: "Sports (30 records), Economics (50 records)" with regard to this dimension and other dimensions selected in this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use aggr() function in my straight table, but it doesn't work since I don't know in advance which dimensions will be selected in the straight table (Users can add / remove dimensions)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 08:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-data-in-straight-table/m-p/976495#M333755</guid>
      <dc:creator />
      <dc:date>2015-10-01T08:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping data in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-data-in-straight-table/m-p/976496#M333756</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;can you provide a sample app, so that it is simpler for us to understand?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Patric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 09:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-data-in-straight-table/m-p/976496#M333756</guid>
      <dc:creator>pamaxeed</dc:creator>
      <dc:date>2015-10-01T09:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping data in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-data-in-straight-table/m-p/976497#M333757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Resolution would actually depend on how you are defining (expression) dimension to make it dynamic. Try to share your sample qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 09:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-data-in-straight-table/m-p/976497#M333757</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-10-01T09:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping data in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-data-in-straight-table/m-p/976498#M333758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yehuda, If the user selects the dimensions from a field you can try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concat(Aggr(News &amp;amp; '(' &amp;amp; Count(News) &amp;amp; 'records)', $(=GetFieldSelections(DimensionSelectorFieldName)), News), ',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not tested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 09:39:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-data-in-straight-table/m-p/976498#M333758</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-10-01T09:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping data in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-data-in-straight-table/m-p/976499#M333759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this should work for you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count( DISTINCT TOTAL &amp;lt;News&amp;gt; RecordID )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 09:55:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-data-in-straight-table/m-p/976499#M333759</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-01T09:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping data in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-data-in-straight-table/m-p/976500#M333760</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;An example is attached. The text box is the desired field (result) I want in my table.&lt;/P&gt;&lt;P&gt;Please take into account that there might be more dimensions which can be in the main table and the straight table (not only Date_Id &amp;amp; Month_Id).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 11:04:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-data-in-straight-table/m-p/976500#M333760</guid>
      <dc:creator />
      <dc:date>2015-10-01T11:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping data in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-data-in-straight-table/m-p/976501#M333761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, you'll need some dynamic aggr(), check attachment to see a possible solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 11:56:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-data-in-straight-table/m-p/976501#M333761</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-10-01T11:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping data in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-data-in-straight-table/m-p/976502#M333762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to adjust the fields mentioned after total within the &amp;lt;&amp;gt; according to the dimensions you include in your chart. So giving a fixed expression for you when you say that "there might be more dimensions" makes it impossible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr() will maybe not be necssary - and should be avoided if you can- unless you want to aggregate on more dimensions than the ones that are used in your chart. TOTAL is the most efficient solution but is relies on you being able to include only the dimensions from the chart that will give you the right level of total.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 12:07:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-data-in-straight-table/m-p/976502#M333762</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-01T12:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping data in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-data-in-straight-table/m-p/976503#M333763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be simply like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim: News&lt;/P&gt;&lt;P&gt;Exp: Count(News)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 12:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-data-in-straight-table/m-p/976503#M333763</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-10-01T12:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping data in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-data-in-straight-table/m-p/976504#M333764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what I was looking for.&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 13:06:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-data-in-straight-table/m-p/976504#M333764</guid>
      <dc:creator />
      <dc:date>2015-10-01T13:06:36Z</dc:date>
    </item>
  </channel>
</rss>

