<?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 Show Totals for a Dimension on a Straight Table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Show-Totals-for-a-Dimension-on-a-Straight-Table/m-p/2526587#M107250</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a straight table that holds some dimensions that I'm trying to display a count in the totals row.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pedrohenriqueperna_0-1754577491738.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182610iCB0D6F57F9727F9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pedrohenriqueperna_0-1754577491738.png" alt="pedrohenriqueperna_0-1754577491738.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are plenty rows, and I need to count the total displayed in the table. The problem is dimensions don't have a total config/option, only measures. If I use a measure and remove the dimension, my table breaks as there are no dimensions to wrap the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried using Dimensionality(), but it doesn't work, although it displays the dimensions normally through the rows, except the total:&lt;/P&gt;&lt;P&gt;=If(IsNull(dataEntrega),&lt;BR /&gt;If(Dimensionality() = 0, Aggr(Count(id_conhecimento), id_conhecimento), id_conhecimento&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've searched a bit and found out it could work on pivot tables, but I need to use a straight table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a workaround?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Aug 2025 14:41:12 GMT</pubDate>
    <dc:creator>pedrohenriqueperna</dc:creator>
    <dc:date>2025-08-07T14:41:12Z</dc:date>
    <item>
      <title>Show Totals for a Dimension on a Straight Table</title>
      <link>https://community.qlik.com/t5/App-Development/Show-Totals-for-a-Dimension-on-a-Straight-Table/m-p/2526587#M107250</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a straight table that holds some dimensions that I'm trying to display a count in the totals row.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pedrohenriqueperna_0-1754577491738.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182610iCB0D6F57F9727F9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pedrohenriqueperna_0-1754577491738.png" alt="pedrohenriqueperna_0-1754577491738.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are plenty rows, and I need to count the total displayed in the table. The problem is dimensions don't have a total config/option, only measures. If I use a measure and remove the dimension, my table breaks as there are no dimensions to wrap the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried using Dimensionality(), but it doesn't work, although it displays the dimensions normally through the rows, except the total:&lt;/P&gt;&lt;P&gt;=If(IsNull(dataEntrega),&lt;BR /&gt;If(Dimensionality() = 0, Aggr(Count(id_conhecimento), id_conhecimento), id_conhecimento&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've searched a bit and found out it could work on pivot tables, but I need to use a straight table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a workaround?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 14:41:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-Totals-for-a-Dimension-on-a-Straight-Table/m-p/2526587#M107250</guid>
      <dc:creator>pedrohenriqueperna</dc:creator>
      <dc:date>2025-08-07T14:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Show Totals for a Dimension on a Straight Table</title>
      <link>https://community.qlik.com/t5/App-Development/Show-Totals-for-a-Dimension-on-a-Straight-Table/m-p/2526603#M107254</link>
      <description>&lt;P&gt;As a workaround, even though not ideal, you could add the counts to the dimensions' labels, since adding them to the total line for dimensions doesn't seem to be possible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 15:11:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-Totals-for-a-Dimension-on-a-Straight-Table/m-p/2526603#M107254</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2025-08-07T15:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Show Totals for a Dimension on a Straight Table</title>
      <link>https://community.qlik.com/t5/App-Development/Show-Totals-for-a-Dimension-on-a-Straight-Table/m-p/2526609#M107256</link>
      <description>&lt;P&gt;Hi, Oleg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Indeed that's a workaround, but unfortunately it won't fit my needs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply anyway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In case anyone is interested, I've managed to add it by using a CSS helper that I use to edit the css of my dashboards objects. The html structure is the same for dimensions, so I added it using :before. It's far from the ideal, but I can add dynamic values by using variables. It goes something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.sc-dEAvcG div:nth-child(1) div:nth-child(1) div:nth-child(1) div:nth-child(2) div:nth-child(1) div:nth-child(5) span:nth-child(1)::before {&lt;BR /&gt;content: "0"; /you can expand a variable holding the value you wish to display&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;You could also add more css rules to match the other total values style.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 15:52:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-Totals-for-a-Dimension-on-a-Straight-Table/m-p/2526609#M107256</guid>
      <dc:creator>pedrohenriqueperna</dc:creator>
      <dc:date>2025-08-07T15:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Show Totals for a Dimension on a Straight Table</title>
      <link>https://community.qlik.com/t5/App-Development/Show-Totals-for-a-Dimension-on-a-Straight-Table/m-p/2526611#M107258</link>
      <description>&lt;P&gt;Dimensionality works better on Pivot table. Did you try to convert the table to Pivot table with fully expanded and use the dimensionality ?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 16:01:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-Totals-for-a-Dimension-on-a-Straight-Table/m-p/2526611#M107258</guid>
      <dc:creator>vkramBI4Qlik</dc:creator>
      <dc:date>2025-08-07T16:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Show Totals for a Dimension on a Straight Table</title>
      <link>https://community.qlik.com/t5/App-Development/Show-Totals-for-a-Dimension-on-a-Straight-Table/m-p/2532548#M108108</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought about it, but I've had already customized the table too much using the css helper. I'd have had to redo all the work cause the structure and tags and pretty different between them.&lt;/P&gt;&lt;P&gt;I'll have a try next time I need to build something likely. Thanks for the tip&lt;/P&gt;</description>
      <pubDate>Sun, 05 Oct 2025 16:16:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-Totals-for-a-Dimension-on-a-Straight-Table/m-p/2532548#M108108</guid>
      <dc:creator>pedrohenriqueperna</dc:creator>
      <dc:date>2025-10-05T16:16:07Z</dc:date>
    </item>
  </channel>
</rss>

