<?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: Using Total Sum with a calculated dimension Qlik Sense in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Total-Sum-with-a-calculated-dimension-Qlik-Sense/m-p/1762375#M506674</link>
    <description>&lt;P&gt;Is there a way that you can attach, I think since you are using you must use Below() to achieve but If you can share sample application may be I can quick check?&lt;/P&gt;</description>
    <pubDate>Tue, 17 Nov 2020 20:17:30 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2020-11-17T20:17:30Z</dc:date>
    <item>
      <title>Using Total Sum with a calculated dimension Qlik Sense</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Total-Sum-with-a-calculated-dimension-Qlik-Sense/m-p/1762351#M506671</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Total Sum with Calculated Dimension.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/44315iD176431C4CF427F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Total Sum with Calculated Dimension.PNG" alt="Total Sum with Calculated Dimension.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Good Afternoon!&amp;nbsp; I really enjoy having this forum and looking through all of the questions throughout time.&lt;/P&gt;&lt;P&gt;In the picture, I am trying to use Member Months Fraction in a calculation at the Total level in each of the buckets.&amp;nbsp; The table on the left has Member Months Fraction in each of the cells.&amp;nbsp; I want that number to be 667,190 in every cell. When I use Total like on the table on the right, all of the member months fall into the Null() number of visits.&lt;/P&gt;&lt;P&gt;How do I use that 667k total across all cells?&lt;/P&gt;&lt;P&gt;The dimension that I am using takes a field called visits and counts up the number of visits someone has and buckets them into the ranges.&amp;nbsp; I am using set analysis in that measure because I want specific types of visits.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not have access to the data model and only have access to the front end.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate anyone's thoughts!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Total-Sum-with-a-calculated-dimension-Qlik-Sense/m-p/1762351#M506671</guid>
      <dc:creator>brentski</dc:creator>
      <dc:date>2024-11-16T17:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using Total Sum with a calculated dimension Qlik Sense</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Total-Sum-with-a-calculated-dimension-Qlik-Sense/m-p/1762357#M506672</link>
      <description>&lt;P&gt;First thing you remove Aggr() and then you should use&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;FieldName&amp;gt; Measure)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If you use&amp;nbsp;&lt;STRONG&gt;Sum(TOTAL {&amp;lt;FieldName&amp;gt;} Measure)&amp;nbsp;&lt;/STRONG&gt;It always ignores the field since identifier by analysis&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 19:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Total-Sum-with-a-calculated-dimension-Qlik-Sense/m-p/1762357#M506672</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2020-11-17T19:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using Total Sum with a calculated dimension Qlik Sense</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Total-Sum-with-a-calculated-dimension-Qlik-Sense/m-p/1762372#M506673</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Total Sum with Calculated Dimension No AGGR.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/44317i995442E45A110AA2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Total Sum with Calculated Dimension No AGGR.PNG" alt="Total Sum with Calculated Dimension No AGGR.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I gave it a shot and it doesn't seem to respect the Total function.&amp;nbsp; I got the same results as before.&amp;nbsp; I wonder if the calculated dimension is messing with the total somehow.&lt;/P&gt;&lt;P&gt;To say it in words, I want all of the member months associated with the year to be in every visit cohort.&amp;nbsp; My goal is to calculated a visits per 1,000 which is the number of visits/total member months*12000&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 20:14:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Total-Sum-with-a-calculated-dimension-Qlik-Sense/m-p/1762372#M506673</guid>
      <dc:creator>brentski</dc:creator>
      <dc:date>2020-11-17T20:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using Total Sum with a calculated dimension Qlik Sense</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Total-Sum-with-a-calculated-dimension-Qlik-Sense/m-p/1762375#M506674</link>
      <description>&lt;P&gt;Is there a way that you can attach, I think since you are using you must use Below() to achieve but If you can share sample application may be I can quick check?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 20:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Total-Sum-with-a-calculated-dimension-Qlik-Sense/m-p/1762375#M506674</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2020-11-17T20:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using Total Sum with a calculated dimension Qlik Sense</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Total-Sum-with-a-calculated-dimension-Qlik-Sense/m-p/1762380#M506675</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Total Sum with Calculated Dimension no break.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/44319iAF52F7D8983582F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Total Sum with Calculated Dimension no break.PNG" alt="Total Sum with Calculated Dimension no break.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is the same table and just using Sum(Total Member Months).&amp;nbsp; It places all 3 years of member months in each cell.&amp;nbsp; If I change the expression to Sum(Total &amp;lt;Incurred Year&amp;gt; Member Months) it puts all of the numbers just like in the original image where they are the fraction of the 670k.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 20:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Total-Sum-with-a-calculated-dimension-Qlik-Sense/m-p/1762380#M506675</guid>
      <dc:creator>brentski</dc:creator>
      <dc:date>2020-11-17T20:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using Total Sum with a calculated dimension Qlik Sense</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Total-Sum-with-a-calculated-dimension-Qlik-Sense/m-p/1762381#M506676</link>
      <description>&lt;P&gt;I meant to do workshop in your application not the same image ..&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 20:23:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Total-Sum-with-a-calculated-dimension-Qlik-Sense/m-p/1762381#M506676</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2020-11-17T20:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using Total Sum with a calculated dimension Qlik Sense</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Total-Sum-with-a-calculated-dimension-Qlik-Sense/m-p/1762389#M506677</link>
      <description>&lt;P&gt;sorry, I cannot post the application.&amp;nbsp; We are in a hosted and restricted environment which is often why I find myself in these predicaments.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the Calculated dimension(maybe that will help):&lt;/P&gt;&lt;P&gt;=AGGR(if(sum({$&amp;lt;[Service Category Code]={PR}&lt;BR /&gt;, [Place of Service]={'11 Office','22 Outpatient Hospital - On Campus'}&lt;/P&gt;&lt;P&gt;, [Plan Service Provider Specialty Code]-={'01', '08', '11', '16', '23', '37', '96', 'AN', 'D8', 'NP'}&lt;BR /&gt;, [Procedure Code (CPT/HCPCS)]={'99201', '99202', '99203', '99204', '99205', '99211', '99212', '99213', '99214', '99215', '99381', '99382', '99383', '99384', '99385', '99386', '99387', '99391', '99392', '99393', '99394', '99395', '99396', '99397', '99401', '99402', '99406', '99407', '99408', 'S0610', 'S0612', 'S0613', '99241', '99242', '99243','99244','99245'}&lt;/P&gt;&lt;P&gt;&amp;gt;}Visits)&amp;gt;4,'5+',if(sum({$&amp;lt;[Service Category Code]={PR}&lt;BR /&gt;, [Place of Service]={'11 Office','22 Outpatient Hospital - On Campus'}&lt;/P&gt;&lt;P&gt;, [Plan Service Provider Specialty Code]-={'01', '08', '11', '16', '23', '37', '96', 'AN', 'D8', 'NP'}&lt;BR /&gt;, [Procedure Code (CPT/HCPCS)]={'99201', '99202', '99203', '99204', '99205', '99211', '99212', '99213', '99214', '99215', '99381', '99382', '99383', '99384', '99385', '99386', '99387', '99391', '99392', '99393', '99394', '99395', '99396', '99397', '99401', '99402', '99406', '99407', '99408', 'S0610', 'S0612', 'S0613', '99241', '99242', '99243','99244','99245'}&lt;/P&gt;&lt;P&gt;&amp;gt;}Visits)=1,'1 Visit','2-4 Visits') ), [Incurred Year],[Member ID])&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 20:36:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Total-Sum-with-a-calculated-dimension-Qlik-Sense/m-p/1762389#M506677</guid>
      <dc:creator>brentski</dc:creator>
      <dc:date>2020-11-17T20:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using Total Sum with a calculated dimension Qlik Sense</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Total-Sum-with-a-calculated-dimension-Qlik-Sense/m-p/1762398#M506678</link>
      <description>&lt;P&gt;Anil,&lt;/P&gt;&lt;P&gt;Thank you so much for your help.&amp;nbsp; I have found a solution based on an old old thread.&amp;nbsp; It is not elegant but it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rangesum(first(sum(total&amp;lt;[Incurred Year]&amp;gt;[Member Months Fraction]),1,NoOfColumns()))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 20:59:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Total-Sum-with-a-calculated-dimension-Qlik-Sense/m-p/1762398#M506678</guid>
      <dc:creator>brentski</dc:creator>
      <dc:date>2020-11-17T20:59:01Z</dc:date>
    </item>
  </channel>
</rss>

