<?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: SAP BO WEBI report function like SQL having clause in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sap-bo-webi-report-function-like-sql-having-clause/qaa-p/12724569#M4775331</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;would have someone another advice?&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Ondrej&lt;/P&gt;</description>
    <pubDate>Sat, 20 May 2023 08:44:16 GMT</pubDate>
    <dc:creator>horynao</dc:creator>
    <dc:date>2023-05-20T08:44:16Z</dc:date>
    <item>
      <title>SAP BO WEBI report function like SQL having clause</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-bo-webi-report-function-like-sql-having-clause/qaq-p/12724564</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
  &lt;P&gt;I would like to ask how to do with some function in WEBI report like SQL having clause? I have a dataset I like to calculate first measure (an average of sold items in sales manager dimension) and second measure (total costs per sold items on row level). But if I filter second measure the first one is recalculated. I tried to use NoFilter function, but I like to keep one dimension report filter. For this one dimension it is all right, that the measures are recalculated.&lt;/P&gt;
  &lt;P&gt;Thanks in advance&lt;/P&gt;
  &lt;P&gt;Best Regards&lt;/P&gt;
  &lt;P&gt;Ondrej&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 08:13:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-bo-webi-report-function-like-sql-having-clause/qaq-p/12724564</guid>
      <dc:creator>horynao</dc:creator>
      <dc:date>2023-02-23T08:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAP BO WEBI report function like SQL having clause</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-bo-webi-report-function-like-sql-having-clause/qaa-p/12724565#M4775327</link>
      <description>&lt;P&gt;Can you provide a screenshot with sample data so we can properly understand your issue and give you a possible correct answer&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 12:02:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-bo-webi-report-function-like-sql-having-clause/qaa-p/12724565#M4775327</guid>
      <dc:creator>ayman_salem</dc:creator>
      <dc:date>2023-02-23T12:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: SAP BO WEBI report function like SQL having clause</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-bo-webi-report-function-like-sql-having-clause/qaa-p/12724566#M4775328</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;yes of course, there is my sample dataset.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;row_id;datum;prodavac;kategorie;produkt;pocet;cena
11;2020-2;Pepa;místní;jablka;10;15
12;2020-10;Pepa;místní;hrušky;3;12
13;2020-2;Adam;místní;švestky;5;14
14;2020-12;Adam;cizokrajné;pomeranče;10;5
15;2020-4;Pepa;cizokrajné;banány;7;7
16;2020-8;Adam;cizokrajné;manga;6;7
17;2020-7;Pepa;cizokrajné;ananas;1;20
18;2020-3;Adam;cizokrajné;pomelo;2;15
19;2020-11;Pepa;místní;švestky;8;14
20;2020-6;Pepa;cizokrajné;liči;8;5&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And as I wrote, I need to calculate first measure (an average of sold items in sales manager dimension) and second measure (total costs per sold items on row level). But the first measure needs to by calculate after filter of kategorie = "cizokrajné" is applied. And then I need to filter table with both measures limits. I imagine this part as like SQL having clause. SAP BO probably needs to know, what to calculate first.&lt;/P&gt;&lt;P&gt;The first measure.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2144477-image.png" /&gt;&lt;/P&gt;&lt;P&gt;The second measure&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2144480-image.png" /&gt;&lt;/P&gt;&lt;P&gt;I hope my issue would be more clear now.&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;Ondrej&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 08:50:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-bo-webi-report-function-like-sql-having-clause/qaa-p/12724566#M4775328</guid>
      <dc:creator>horynao</dc:creator>
      <dc:date>2023-02-24T08:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAP BO WEBI report function like SQL having clause</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-bo-webi-report-function-like-sql-having-clause/qaa-p/12724567#M4775329</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;Hi this should work:&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;[first measure] = average ( [sold items]) where (category = "cizokrajné") In ([sales manager])&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Feb 2023 13:11:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-bo-webi-report-function-like-sql-having-clause/qaa-p/12724567#M4775329</guid>
      <dc:creator>krisa24</dc:creator>
      <dc:date>2023-02-24T13:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAP BO WEBI report function like SQL having clause</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-bo-webi-report-function-like-sql-having-clause/qaa-p/12724568#M4775330</link>
      <description>&lt;P&gt;Hello, thank you. But I think the condition category = "cizokrajné" is set up hardly, user cannot change it. &lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Ondrej&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 14:07:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-bo-webi-report-function-like-sql-having-clause/qaa-p/12724568#M4775330</guid>
      <dc:creator>horynao</dc:creator>
      <dc:date>2023-02-24T14:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAP BO WEBI report function like SQL having clause</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-bo-webi-report-function-like-sql-having-clause/qaa-p/12724569#M4775331</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;would have someone another advice?&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Ondrej&lt;/P&gt;</description>
      <pubDate>Sat, 20 May 2023 08:44:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-bo-webi-report-function-like-sql-having-clause/qaa-p/12724569#M4775331</guid>
      <dc:creator>horynao</dc:creator>
      <dc:date>2023-05-20T08:44:16Z</dc:date>
    </item>
  </channel>
</rss>

