<?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: Alternate States in Pivot Table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Alternate-States-in-Pivot-Table/m-p/1963660#M79443</link>
    <description>&lt;P&gt;Thanks justISO,&lt;BR /&gt;&lt;BR /&gt;Specifically with this bit of code:&lt;BR /&gt;&lt;SPAN&gt;SUM( {State1 &amp;lt;[Deal Status]={'won'}&amp;gt;*&amp;lt;[Deal Active Flag]={'0'}&amp;gt;*&amp;lt;[Deal Opportunity Type]={'Product Opportunity'}&amp;gt;} AGGR(nodistinct [Deal Total Value], Deal_ID))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I want to add up the [Deal Total Value] for all Won, Active = 0, Product Opportunity types.&lt;BR /&gt;I want to be considerate to only count each deal 1 time as the data set can have the deals repeat with another dimension (BU). 95% of deals are tied to 1 BU, but each deal can have up to 4 different BUs (and repeated lines) in the data.&lt;BR /&gt;&lt;BR /&gt;In your example, I'd want to add up Deal A + B to get a result of 200. Deal C and D are lost and Deal E is 'Other' so they all should be ignored. You're example data is slightly different than the actual data as Backend Rebate and Deal Total value should be consistent. Something closer to:&lt;BR /&gt;&lt;BR /&gt;DealID, BU, Deal Backend Rebate, Deal Total Value&lt;BR /&gt;A, BU1, 10, 100&lt;BR /&gt;B, BU1, 10, 100&lt;BR /&gt;B, BU2, 10, 100&lt;BR /&gt;C, BU2, 50, 500&lt;BR /&gt;C, BU3, 50, 500&lt;BR /&gt;C, BU4, 50, 500&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Aug 2022 20:46:32 GMT</pubDate>
    <dc:creator>AndyQuirin1</dc:creator>
    <dc:date>2022-08-02T20:46:32Z</dc:date>
    <item>
      <title>Alternate States in Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Alternate-States-in-Pivot-Table/m-p/1959643#M79088</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;I've got an Alternate States comparison use case for a Sales dashboards that I'm building.&lt;BR /&gt;The team is asking for a single table where they can grab two different groups of dimensions and compare them against a handful of key sales measures.&lt;/P&gt;
&lt;P&gt;Dimensions would be Sales Rep, Region, Deal Closed Date, ID, etc.&lt;/P&gt;
&lt;P&gt;Measures would be Bookings, Gross Margin, Gross Margin %&lt;/P&gt;
&lt;P&gt;They want the table to be structured where they can apply filters for Alternate State Group 1 and Alternate State Group 2.&lt;BR /&gt;Group 1 and Group 2 would be the only columns in the table.&lt;BR /&gt;Bookings, Gross Margin, and Gross Margin % would be the measures and make up the rows of the table.&lt;BR /&gt;Something like:&lt;/P&gt;
&lt;P&gt;-----------------------------|---&amp;lt;Group 1&amp;gt; ---|---&amp;lt;Group 2&amp;gt;---|&lt;BR /&gt;---------------------------------------------------------------------------&lt;BR /&gt;Bookings |---------------|-------$$$---------|-------$$$--------|&lt;BR /&gt;Gross Margin|-----------|-------$$$---------|-------$$$--------|&lt;BR /&gt;GM%|---------------------|-------%%---------|-------%%--------|&lt;/P&gt;
&lt;P&gt;Does this have to happen in a Pivot Table?&lt;BR /&gt;Do you know how I can set all the Group 1 and Group 2 dimensions as the columns?&lt;BR /&gt;&lt;BR /&gt;Thanks for the help!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2022 20:32:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Alternate-States-in-Pivot-Table/m-p/1959643#M79088</guid>
      <dc:creator>AndyQuirin1</dc:creator>
      <dc:date>2022-07-23T20:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate States in Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Alternate-States-in-Pivot-Table/m-p/1959803#M79102</link>
      <description>&lt;P&gt;Hi, how I would do: First I would create separate 'table' for Measures, like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure:
load * inline [
Measure, MeasureNr
Bookings , 1
Gross Margin , 2
GM% , 3 ];&lt;/LI-CODE&gt;
&lt;P&gt;(or you can use ValueList() function, but later you need to define full name of measure, not measure number as I use now).&lt;/P&gt;
&lt;P&gt;In Master Items you create 2 new Alternate States, for example 'State1' and 'State2'.&lt;/P&gt;
&lt;P&gt;You create Pivot table or Simple Table and add 'Measure' as dimension and 2 measures as your Groups 1&amp;amp;2:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="justISO_0-1658733806603.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84964i535FBDC9A8F64D66/image-size/medium?v=v2&amp;amp;px=400" role="button" title="justISO_0-1658733806603.png" alt="justISO_0-1658733806603.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;where 'group1' measure looks like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;if(MeasureNr=1, num( sum({[State1]} bookings),'#,00'),
if(MeasureNr=2, num( sum({[State1]} margin) ,'#,00'),
if(MeasureNr=3, num( sum({[State1]} gm)  ,'#,0%')
)))&lt;/LI-CODE&gt;
&lt;P&gt;and 'group2' looks the same, except with 'State2'. Notice that sum depends on alternate state.&lt;/P&gt;
&lt;P&gt;At last you create 2 filters, but one must be set to 'State1' (menu -&amp;gt;Appearance -&amp;gt;Alternate states) other to 'State2'. So which filter you will use, that group measure will react.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 07:28:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Alternate-States-in-Pivot-Table/m-p/1959803#M79102</guid>
      <dc:creator>justISO</dc:creator>
      <dc:date>2022-07-25T07:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate States in Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Alternate-States-in-Pivot-Table/m-p/1960264#M79144</link>
      <description>&lt;P&gt;Thanks justISO! I'll try it and report back!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 01:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Alternate-States-in-Pivot-Table/m-p/1960264#M79144</guid>
      <dc:creator>AndyQuirin1</dc:creator>
      <dc:date>2022-07-26T01:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate States in Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Alternate-States-in-Pivot-Table/m-p/1962650#M79360</link>
      <description>&lt;P&gt;So I got it partially working! MeasureNr 1 'Bookings' looks to be working great using the syntax below. I'm unable to get MeasureNr 2 'Product Bookings' to return a value (it returns 0 currently).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(MeasureNr=1, //Bookings&lt;BR /&gt;num( &lt;BR /&gt;SUM( {State2 &amp;lt;[Deal Status]={'won'}&amp;gt;*&amp;lt;[Deal Active Flag]={'0'}&amp;gt;} [Adj Total Value]) &lt;BR /&gt;+ &lt;BR /&gt;SUM( {State2 &amp;lt;[Deal Status]={'won'}&amp;gt;*&amp;lt;[Deal Active Flag]={'0'}&amp;gt;} [Adj Backend Rebate])&lt;BR /&gt;,'$#,##0')&lt;/P&gt;
&lt;P&gt;,if(MeasureNr=2, //Product Bookings&lt;BR /&gt;num( &lt;BR /&gt;&lt;BR /&gt;SUM( {State2 &amp;lt;[Deal Status]={'won'}&amp;gt;*&amp;lt;[Deal Active Flag]={'0'}&amp;gt;*&amp;lt;[Deal Opportunity Type]={'Product Opportunity'}&amp;gt;} AGGR( [Deal Total Value], Deal_ID))&lt;BR /&gt;+&lt;BR /&gt;SUM( {State2 &amp;lt;[Deal Status]={'won'}&amp;gt;*&amp;lt;[Deal Active Flag]={'0'}&amp;gt;*&amp;lt;[Deal Opportunity Type]={'Product Opportunity'}&amp;gt;} AGGR( [Deal Backend Rebate], Deal_ID))&lt;BR /&gt;&lt;BR /&gt;,'$#,##0')&lt;BR /&gt;))&lt;/P&gt;
&lt;P&gt;Any idea why the syntax for the second returns a 0?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 03:07:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Alternate-States-in-Pivot-Table/m-p/1962650#M79360</guid>
      <dc:creator>AndyQuirin1</dc:creator>
      <dc:date>2022-08-01T03:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate States in Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Alternate-States-in-Pivot-Table/m-p/1962678#M79364</link>
      <description>&lt;P&gt;For Product Bookings you are aggregating, so probably this is causing some problems. Try to add 'nodistinct' - usually its fix majority of aggr problems:&lt;/P&gt;
&lt;P&gt;SUM( {State2 &amp;lt;[Deal Status]={'won'}&amp;gt;*&amp;lt;[Deal Active Flag]={'0'}&amp;gt;*&amp;lt;[Deal Opportunity Type]={'Product Opportunity'}&amp;gt;} AGGR(&lt;STRONG&gt;nodistinct &lt;/STRONG&gt; [Deal Total Value], Deal_ID))&lt;BR /&gt;+&lt;BR /&gt;SUM( {State2 &amp;lt;[Deal Status]={'won'}&amp;gt;*&amp;lt;[Deal Active Flag]={'0'}&amp;gt;*&amp;lt;[Deal Opportunity Type]={'Product Opportunity'}&amp;gt;} AGGR(&lt;STRONG&gt;nodistinct&lt;/STRONG&gt; [Deal Backend Rebate], Deal_ID))&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 05:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Alternate-States-in-Pivot-Table/m-p/1962678#M79364</guid>
      <dc:creator>justISO</dc:creator>
      <dc:date>2022-08-01T05:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate States in Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Alternate-States-in-Pivot-Table/m-p/1963025#M79388</link>
      <description>&lt;P&gt;Thanks JustISO,&lt;/P&gt;
&lt;P&gt;Very much appreciate the &lt;STRONG&gt;nodistint&lt;/STRONG&gt; tip!&amp;nbsp;&lt;BR /&gt;I've got 14 measures in the table, and it seemed to fix all but 4 of them.&lt;/P&gt;
&lt;P&gt;Here's one for Product Bookings (for opportunities that are products). I was using the AGGR function to make sure each Deal ID was only being counted once. I think now with nodistinct, a deal can be counted more than once if it has multiple rows in the table.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;,if(MeasureNr=2, //Product Bookings&lt;BR /&gt;num( &lt;BR /&gt;&lt;BR /&gt;SUM( {State1 &amp;lt;[Deal Status]={'won'}&amp;gt;*&amp;lt;[Deal Active Flag]={'0'}&amp;gt;*&amp;lt;[Deal Opportunity Type]={'Product Opportunity'}&amp;gt;} AGGR(nodistinct [Deal Total Value], Deal_ID))&lt;BR /&gt;+&lt;BR /&gt;SUM( {State1 &amp;lt;[Deal Status]={'won'}&amp;gt;*&amp;lt;[Deal Active Flag]={'0'}&amp;gt;*&amp;lt;[Deal Opportunity Type]={'Product Opportunity'}&amp;gt;} AGGR(nodistinct [Deal Backend Rebate], Deal_ID))&lt;BR /&gt;&lt;BR /&gt;,'$#,##0')&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Any idea of what I can change to prevent that duplicaiton?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 19:54:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Alternate-States-in-Pivot-Table/m-p/1963025#M79388</guid>
      <dc:creator>AndyQuirin1</dc:creator>
      <dc:date>2022-08-01T19:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate States in Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Alternate-States-in-Pivot-Table/m-p/1963139#M79392</link>
      <description>&lt;P&gt;Let's deconstruct your formula and understand what you are really need to calculate. I made dummy dataset:&lt;/P&gt;
&lt;P&gt;load * inline [&lt;BR /&gt;Deal_ID, Deal Status, Deal Active Flag, Deal Opportunity Type, Deal Backend Rebate, Deal Total Value&lt;BR /&gt;A, won, 0, Product Opportunity, 5, 100&lt;BR /&gt;A, won, 0, Product Opportunity, 10, 100&lt;BR /&gt;B, won, 0, Product Opportunity, 10, 100&lt;BR /&gt;C, lost, 0, Product Opportunity, 10, 100&lt;BR /&gt;D, lost, 0, Product Opportunity, 10, 100&lt;BR /&gt;E, won, 0, Other Opportunity, 10, 100];&lt;/P&gt;
&lt;P&gt;Ignore deal status, flag and type, and only look at deal backend rebate. As you want to 'make sure each Deal ID was only being counted once', which result is correct, according your logic, 55 or 40?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="justISO_0-1659420177317.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/85616iDB6DDDA84C2D88C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="justISO_0-1659420177317.png" alt="justISO_0-1659420177317.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;where formulas are according&lt;/P&gt;
&lt;P&gt;AGGR( SUM( [Deal Backend Rebate]), Deal_ID)&lt;BR /&gt;SUM( AGGR(nodistinct [Deal Backend Rebate], Deal_ID))&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 06:07:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Alternate-States-in-Pivot-Table/m-p/1963139#M79392</guid>
      <dc:creator>justISO</dc:creator>
      <dc:date>2022-08-02T06:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate States in Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Alternate-States-in-Pivot-Table/m-p/1963660#M79443</link>
      <description>&lt;P&gt;Thanks justISO,&lt;BR /&gt;&lt;BR /&gt;Specifically with this bit of code:&lt;BR /&gt;&lt;SPAN&gt;SUM( {State1 &amp;lt;[Deal Status]={'won'}&amp;gt;*&amp;lt;[Deal Active Flag]={'0'}&amp;gt;*&amp;lt;[Deal Opportunity Type]={'Product Opportunity'}&amp;gt;} AGGR(nodistinct [Deal Total Value], Deal_ID))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I want to add up the [Deal Total Value] for all Won, Active = 0, Product Opportunity types.&lt;BR /&gt;I want to be considerate to only count each deal 1 time as the data set can have the deals repeat with another dimension (BU). 95% of deals are tied to 1 BU, but each deal can have up to 4 different BUs (and repeated lines) in the data.&lt;BR /&gt;&lt;BR /&gt;In your example, I'd want to add up Deal A + B to get a result of 200. Deal C and D are lost and Deal E is 'Other' so they all should be ignored. You're example data is slightly different than the actual data as Backend Rebate and Deal Total value should be consistent. Something closer to:&lt;BR /&gt;&lt;BR /&gt;DealID, BU, Deal Backend Rebate, Deal Total Value&lt;BR /&gt;A, BU1, 10, 100&lt;BR /&gt;B, BU1, 10, 100&lt;BR /&gt;B, BU2, 10, 100&lt;BR /&gt;C, BU2, 50, 500&lt;BR /&gt;C, BU3, 50, 500&lt;BR /&gt;C, BU4, 50, 500&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 20:46:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Alternate-States-in-Pivot-Table/m-p/1963660#M79443</guid>
      <dc:creator>AndyQuirin1</dc:creator>
      <dc:date>2022-08-02T20:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate States in Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Alternate-States-in-Pivot-Table/m-p/1963760#M79445</link>
      <description>&lt;P&gt;Now I understood, thanks, and after a short investigation, you are right, in this case nodistinct does change the result. But seems aggregation not only by DealID, but by MeasureNr too, provides result (try it, and notice, that I removed nodistinct here, maybe it is not needed in previous formulas also, if addition of MeasureNr do the trick):&lt;/P&gt;
&lt;P&gt;if(MeasureNr=2, //Product Bookings&lt;BR /&gt;num(&lt;/P&gt;
&lt;P&gt;SUM( {State2 &amp;lt;[Deal Status]={'won'}&amp;gt;*&amp;lt;[Deal Active Flag]={'0'}&amp;gt;*&amp;lt;[Deal Opportunity Type]={'Product Opportunity'}&amp;gt;} AGGR( [Deal Total Value], Deal_ID, &lt;STRONG&gt;MeasureNr&lt;/STRONG&gt;))&lt;BR /&gt;+&lt;BR /&gt;SUM( {State2 &amp;lt;[Deal Status]={'won'}&amp;gt;*&amp;lt;[Deal Active Flag]={'0'}&amp;gt;*&amp;lt;[Deal Opportunity Type]={'Product Opportunity'}&amp;gt;} AGGR( [Deal Backend Rebate], Deal_ID,&lt;STRONG&gt; MeasureNr&lt;/STRONG&gt;))&lt;/P&gt;
&lt;P&gt;,'$#,##0')&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 05:58:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Alternate-States-in-Pivot-Table/m-p/1963760#M79445</guid>
      <dc:creator>justISO</dc:creator>
      <dc:date>2022-08-03T05:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate States in Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Alternate-States-in-Pivot-Table/m-p/1964337#M79488</link>
      <description>&lt;P&gt;Hi justISO,&lt;/P&gt;
&lt;P&gt;Very impressed with incorporating MeasureNr - would never have thought to have done that.&lt;BR /&gt;It solved the calculation for Product Bookings. I've tried it on the other broken calculation and it's still coming up short.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the pre-revised calculation:&lt;BR /&gt;&lt;BR /&gt;,if(MeasureNr=11, //Protect Gross Margin&lt;BR /&gt;num( &lt;BR /&gt;SUM( {State1&amp;lt;[Deal Status]={'won'}&amp;gt;*&amp;lt;[Deal Active Flag]={'0'}&amp;gt;*&amp;lt;[Practice]={'Protect'}&amp;gt;} AGGR(nodistinct [Deal Total Value], Deal_ID))&lt;BR /&gt;+&lt;BR /&gt;SUM( {State1&amp;lt;[Deal Status]={'won'}&amp;gt;*&amp;lt;[Deal Active Flag]={'0'}&amp;gt;*&amp;lt;[Practice]={'Protect'}&amp;gt;} AGGR(nodistinct [Deal Backend Rebate], Deal_ID))&lt;BR /&gt;-&lt;BR /&gt;SUM( {State1&amp;lt;[Deal Status]={'won'}&amp;gt;*&amp;lt;[Deal Active Flag]={'0'}&amp;gt;*&amp;lt;[Practice]={'Protect'}&amp;gt;} AGGR(nodistinct [Deal Total Vendor Cost], Deal_ID))&lt;BR /&gt;-&lt;BR /&gt;SUM( {State1&amp;lt;[Deal Status]={'won'}&amp;gt;*&amp;lt;[Deal Active Flag]={'0'}&amp;gt;*&amp;lt;[Practice]={'Protect'}&amp;gt;} AGGR(nodistinct [Deal Total Service Delivery Cost], Deal_ID))&lt;BR /&gt;,'$#,##0')&lt;BR /&gt;&lt;BR /&gt;I've got to add / subtract Deal Total Value, Backend Rebate, Vendor Cost, and Service Delivery Cost to get the Gross Margin number. I also tried with your revision to look like this:&lt;BR /&gt;&lt;BR /&gt;,if(MeasureNr=11, //Protect Gross Margin&lt;BR /&gt;num( &lt;BR /&gt;SUM( {State1&amp;lt;[Deal Status]={'won'}&amp;gt;*&amp;lt;[Deal Active Flag]={'0'}&amp;gt;*&amp;lt;[Practice]={'Protect'}&amp;gt;} AGGR([Deal Total Value], Deal_ID, MeasureNr))&lt;BR /&gt;+&lt;BR /&gt;SUM( {State1&amp;lt;[Deal Status]={'won'}&amp;gt;*&amp;lt;[Deal Active Flag]={'0'}&amp;gt;*&amp;lt;[Practice]={'Protect'}&amp;gt;} AGGR([Deal Backend Rebate], Deal_ID, MeasureNr))&lt;BR /&gt;-&lt;BR /&gt;SUM( {State1&amp;lt;[Deal Status]={'won'}&amp;gt;*&amp;lt;[Deal Active Flag]={'0'}&amp;gt;*&amp;lt;[Practice]={'Protect'}&amp;gt;} AGGR([Deal Total Vendor Cost], Deal_ID, MeasureNr))&lt;BR /&gt;-&lt;BR /&gt;SUM( {State1&amp;lt;[Deal Status]={'won'}&amp;gt;*&amp;lt;[Deal Active Flag]={'0'}&amp;gt;*&amp;lt;[Practice]={'Protect'}&amp;gt;} AGGR([Deal Total Service Delivery Cost], Deal_ID, MeasureNr))&lt;BR /&gt;,'$#,##0')&lt;/P&gt;
&lt;P&gt;But the numbers are still slightly off. Any idea why this would be different from the previous?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 20:41:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Alternate-States-in-Pivot-Table/m-p/1964337#M79488</guid>
      <dc:creator>AndyQuirin1</dc:creator>
      <dc:date>2022-08-03T20:41:00Z</dc:date>
    </item>
  </channel>
</rss>

