<?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>Question Re: Calculated measure missing, column missing in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/calculated-measure-missing-column-missing/qaa-p/12399961#M4640947</link>
    <description>&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;on question 2, have you checked if 0 supression is enabled? That might be causing this.&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Anna&lt;/P&gt;</description>
    <pubDate>Thu, 29 Apr 2021 18:05:16 GMT</pubDate>
    <dc:creator>AnnaBurkhardt</dc:creator>
    <dc:date>2021-04-29T18:05:16Z</dc:date>
    <item>
      <title>Calculated measure missing, column missing</title>
      <link>https://community.sap.com/t5/technology-q-a/calculated-measure-missing-column-missing/qaq-p/12399960</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Blending on story level:&lt;/STRONG&gt;&lt;EM&gt;&lt;BR /&gt;PrimaryModel&lt;/EM&gt; is a model stored in the SAC&lt;EM&gt;&lt;BR /&gt;SecondaryLiveModel is a Live Connection Model, pulled from S/4HANA 1809FPS02&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Displayed measures:&lt;/STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;SecondaryLiveModel&lt;/EM&gt;&lt;EM&gt;.Stock&lt;BR /&gt;PrimaryModel.Planned&lt;BR /&gt;Difference = SecondaryLiveModel&lt;/EM&gt;&lt;EM&gt;.Stock - PrimaryModel.Planned&lt;/EM&gt; (calculated measure in the story)&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Issue 1&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;In a table, shown in figure 1, two cases exist:&lt;BR /&gt;a) calculated measure is displayed as null where stock exists&lt;BR /&gt;b) calculation where stock=0 returns a difference (e.g. 614)&lt;/P&gt;
  &lt;P&gt; &lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1917633-hlsfz.png" /&gt;&lt;BR /&gt;&lt;EM&gt;Figure1: Calculated measure null (?) where stock exists while calculation on stock=0 returns a difference&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Question 1:&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Is this because of the Units?&lt;/STRONG&gt; I notice "Planned" has no units, while "Stock" has. &lt;/P&gt;
  &lt;P&gt;If Stock is displayed here as "-" indicating the sum evaluates to "0", no unit is given for Stock. &lt;/P&gt;
  &lt;P&gt;It's a "0 something" and that 0 something can be subtracted from 614 something like &lt;EM&gt;614something - 0something = 614something&lt;/EM&gt;?&lt;/P&gt;
  &lt;P&gt;If Stock is displayed as 18ST then &lt;EM&gt;423 something - 18ST&lt;/EM&gt; evaluates to an error, due to incompatible units?&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;1.2&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;If the above asumptions is true, I would understand if this was a general rule. But why is the calculation working out as expected and displaying the values (figure 2)?&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1917634-rdtil.png" /&gt;&lt;EM&gt;Figure 2: Same measures / dimensions as in figure 1, but here all values are displayed.&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;Is the different / inconsistent behaviour of these two widgets due to both widgets being completely differently implemented in the SAC / widgets source code?&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Issue 2:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;(For this example, the filters are changed, so the values are different.)&lt;/P&gt;
  &lt;P&gt;The table further hides the whole column, if Stock is 0:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1917635-3bkxf.png" /&gt;&lt;BR /&gt;&lt;EM&gt;Figure 3: Table lost a column&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;I can imagine this is an intended behaviour and also notice the warning in figure 4. Yes, it's because of the query not returning anything.&lt;BR /&gt;However, to me it looks quite uncommon to lose a whole column off a table only because all its values are 0.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1917636-hpfuj.png" /&gt;&lt;BR /&gt;&lt;EM&gt;Figure 4: Warning&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;I would prefer displaying zeros or at least a "-" instead of nothing.&lt;/P&gt;
  &lt;P&gt;Which makes me wonder about the inconsistent behaviour within the widget itself: In figure 1 it displayed "-" where no stock existed. Why not doing the same on the whole column?&lt;/P&gt;
  &lt;P&gt;Besides a more consistent look of the table, this might solve the next problem: "Differences", the result of the calulation is showing as null on all rows where it should've been showing the same values as in the "Planned" column.&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Question 2: &lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Is it possible to display a column with all zeroes?&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;Besides the more or less direct questions, I would also welcome your opinions and further knowledge thowards these behaviours of SAC. &lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 16:39:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/calculated-measure-missing-column-missing/qaq-p/12399960</guid>
      <dc:creator>su01</dc:creator>
      <dc:date>2021-04-26T16:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated measure missing, column missing</title>
      <link>https://community.sap.com/t5/technology-q-a/calculated-measure-missing-column-missing/qaa-p/12399961#M4640947</link>
      <description>&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;on question 2, have you checked if 0 supression is enabled? That might be causing this.&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Anna&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 18:05:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/calculated-measure-missing-column-missing/qaa-p/12399961#M4640947</guid>
      <dc:creator>AnnaBurkhardt</dc:creator>
      <dc:date>2021-04-29T18:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated measure missing, column missing</title>
      <link>https://community.sap.com/t5/technology-q-a/calculated-measure-missing-column-missing/qaa-p/12399962#M4640948</link>
      <description>&lt;P&gt;Hi Anna,&lt;/P&gt;&lt;P&gt;this option is not enabled. &lt;/P&gt;&lt;P&gt;Also no difference on Beta table.&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 09:50:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/calculated-measure-missing-column-missing/qaa-p/12399962#M4640948</guid>
      <dc:creator>su01</dc:creator>
      <dc:date>2021-05-03T09:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated measure missing, column missing</title>
      <link>https://community.sap.com/t5/technology-q-a/calculated-measure-missing-column-missing/qaa-p/12399963#M4640949</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;61f6b82abd4545518b1b94585c095600&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;The first behavior you are describing seems like a defect, so I would open a formal ticket for this. &lt;/P&gt;&lt;P&gt;I checked with the second one and the columns not showing up seems to be by design. Therefore I would suggest for you to enter an idea on how to improve this behavior here under the table component: &lt;A href="https://influence.sap.com/sap/ino/#/campaign/884" target="test_blank"&gt;https://influence.sap.com/sap/ino/#/campaign/884&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Anna&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 10:04:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/calculated-measure-missing-column-missing/qaa-p/12399963#M4640949</guid>
      <dc:creator>AnnaBurkhardt</dc:creator>
      <dc:date>2021-05-03T10:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated measure missing, column missing</title>
      <link>https://community.sap.com/t5/technology-q-a/calculated-measure-missing-column-missing/qaa-p/12399964#M4640950</link>
      <description>&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;Can you please try the below step?&lt;/P&gt;&lt;P&gt;issue 1 - &lt;/P&gt;&lt;P&gt;try to remove the unit type from the table (from stock)&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1916868-1.jpg" /&gt;&lt;/P&gt;&lt;P&gt;you are trying to minus 2 different unit types, planned without unit type, and stock with unit type. and so it is not able to do the calculation &lt;/P&gt;&lt;P&gt;Note where stock is null i.e stock unit type is not defined; then only SAC calculates the value, as shown in your above table.&lt;/P&gt;&lt;P&gt;and in the chart you are not using any units type to display stock.&lt;/P&gt;&lt;P&gt;issue no 2.&lt;/P&gt;&lt;P&gt;Note in the above table you don't have any value as zero &lt;/P&gt;&lt;P&gt;the value is shown in the table "-" is a null value in the SAC.&lt;/P&gt;&lt;P&gt;so if you want to filter the table then filter it with stock is null.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Saurabh S.&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 12:52:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/calculated-measure-missing-column-missing/qaa-p/12399964#M4640950</guid>
      <dc:creator>saurabh_sonawane</dc:creator>
      <dc:date>2021-05-03T12:52:06Z</dc:date>
    </item>
  </channel>
</rss>

