<?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: Fill data/zero instead of NULL with a data action - sap analytics cloud in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/fill-data-zero-instead-of-null-with-a-data-action-sap-analytics-cloud/qaa-p/12461568#M4667688</link>
    <description>&lt;P&gt;Hi Deb,&lt;/P&gt;&lt;P&gt;for me it worked with a "1", but not with the "0".  &lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Hartmut&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jun 2021 04:50:15 GMT</pubDate>
    <dc:creator>hartmut_koerner</dc:creator>
    <dc:date>2021-06-08T04:50:15Z</dc:date>
    <item>
      <title>Fill data/zero instead of NULL with a data action - sap analytics cloud</title>
      <link>https://community.sap.com/t5/technology-q-a/fill-data-zero-instead-of-null-with-a-data-action-sap-analytics-cloud/qaq-p/12461567</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
  &lt;P&gt;I want to fill a number (usually 0 or 1, in this case zero) in a range of unbooked data.&lt;BR /&gt;the script I wrote is'&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;IF RESULTLOOKUP([d/ACCOUNT] = "QUANTITY")=NULL
THEN
DATA([d/ACCOUNT] ="QUANTITY") = 0 
ENDIF
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;I have few IFs and Memberset that focus my data action of course, but this part of the formula just don't work.&lt;BR /&gt;I tried with "1" it didn't work either&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;is it possible to fill with a data action a NULL range???&lt;/P&gt;
  &lt;P&gt;thanks&lt;/P&gt;
  &lt;P&gt;Deb&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 04:23:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/fill-data-zero-instead-of-null-with-a-data-action-sap-analytics-cloud/qaq-p/12461567</guid>
      <dc:creator>Deb_</dc:creator>
      <dc:date>2021-06-08T04:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Fill data/zero instead of NULL with a data action - sap analytics cloud</title>
      <link>https://community.sap.com/t5/technology-q-a/fill-data-zero-instead-of-null-with-a-data-action-sap-analytics-cloud/qaa-p/12461568#M4667688</link>
      <description>&lt;P&gt;Hi Deb,&lt;/P&gt;&lt;P&gt;for me it worked with a "1", but not with the "0".  &lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Hartmut&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 04:50:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/fill-data-zero-instead-of-null-with-a-data-action-sap-analytics-cloud/qaa-p/12461568#M4667688</guid>
      <dc:creator>hartmut_koerner</dc:creator>
      <dc:date>2021-06-08T04:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Fill data/zero instead of NULL with a data action - sap analytics cloud</title>
      <link>https://community.sap.com/t5/technology-q-a/fill-data-zero-instead-of-null-with-a-data-action-sap-analytics-cloud/qaa-p/12461569#M4667689</link>
      <description>&lt;P&gt;but I need a zero..... in this case &lt;BR /&gt;can you help?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 05:50:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/fill-data-zero-instead-of-null-with-a-data-action-sap-analytics-cloud/qaa-p/12461569#M4667689</guid>
      <dc:creator>Deb_</dc:creator>
      <dc:date>2021-06-08T05:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Fill data/zero instead of NULL with a data action - sap analytics cloud</title>
      <link>https://community.sap.com/t5/technology-q-a/fill-data-zero-instead-of-null-with-a-data-action-sap-analytics-cloud/qaa-p/12461570#M4667690</link>
      <description>&lt;P&gt;Hi Deb,&lt;/P&gt;&lt;P&gt;at least with a workaround: For me, the following worked:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF RESULTLOOKUP([d/ACCOUNT]="QUANTITY")= NULL THEN
  DATA([d/ACCOUNT]="QUANTITY") = 1 
  DATA([d/ACCOUNT]="QUANTITY") = RESULTLOOKUP([d/ACCOUNT]="QUANTITY") * 0 
ENDIF
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Best regards&lt;BR /&gt;Hartmut&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 06:12:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/fill-data-zero-instead-of-null-with-a-data-action-sap-analytics-cloud/qaa-p/12461570#M4667690</guid>
      <dc:creator>hartmut_koerner</dc:creator>
      <dc:date>2021-06-08T06:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Fill data/zero instead of NULL with a data action - sap analytics cloud</title>
      <link>https://community.sap.com/t5/technology-q-a/fill-data-zero-instead-of-null-with-a-data-action-sap-analytics-cloud/qaa-p/12461571#M4667691</link>
      <description>&lt;P&gt;I'm gonna try and come back to you  - thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 06:40:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/fill-data-zero-instead-of-null-with-a-data-action-sap-analytics-cloud/qaa-p/12461571#M4667691</guid>
      <dc:creator>Deb_</dc:creator>
      <dc:date>2021-06-08T06:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Fill data/zero instead of NULL with a data action - sap analytics cloud</title>
      <link>https://community.sap.com/t5/technology-q-a/fill-data-zero-instead-of-null-with-a-data-action-sap-analytics-cloud/qaa-p/12461572#M4667692</link>
      <description>&lt;P&gt;Hi Deb,&lt;/P&gt;&lt;P&gt;in the meantime I have find out that this works as designed. Assigning 0 only works for booked data, not for unbooked.&lt;BR /&gt;There is a special handling for "0" in order to prevent the unnecessary creation of 0-records.  &lt;/P&gt;&lt;P&gt;A simpler workaround might be the following, please try it out:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;INTEGER @ZeroVariable
@ZeroVariable=0

IF RESULTLOOKUP([d/ACCOUNT]="QUANTITY")= NULL THEN
  DATA([d/ACCOUNT]="QUANTITY") = @ZeroVariable 
ENDIF&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Best regards&lt;BR /&gt;Hartmut&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 08:51:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/fill-data-zero-instead-of-null-with-a-data-action-sap-analytics-cloud/qaa-p/12461572#M4667692</guid>
      <dc:creator>hartmut_koerner</dc:creator>
      <dc:date>2021-06-08T08:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Fill data/zero instead of NULL with a data action - sap analytics cloud</title>
      <link>https://community.sap.com/t5/technology-q-a/fill-data-zero-instead-of-null-with-a-data-action-sap-analytics-cloud/qaa-p/12461573#M4667693</link>
      <description>&lt;P&gt;Hey Hartmut&lt;BR /&gt; I've tried it on one item only, the DA works very slow, but it seems to work&lt;BR /&gt;thank you very much!!!!&lt;BR /&gt;you saved me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;I'm taking it from here&lt;/P&gt;&lt;P&gt;have a nice day!&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 08:53:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/fill-data-zero-instead-of-null-with-a-data-action-sap-analytics-cloud/qaa-p/12461573#M4667693</guid>
      <dc:creator>Deb_</dc:creator>
      <dc:date>2021-06-08T08:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Fill data/zero instead of NULL with a data action - sap analytics cloud</title>
      <link>https://community.sap.com/t5/technology-q-a/fill-data-zero-instead-of-null-with-a-data-action-sap-analytics-cloud/qaa-p/12461574#M4667694</link>
      <description>&lt;P&gt;Might be more performant to use&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MEMBERSET [d/ACCOUNT]="QUANTITY"
DATA.APPEND()=.00
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Or perhaps you can set this config keyword to let RESULTLOOKUP() statements return zero values.&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CONFIG.GENERATE_UNBOOKED_DATA = ON&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 08 Jun 2021 19:20:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/fill-data-zero-instead-of-null-with-a-data-action-sap-analytics-cloud/qaa-p/12461574#M4667694</guid>
      <dc:creator>JefB</dc:creator>
      <dc:date>2021-06-08T19:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Fill data/zero instead of NULL with a data action - sap analytics cloud</title>
      <link>https://community.sap.com/t5/technology-q-a/fill-data-zero-instead-of-null-with-a-data-action-sap-analytics-cloud/qaa-p/12461575#M4667695</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;DATA([d/ACCOUNT] ="QUANTITY") = 1-1&lt;/P&gt;&lt;P&gt;For some reason we can't book 0 directly...&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 12:54:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/fill-data-zero-instead-of-null-with-a-data-action-sap-analytics-cloud/qaa-p/12461575#M4667695</guid>
      <dc:creator>former_member341535</dc:creator>
      <dc:date>2021-06-14T12:54:18Z</dc:date>
    </item>
  </channel>
</rss>

