Beruflich Dokumente
Kultur Dokumente
And this query Q does not retrieve any data. Then create another data provider i
n the report that needs to fail when Q has no data. For instance this query will
fail:
Code:
SELECT CASE WHEN ( SELECT count(*)
FROM ( Q goes here)
) = 0
THEN 1/0
ELSE 1
END
FROM DUAL
So now when Q has no data then the 2nd data provider with the above syntax will
fail (because of division by 0) so the whole report fails and will not finish in
scheduler as successful so no email to users will be sent.
________________________________________
jiang - Thu Mar 25, 2010 8:41 pm
Post subject: Re: BO generated emails
________________________________________
Thank you so much for your reply.
Could you please advise where to write the code that you mentioned below in a we
bi report?
SELECT CASE WHEN ( SELECT count(*)
FROM ( Q goes here)
) = 0
THEN 1/0
ELSE 1
END
FROM DUAL
Many thanks.
________________________________________
Marek Chladny - Fri Mar 26, 2010 2:23 am
Post subject: Re: BO generated emails
________________________________________
Hi,
You can create it as a custom SQL.
________________________________________
Mak 1 - Fri Mar 26, 2010 3:59 am
Post subject: Re: BO generated emails
________________________________________
Quote:
You can create it as a custom SQL.
Or, if you want to reuse this, create it as a derived table in the universe.
________________________________________
jiang - Mon Mar 29, 2010 8:54 pm
Post subject: Re: BO generated emails
________________________________________
Thanks all of you for your helps. It works!
WebIntelligence XI - Report Design Issue.
________________________________________
pvkumar33 - Sun Mar 28, 2010 6:49 pm
Post subject: Report Design Issue.
________________________________________
Hi, I am new to Web intelligence and facing an issue with the report designing.
I have got a simple dimention and a measure table. That is sales for each month
for a given year. the table is as follows.
[Month] | [Sales]
jan | ****
feb | ***
-
-
Jul | ****
Aug | ****
-
-
Now the requirement is to make a report which compares the sales of the first ha
lf of the year with the second half and show the increments and depreciation etc