<?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 Query Filter - Between Formula in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/webi-query-filter-between-formula/qaa-p/14167206#M4921406</link>
    <description>Basically, is there a way to set the between dates on a date query filter to be dynamic?</description>
    <pubDate>Wed, 30 Jul 2025 15:46:33 GMT</pubDate>
    <dc:creator>JG432</dc:creator>
    <dc:date>2025-07-30T15:46:33Z</dc:date>
    <item>
      <title>Webi Query Filter - Between Formula</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-query-filter-between-formula/qaq-p/14166084</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;I am trying to find a way to filter on my 'CreationDate' field to only return entries created from seven days ago (from current date) to current date. I've tried creating a 'detail' object with no luck. I have converted my 'CreationDate' field to a date field using the 'ToDate' function (varCreationDate), and then applying : =[varCreationDate] Between (RelativeDate(CurrentDate(); -7); CurrentDate())&lt;/P&gt;&lt;P&gt;with many different syntax and&amp;nbsp; iterations ran through Galileo AI with no luck. This seems like it should be a fairly intuitive, I'm hoping it is an easy fix! Thanks as always!!!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JG432_0-1753805617775.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/293576i0D9A8D66079C00B1/image-size/medium?v=v2&amp;amp;px=400" alt="JG432_0-1753805617775.png" title="JG432_0-1753805617775.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 16:17:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-query-filter-between-formula/qaq-p/14166084</guid>
      <dc:creator>JG432</dc:creator>
      <dc:date>2025-07-29T16:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Webi Query Filter - Between Formula</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-query-filter-between-formula/qaa-p/14166688#M4921357</link>
      <description>&lt;P&gt;in report you can build variable which will check the days between and flag them.&lt;BR /&gt;For example:&lt;BR /&gt;=If(DaysBetween([CREATIONDATE];CurrentDate())&amp;gt;=0 And DaysBetween([CREATIONDATE];CurrentDate())&amp;lt;=7) Then "show" Else "hide"&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 09:43:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-query-filter-between-formula/qaa-p/14166688#M4921357</guid>
      <dc:creator>bekart</dc:creator>
      <dc:date>2025-07-30T09:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Webi Query Filter - Between Formula</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-query-filter-between-formula/qaa-p/14166697#M4921358</link>
      <description>&lt;P&gt;hi, does your query is based on SQL?&lt;BR /&gt;If so use filter on query you can use FHSQL statement in WHERE clause:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;CREATIONDATE&amp;gt;=sysdate()-7&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;not sure about the date format so bear in mind that trunc may be necessary.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 09:35:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-query-filter-between-formula/qaa-p/14166697#M4921358</guid>
      <dc:creator>bekart</dc:creator>
      <dc:date>2025-07-30T09:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Webi Query Filter - Between Formula</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-query-filter-between-formula/qaa-p/14167128#M4921391</link>
      <description>I unfortunately do not have access to use a SQL query. That 'would' be ideal</description>
      <pubDate>Wed, 30 Jul 2025 14:03:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-query-filter-between-formula/qaa-p/14167128#M4921391</guid>
      <dc:creator>JG432</dc:creator>
      <dc:date>2025-07-30T14:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Webi Query Filter - Between Formula</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-query-filter-between-formula/qaa-p/14167131#M4921393</link>
      <description>&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/699280"&gt;@bekart&lt;/a&gt;, is there a way to only return the values in which the 'creationdates' are in between the present day and seven days ago? Thank you for your reply as well</description>
      <pubDate>Wed, 30 Jul 2025 14:05:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-query-filter-between-formula/qaa-p/14167131#M4921393</guid>
      <dc:creator>JG432</dc:creator>
      <dc:date>2025-07-30T14:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Webi Query Filter - Between Formula</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-query-filter-between-formula/qaa-p/14167206#M4921406</link>
      <description>Basically, is there a way to set the between dates on a date query filter to be dynamic?</description>
      <pubDate>Wed, 30 Jul 2025 15:46:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-query-filter-between-formula/qaa-p/14167206#M4921406</guid>
      <dc:creator>JG432</dc:creator>
      <dc:date>2025-07-30T15:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Webi Query Filter - Between Formula</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-query-filter-between-formula/qaa-p/14167409#M4921431</link>
      <description>&lt;P&gt;Your earlier post:&amp;nbsp;&lt;SPAN&gt;=If(DaysBetween([CREATIONDATE];CurrentDate())&amp;gt;=0 And DaysBetween([CREATIONDATE];CurrentDate())&amp;lt;=7) Then "show" Else "hide"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;worked out! I just had to set the filter after that to exclude "hide"&lt;/P&gt;&lt;P&gt;Thank you!!!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 21:41:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-query-filter-between-formula/qaa-p/14167409#M4921431</guid>
      <dc:creator>JG432</dc:creator>
      <dc:date>2025-07-30T21:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Webi Query Filter - Between Formula</title>
      <link>https://community.sap.com/t5/technology-q-a/webi-query-filter-between-formula/qaa-p/14168238#M4921539</link>
      <description>happy to hear that - good practise is to limit data on query level but in your case you are not able to do so. So filtering data on report level is the correct solution.</description>
      <pubDate>Thu, 31 Jul 2025 13:03:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/webi-query-filter-between-formula/qaa-p/14168238#M4921539</guid>
      <dc:creator>bekart</dc:creator>
      <dc:date>2025-07-31T13:03:06Z</dc:date>
    </item>
  </channel>
</rss>

