<?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: WebI: Previous Function with Condition in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830542#M268034</link>
    <description>&lt;P&gt;Hi Davide,&lt;/P&gt;&lt;P&gt;OK, I can see what you mean with excluding the Y flags from the calculation. However, 20190205 is not the current date in my example above. In your initial question you state you need the value 1 to be set where the current date flag is equal to N plus the consecutive two previous flags are equal to N as well.&lt;/P&gt;&lt;P&gt;Your comment suggests that you no longer need this against the &lt;STRONG&gt;current&lt;/STRONG&gt; date flag only but a (any?) previous date disregarding preceding Y flags (i.e. no longer only the previous 2 consecutive dates) plus &lt;STRONG&gt;any &lt;/STRONG&gt;combination of preceding N flags. This would automatically set the value 1 next to any date with flag = N except for the first two dates bearing an N flag:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/273506-748872b.png" /&gt;&lt;/P&gt;&lt;P&gt;If this is what you want to achieve then you can simply use the formula:&lt;/P&gt;&lt;P&gt;=If((RunningCount([Date];([Flag];[Customer])) Where([Flag] = "N")) &amp;gt;2) Then 1 Else 0&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/273509-748872c.png" /&gt;&lt;/P&gt;&lt;P&gt;Can you confirm this really is what you are looking for? I think I still misunderstand your requirement.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
    <pubDate>Wed, 06 Feb 2019 18:12:31 GMT</pubDate>
    <dc:creator>Tom_N8</dc:creator>
    <dc:date>2019-02-06T18:12:31Z</dc:date>
    <item>
      <title>WebI: Previous Function with Condition</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaq-p/830539</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;I need to perform the following calculation: for each row set to 1 if the current and previous 2 consecutive days have flag = N with the customer as a reset dimension (second column).&lt;/P&gt;
  &lt;P&gt;In the example it is possible to obtain the result as in the "Value" column?&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/272488-cattura.png" /&gt;&lt;/P&gt;
  &lt;P&gt;I tried to use the Previuos Function but always consider the lines with flag = Y&lt;/P&gt;
  &lt;P&gt;Is it possible to perform this calculation ignoring row with flag = Y?&lt;/P&gt;
  &lt;P&gt;Thanks to all.&lt;/P&gt;
  &lt;P&gt;Davide&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 22:41:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaq-p/830539</guid>
      <dc:creator>former_member273013</dc:creator>
      <dc:date>2019-02-05T22:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: WebI: Previous Function with Condition</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830540#M268032</link>
      <description>&lt;P&gt;Hi Davide,&lt;/P&gt;&lt;P&gt;Use the Previous() function as follows: &lt;/P&gt;&lt;P&gt;=If((Previous([Flag])="N" And (Previous([Flag];2)="N" And [Flag]="N") And Previous([Customer]) = [Customer])) Then 1 Else 0&lt;/P&gt;&lt;P&gt;This will return Value 1 where your current flag, the previous flag and the previous of that previous flag is equal to 'N':&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/273504-748872.png" /&gt;&lt;/P&gt;&lt;P&gt;If you're only looking for a comparison of the current flag with the previous flag, change the above formula to:&lt;/P&gt;&lt;P&gt;=If((Previous([Flag])="N" And [Flag]="N") And Previous([Customer]) = [Customer])) Then 1 Else 0&lt;/P&gt;&lt;P&gt;You can obtain the previous of the previous value by using the offset parameter. In the first formula at the top, this has been set to '2'.&lt;/P&gt;&lt;P&gt;Read more about the Previous() function in the "&lt;A href="https://help.sap.com/viewer/4ef7aa2cbf3d432a80d8b85a9c2c7e20/4.2.6/en-US/471c86846e041014910aba7db0e91070.html?q=Previous%28%29" target="_blank"&gt;Using functions, formulas and calculations in Web Intelligence&lt;/A&gt;" guide.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 12:56:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830540#M268032</guid>
      <dc:creator>Tom_N8</dc:creator>
      <dc:date>2019-02-06T12:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: WebI: Previous Function with Condition</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830541#M268033</link>
      <description>&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;thanks for you reply.&lt;/P&gt;&lt;P&gt;In your example, however, the value of 20190205 must be 1 because precedeeing 3 rows is 20190205, 20190204 and 20190201 (excluding rows with flag = Y).&lt;/P&gt;&lt;P&gt;Is possibile to obtain this result?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Davide&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 13:43:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830541#M268033</guid>
      <dc:creator>former_member273013</dc:creator>
      <dc:date>2019-02-06T13:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: WebI: Previous Function with Condition</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830542#M268034</link>
      <description>&lt;P&gt;Hi Davide,&lt;/P&gt;&lt;P&gt;OK, I can see what you mean with excluding the Y flags from the calculation. However, 20190205 is not the current date in my example above. In your initial question you state you need the value 1 to be set where the current date flag is equal to N plus the consecutive two previous flags are equal to N as well.&lt;/P&gt;&lt;P&gt;Your comment suggests that you no longer need this against the &lt;STRONG&gt;current&lt;/STRONG&gt; date flag only but a (any?) previous date disregarding preceding Y flags (i.e. no longer only the previous 2 consecutive dates) plus &lt;STRONG&gt;any &lt;/STRONG&gt;combination of preceding N flags. This would automatically set the value 1 next to any date with flag = N except for the first two dates bearing an N flag:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/273506-748872b.png" /&gt;&lt;/P&gt;&lt;P&gt;If this is what you want to achieve then you can simply use the formula:&lt;/P&gt;&lt;P&gt;=If((RunningCount([Date];([Flag];[Customer])) Where([Flag] = "N")) &amp;gt;2) Then 1 Else 0&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/273509-748872c.png" /&gt;&lt;/P&gt;&lt;P&gt;Can you confirm this really is what you are looking for? I think I still misunderstand your requirement.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 18:12:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830542#M268034</guid>
      <dc:creator>Tom_N8</dc:creator>
      <dc:date>2019-02-06T18:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: WebI: Previous Function with Condition</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830543#M268035</link>
      <description>&lt;P&gt;Hi Tom.&lt;/P&gt;&lt;P&gt;thank you very much, your solution is very good!&lt;/P&gt;&lt;P&gt;Today my client explained the requisite of the analysis better: he want to count the number of consecutive working days that the flag "Over Stock" is N.&lt;/P&gt;&lt;P&gt;So I added 2 flag: "Is Weekend" and "Over Stock".&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is possible to include this logic (with 2 flag) in your formula&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/274580-cattura.png" /&gt;&lt;/P&gt;&lt;P&gt;Row 13 is 1 because there are 3 consecutive working days (20190212-20190211-20190208) with flag "Over Stock" = N. Not considered 20190210 and 20190209 because flag "Is Weekend" = Y&lt;/P&gt;&lt;P&gt;Row 7 is 1 because there are 3 consecutive working days (20190206-20190205-20190204) with flag "Over Stock" = N&lt;/P&gt;&lt;P&gt;Row 6 is 0 because there are only 2 consecutive working days (20190205-20190204). 20190202 is weekend and after the customer change&lt;/P&gt;&lt;P&gt;Very Thanks!&lt;/P&gt;&lt;P&gt;Davide&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 00:26:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830543#M268035</guid>
      <dc:creator>former_member273013</dc:creator>
      <dc:date>2019-02-08T00:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: WebI: Previous Function with Condition</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830544#M268036</link>
      <description>&lt;P&gt;Hi Davide, &lt;/P&gt;&lt;P&gt;Thanks a lot for clarifying the requirement. &lt;/P&gt;&lt;P&gt;I think you can achieve what you are attempting with the following formula: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If((RunningSum((If(If([IsWeekend]="N") Then [Over Stock] Else Replace([Over Stock];"N";"Y") Where([IsWeekend]="Y"))="N" Then 1 Else 0);([Customer])) Where((If(If([IsWeekend]="N") Then [Over Stock] Else Replace([Over Stock];"N";"Y") Where([IsWeekend]="Y"))="N" Then 1 Else 0)=1)) InList (3;6;9;12;15;18;21)) Then 1 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This formula is the result of a number of helper variables I created to find a solution. It has all the variable formulas mentioned in steps 1-4 below nested in a single formula: &lt;/P&gt;&lt;P&gt;1. Create variable &lt;B&gt;[OS Calc]&lt;/B&gt; =If([IsWeekend]="N") Then [Over Stock] Else Replace([Over Stock];"N";"Y") Where([IsWeekend]="Y") &lt;/P&gt;&lt;P&gt;     With this variable you turn ‘N’ stock values into ‘Y’ where they occur at a weekend day &lt;/P&gt;&lt;P&gt;2. Create variable&lt;STRONG&gt; [OS Calc 2]&lt;/STRONG&gt; =If([OS Calc]="N") Then 1 Else 0 &lt;/P&gt;&lt;P&gt;    This simply turns the Ns into 1s and the Ys into 0s &lt;/P&gt;&lt;P&gt;3. Create variable &lt;STRONG&gt;[Counter]&lt;/STRONG&gt; =RunningSum([OS Calc 2];([Customer])) Where([OS Calc]="N") &lt;/P&gt;&lt;P&gt;    This merely creates a running count of all the 1 values where [Customer] is the reset dimension &lt;/P&gt;&lt;P&gt;4. Finally, create the variable &lt;STRONG&gt;[Value]&lt;/STRONG&gt; =If([Counter]InList(3;6;9;12;15;18;21)) Then 1 &lt;/P&gt;&lt;P&gt;This variable simply places a 1 where the counter reaches steps of 3, i.e. 3, 6, 9, 12, 15, 18 or 21. As the max value of Ns in a month consisting of 31 days can be 23 (workdays only), the value list stops at 21. If you look at the first table you can see the different steps taken. I also extended your sample to have certainty this works with bigger margins between values.&lt;/P&gt;&lt;P&gt;This is also a different approach to the previous ones as it "groups" your required values into blocks, considering weekends and Y values at the same time.&lt;/P&gt;&lt;P&gt;The screenshot below shows the workings of the different variables (TABLE A) while the same result is achieved with the full formula (TABLE B) as well:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/272638-748872-1.png" /&gt;&lt;/P&gt;&lt;P&gt;Have a great weekend,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 17:21:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830544#M268036</guid>
      <dc:creator>Tom_N8</dc:creator>
      <dc:date>2019-02-08T17:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: WebI: Previous Function with Condition</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830545#M268037</link>
      <description>&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;Excellent! I had not thought about using the "Replace" function. Veru Thanks for the suggest!&lt;/P&gt;&lt;P&gt;I have only one doubt about your example:&lt;/P&gt;&lt;P&gt;your algorithm work fine in the first 3 cases but in the last case (row 28) the value it should be 0 because there are not 3 consecutive working days (instead, the value of row 20 is correct because there are 3 consecutive working days).&lt;/P&gt;&lt;P&gt;I'm clear enough?&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/272654-cattura.png" /&gt;&lt;/P&gt;&lt;P&gt;Have a nice weekend to you!&lt;/P&gt;&lt;P&gt;Davide&lt;/P&gt;</description>
      <pubDate>Sat, 09 Feb 2019 18:02:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830545#M268037</guid>
      <dc:creator>former_member273013</dc:creator>
      <dc:date>2019-02-09T18:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: WebI: Previous Function with Condition</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830546#M268038</link>
      <description>&lt;P&gt;Hi Davide,&lt;/P&gt;&lt;P&gt;My apologies, I totally disregarded the "consecutive" piece in my previous response. But we can still get to the result by creating another &lt;STRONG&gt;[Helper]&lt;/STRONG&gt; variable with the formula &lt;EM&gt;=([OS Calc 2]+Previous([OS Calc 2])+Previous([OS Calc 2];2)+Previous([OS Calc 2];3)+Previous([OS Calc 2];4)).&lt;/EM&gt; Its purpose is to aggregate the occurrences of 1s in [OS Calc 2] over a period of 5 consecutive days. In order for [Value] to be 1 the aggregate must only be 3, i.e. the [Value] variable needs to be enhanced as follows &lt;EM&gt;=If([Counter]InList(3;6;9;12;15;18;21) And [Helper]=3) Then 1&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;I have tried this with various combinations of consecutive and non-consecutive occurrences of N [Over Stock] indicators and it works.&lt;/P&gt;&lt;P&gt;Looking forward to your response on Monday!&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Sun, 10 Feb 2019 10:59:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830546#M268038</guid>
      <dc:creator>Tom_N8</dc:creator>
      <dc:date>2019-02-10T10:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: WebI: Previous Function with Condition</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830547#M268039</link>
      <description>&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;thanks for the support.&lt;/P&gt;&lt;P&gt;I tried your new solution in my case but unfortunately it does not work. &lt;/P&gt;&lt;P&gt;Look this example:
I exposed the fields of your solution and the last column (Desideres Value) is the expected result. &lt;/P&gt;&lt;P&gt;- The row 13 must be 1 because there are 3 consecutive working days with Over Stock = N (row 13, 12, 11), rows 10 e 9 is weekend &lt;/P&gt;&lt;P&gt;- The row 12 is correct &lt;/P&gt;&lt;P&gt;- The row 11 must be 1 because there are 3 consecutive working days with Over Stock = N (row 11, 8, 7), rows 10 e 9 is weekend &lt;/P&gt;&lt;P&gt;Is possible obtain this result?&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/274665-cattura.png" /&gt;&lt;/P&gt;&lt;P&gt;Thanks very much!&lt;/P&gt;&lt;P&gt;Davide&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 10:45:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830547#M268039</guid>
      <dc:creator>former_member273013</dc:creator>
      <dc:date>2019-02-11T10:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: WebI: Previous Function with Condition</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830548#M268040</link>
      <description>&lt;P&gt;Hi Davide,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;
This has been an enjoyable but somewhat frustrating journey at the same time &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I believe that we finally get to the desired result with the following changes.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;
Change both the [Helper] and the [Value] variables to the following formulas:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;
[Helper]&lt;/STRONG&gt;&lt;BR /&gt;
=If([IsWeekend]="Y") Then 0&lt;BR /&gt;
ElseIf([OS Calc]="Y") Then 0&lt;BR /&gt;
ElseIf([OS Calc]="Y" And Previous([OS Calc])="N" And Previous([IsWeekend];2)="Y" And Previous([IsWeekend];3)="Y") Then 0&lt;BR /&gt;
ElseIf([OS Calc]="N" And Previous([OS Calc])="Y" And Previous([IsWeekend])="N") Then 0&lt;BR /&gt;
ElseIf([OS Calc]="N" And Previous([OS Calc])="N" And Previous([OS Calc];2)="Y" And Previous([IsWeekend];2)="N") Then 0&lt;BR /&gt;
ElseIf(([Customer]=Previous([Customer]) And [Customer]=Previous([Customer];2)) And [OS Calc]="N" And Previous([OS Calc])="N" And Previous([OS Calc];2)="N") Then ([OS Calc 2]+Previous([OS Calc 2])+Previous([OS Calc 2];2))&lt;BR /&gt;
ElseIf(([Customer]=Previous([Customer]) And [Customer]=Previous([Customer];2)) And [OS Calc]="N" And Previous([IsWeekend])="Y" And Previous([IsWeekend];2)="Y") Then (([OS Calc 2]+Previous([OS Calc 2])+Previous([OS Calc 2];2)+Previous([OS Calc 2];3)+Previous([OS Calc 2];4)))&lt;BR /&gt;
ElseIf(([Customer]=Previous([Customer]) And [Customer]=Previous([Customer];2)) And [OS Calc]="N" And Previous([OS Calc])="N" And Previous([IsWeekend];2)="Y" And Previous([IsWeekend];3)="Y") Then (([OS Calc 2]+Previous([OS Calc 2])+Previous([OS Calc 2];2)+Previous([OS Calc 2];3)+Previous([OS Calc 2];4)))&lt;BR /&gt;
Else 0&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;
[Value]&lt;/STRONG&gt;&lt;BR /&gt;
=If([Helper]=3) Then 1&lt;BR /&gt;&lt;BR /&gt;
I initially wanted to avoid a [Helper] variable with a complex calculation as above but cannot find a better way. Done some testing with this and hope it can be seen as the final solution to the question. Hopefully, I did not forget any other permutations... &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/272710-748872f.png" /&gt;&lt;/P&gt;&lt;P&gt;I also noticed a small mistake in your last example where rows 10 &amp;amp; 11 should be marked as IsWeekend = Y instead of rows 9 &amp;amp; 10.&lt;BR /&gt;&lt;BR /&gt;
You can delete all previously created variables,  except for [OS Calc] and [OS Calc 2]. They should have the following definitions:&lt;BR /&gt;
&lt;BR /&gt;&lt;STRONG&gt;
[OS Calc]&lt;/STRONG&gt;&lt;BR /&gt;
=If([IsWeekend]="N") Then [Over Stock] Else Replace([Over Stock];"N";"Y") Where([IsWeekend]="Y")&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;
[OS Calc 2]&lt;/STRONG&gt;&lt;BR /&gt;
=If([OS Calc]="N") Then 1 Else 0&lt;BR /&gt;&lt;BR /&gt;Really hope this works now!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;
Kind regards,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 16:40:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830548#M268040</guid>
      <dc:creator>Tom_N8</dc:creator>
      <dc:date>2019-02-11T16:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: WebI: Previous Function with Condition</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830549#M268041</link>
      <description>&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;Excellent, your algorithm is very good and it work for the cases that I tested.&lt;/P&gt;&lt;P&gt;Thank you very much, I will propose this solution to my customer.&lt;/P&gt;&lt;P&gt;If my customer want to add other working days (in addition to weekend) what change I do in the formula? (I imagine in the Helper variable).&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;Davide&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 17:20:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830549#M268041</guid>
      <dc:creator>former_member273013</dc:creator>
      <dc:date>2019-02-11T17:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: WebI: Previous Function with Condition</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830550#M268042</link>
      <description>&lt;P&gt;Hi Davide,&lt;/P&gt;&lt;P&gt;Yes, you will then need to change your [Helper] and [Value] variables, depending on the requirement, e.g. if your client needs to see an indicator for 4 consecutive working days with an 'N' Over Stock indicator. Could you mark the answer above as 'Answered' if it meets your requirement, please?&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 19:26:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830550#M268042</guid>
      <dc:creator>Tom_N8</dc:creator>
      <dc:date>2019-02-11T19:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: WebI: Previous Function with Condition</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830551#M268043</link>
      <description>&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;thank you very much for your support, you have been very professional and kind.&lt;/P&gt;&lt;P&gt;I Accepted you answer.&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;P&gt;Davide&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 09:00:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830551#M268043</guid>
      <dc:creator>former_member273013</dc:creator>
      <dc:date>2019-02-12T09:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: WebI: Previous Function with Condition</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830552#M268044</link>
      <description>&lt;P&gt;Thank you very much, Davide. I am glad to hear we got there in the end!&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 09:20:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-previous-function-with-condition/qaa-p/830552#M268044</guid>
      <dc:creator>Tom_N8</dc:creator>
      <dc:date>2019-02-12T09:20:00Z</dc:date>
    </item>
  </channel>
</rss>

