<?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 Dimension values &amp; summing them in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Grouping-Dimension-values-summing-them/m-p/83319#M5541</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This has to be in the load script, I assume you have some field from source data indicating which GL_number is operation which is not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Source_field='Operational','Operatioal','Not operation') as GL_Categoty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are looking for just front end solution for convenience purpose, I would go for defining variable and use that variable in the expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Feb 2018 20:58:28 GMT</pubDate>
    <dc:creator>Digvijay_Singh</dc:creator>
    <dc:date>2018-02-09T20:58:28Z</dc:date>
    <item>
      <title>Grouping Dimension values &amp; summing them</title>
      <link>https://community.qlik.com/t5/App-Development/Grouping-Dimension-values-summing-them/m-p/83316#M5538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am summing the balances of the five digit GL numbers in the below example.&amp;nbsp; My goal is to somehow group those separate GL numbers and complete the same calculation.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;GL_NBR={'*90115-*','*90210-*','*90220-*','*90225-*','*90230-*','*90233-*','*90235-*','*90240-*','*90260-*','*90270-*','*90280-*','*90290-*','*90320-*','*90310-*','*90315-*','*90330-*',&lt;/P&gt;&lt;P&gt;'*90340-*','*90370-*','*90380-*','*90390-*','*90395-*','*90405-*','*90410-*','*90415-*','*90419-*','*90420-*','*90425-01-11*','*90426-01-11*','*90425-05-11*','*90426-05-11*','*90251-*',&lt;/P&gt;&lt;P&gt;'*90350-*','*90585-*','*90595-*','*90590-*','*90591-*','*90600-*','*90610-*','*90620-*','*90435-*','*90630-*'}&amp;gt;} "GL_BAL_01")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those 5 digit numbers represent the GL numbers associated with our operational expenses and I was wondering if there is a way to group them together so I could do calculations with the group, but take up less text in the Expression Editor. I was imagining grouping them as 'Operational' and then doing the same sum calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;sum({&amp;lt;GL_NBR={'*Operational&lt;SPAN style="font-size: 13.3333px;"&gt;*'}&amp;gt;} "GL_BAL_01")&amp;nbsp; or something that would return the same value as the above calculation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2018 20:18:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grouping-Dimension-values-summing-them/m-p/83316#M5538</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-09T20:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping Dimension values &amp; summing them</title>
      <link>https://community.qlik.com/t5/App-Development/Grouping-Dimension-values-summing-them/m-p/83317#M5539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is quite possible, all you need to do is to create a new field(GL_Category) while loading GL numbers, that will allow you to use the category in the expression as - &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;GL_Category={'Operational&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;'}&amp;gt;} "GL_BAL_01")&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2018 20:22:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grouping-Dimension-values-summing-them/m-p/83317#M5539</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-02-09T20:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping Dimension values &amp; summing them</title>
      <link>https://community.qlik.com/t5/App-Development/Grouping-Dimension-values-summing-them/m-p/83318#M5540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would be the syntax for making that new field? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2018 20:25:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grouping-Dimension-values-summing-them/m-p/83318#M5540</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-09T20:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping Dimension values &amp; summing them</title>
      <link>https://community.qlik.com/t5/App-Development/Grouping-Dimension-values-summing-them/m-p/83319#M5541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This has to be in the load script, I assume you have some field from source data indicating which GL_number is operation which is not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Source_field='Operational','Operatioal','Not operation') as GL_Categoty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are looking for just front end solution for convenience purpose, I would go for defining variable and use that variable in the expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2018 20:58:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grouping-Dimension-values-summing-them/m-p/83319#M5541</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-02-09T20:58:28Z</dc:date>
    </item>
  </channel>
</rss>

