Displaying zero values when there was no data
There are two columns 'A' and 'B' in the report which has some values.IF there was no data in the report,it shows the following system message
+"No Results+
+ The specified criteria didn't result in any data. This is often caused by applying filters that are too restrictive or that contain incorrect values. Please check your Request Filters and try again. The filters currently being applied are shown below."+
My requirement was to shows the zero values instead of this message in the table format and should show the chart at 0 axis.
Please give me your inputs and help me finding the solution
Thanks in Advance.
Edited by: user10414249 on Dec 1, 2009 2:22 PM
Because a report with no records will not produce a record "with zeroes," you have to think of another way to let the client know that the report was produced successfully, but simply with no data. We faced this issue with auditing. If no report shows, how does the auditor know that there were no data rather than the report itself not working that day? So what I did is build a "NIL Report." It is a simple report that consists of two columns. The first column is the system date column. The second column is column in which in the fx button (edit formula), I put in a text like "There are no records for this day." The first column serves two purposes: one, to timestamp the report so the user knows what day the 'NIL Report" was generated, and two, to serve as a column because OBI requires at least one column for the report to run.
I also added a footer to the report which had the name of the original report in the left pane and the run date in the right pane. The Title View also contains the name of the original report. Now when viewed, this report has all the essentials to indicate to the user that 1) the report ran successfully; 2) the title of the original report so the client knows which report is associated with the "NIL Report"; and 3) the date the report was run to timestamp the report.
So in one of the two sections, in the Section>Properties, you will use the guid. nav. feature of the section to look at the ORIGINAL report, but this section will have the "If request returns nothing" checkbox" checked off. Put the "NIL Report" in this section. When the original report produces no records, this section will display so the client knows that there were no records.
This is what I mean by a "meaningful report" -- a report that conveys the necessary information to let the user know what is going on. There is no way (that I know) where you can have the original report display "zeroes" when in fact there are no records at all.
HTH,
David
Similar Messages
-
How Do I - Display a group when there is no data for the group?
I have a report where I'm grouping on a numeric county number. Currently, if there are no records for that county, that report group doesn't display. My users want each county printed even if it has no data.
The numeric values for county range from 1 - 85. I'm using CR 11.5 and pulling data from a Teradata database.Hi. I had already thought of doing an outer join on the county column of the county look up table. The problem is that this transfers the selecting and counting of the targeted data from the SQL statement to the report, specifically most of the formula fields itself. And given that the report is parameter driven, it would make maintenance of the report not so much fun. The solution ( I think, still have to code it) is to take my original inner join query and UNION it to a query selecting only the county column from the county look up table. I just add null valued columns to match the number of columns in the original query. This way I get at least one county record to satisfy the display of each group and only minimally increase the actual number of records the report has to process.
-
Header Fields are not displayed when there is no data in the report
Hi,
I am having this strange situation in my webi report.
When I refresh my report and when there is no data, column names are not being displayed in my report. All it is showing is two empty rows. When I have data, then report is displaying data along with column headings.
Please suggest me where I am going wrong.
Thanks,
VenMenThanks for the update.
Can you try this.
Run the report first time for some data.
When the report is rendered select the table that is displayed.
On the left pane side properties tab.
Expand display and check all the options
Show rows with empty measures
show rows with empty dimensions
Show when empty
Hope this will help
Regards
Kultar -
Display 'No Data Found' when there is inv data but still there is xml data
Hi,
I am converting an rdf to BI publisher. The issue is when there is no detail (inv) but still there is still xml data , due to which the report is getting printed with the skeleton template and blank details(inv).
I need to avoid printing the report out if there is not inv detail even though there is xml data. or atleast show 'NO DATA FOUND' msg. and print the report output only when there is inv data.
Any help is greatly appreciated.
sample XLM generated when there is inv data:
- <ARXCBI>
- <LIST_G_SETUP>
- <G_SETUP>
<COMPANY_NAME>GL SOB</COMPANY_NAME>
<FUNCTIONAL_CURRENCY>USD</FUNCTIONAL_CURRENCY>
<COA_ID>23456</COA_ID>
<SET_OF_BOOKS_ID>1</SET_OF_BOOKS_ID>
<LIST_G_SITES />
<REPORT_NAME>Billing Invoice</REPORT_NAME>
<SUB_TITLE />
</G_SETUP>
</LIST_G_SETUP>
<RP_COMPANY_NAME>GL SOB</RP_COMPANY_NAME>
<RP_REPORT_NAME>Billing Invoices</RP_REPORT_NAME>
<RP_DATA_FOUND />
<RP_SUB_TITLE />
<R_DEFAULT_COUNTRY>US</R_DEFAULT_COUNTRY>
<R_DEFAULT_COUNTRY_DESC>United States</R_DEFAULT_COUNTRY_DESC>
<T_REPORT_TOTAL />
<RP_COUNTER />
<INV>Invoice</INV>
<CM>Credit Memo</CM>
<ADJ>Adjustment</ADJ>
<XREV>Reverse Cross Site Credit Memo</XREV>
<XAPP>Apply Cross Site Credit Memo</XAPP>
</ARXCBI>
Thanks!Hi Srini,
Now I am running into another problem. When there is no detail data it displays 'No data found' as expected in the report output. But is there any way to restrict the print option (avoid wasting the paper) to just display 'No data found' in the output but not to print the output only in this case.
I really appreciate any help! -
Hi Experts,
I want to get some idea on how we can restrict one user of generating report when another user is loading the data for the same entity, assuming both the users were at different location and there is no communication between them.
i am dealing same kind of problem in HFM. we have many users created, some users will be loading the data using FDMEE while some users will be generating the reports. the problem arises when one user is loading the data for a particular entity and at the same time another generates the report for the same entity. this shows wrong data in the reports as the data's were not updated.
please suggest how we can come out of this problem.
Thanks in advance for your valuable suggestions.I thought for a while that I could solve the problem creating a parameter in the main report and casting the first argument of my subreportprocesssing event handler to LocalReport and setting the parameter using the SetParameters method of the LocalReport
object indicating when there was data to show or not. But this doesn't worked , the parameter value remains the same when I use it in expressions to change the visibility property of my subreports.
Codelines -
Hi,
this is weird: I have a couple of CURRENCY values in my display structure.
Whenever it is zero, the field is displayed as space, even in detail view.
There is no NO_ZERO set in field catalog.
Ist it possible to display zero values as '0.00'? - The values are present in the fields.
Please: Working solution for 'REUSE_ALV_GRID_DISPLAY_LVC' (on 46C).
Regards,
ClemensHi Rich,
we defined our own dictionary structure.
domain in question is defined
<pre>
Data type CURR Currency field, stored as D
No. characters 13
Decimal places 2
Output length 17
Convers. routine
sign and lowercase NOT flagged
</pre>
In field catalog (built by FUNCTION 'LVC_FIELDCATALOG_MERGE') we set the reference field for currency key and it looks like
<pre>
ROW_POS 0 I 4
COL_POS 29 I 4
FIELDNAME WERT08 C 30
TABNAME 1 C 30
CURRENCY C 5
CFIELDNAME HWAER C 30
QUANTITY C 3
QFIELDNAME C 30
IFIELDNAME C 30
ROUND 0 I 4
EXPONENT C 3
KEY C 1
KEY_SEL C 1
ICON C 1
SYMBOL C 1
CHECKBOX C 1
JUST C 1
LZERO C 1
NO_SIGN C 1
NO_ZERO C 1
NO_CONVEXT C 1
EDIT_MASK C 60
EMPHASIZE C 4
FIX_COLUMN C 1
DO_SUM C 1
NO_SUM C 1
NO_OUT C 1
TECH C 1
OUTPUTLEN 000000 N 6
CONVEXIT C 5
SELTEXT C 40
TOOLTIP C 40
ROLLNAME C 30
DATATYPE CURR C 4
INTTYPE P C 1
INTLEN 000013 N 6
LOWERCASE C 1
REPTEXT IFRS Bewertung (Net Realisable Value) C 55
HIER_LEVEL 0 I 4
REPREP C 1
DOMNAME ZCURR13 C 30
SP_GROUP C 4
HOTSPOT C 1
DFIELDNAME C 30
COL_ID 0 I 4
F4AVAILABL C 1
AUTO_VALUE C 1
CHECKTABLE C 30
VALEXI C 1
WEB_FIELD C 30
HREF_HNDL 0 I 4
STYLE 00000000 X 4
STYLE2 00000000 X 4
STYLE3 00000000 X 4
STYLE4 00000000 X 4
DRDN_HNDL 0 I 4
DRDN_FIELD C 30
NO_MERGING C 1
REF_FIELD C 30
REF_TABLE ZFI_RMNIWE90_ZFI_MBEW_PER_ALV C 30
TXT_FIELD C 30
ROUNDFIELD C 30
DECIMALS_O C 6
DECMLFIELD C 30
COLTEXT C 40
COLDDICTXT C 1
SELDDICTXT C 1
TIPDDICTXT C 1
DD_OUTLEN 000017 N 6
DECIMALS 000002 N 6
SCRTEXT_L IFRS Bewertung (Net Realisable Value) C 40
SCRTEXT_M IFRS Bewertung (Net C 20
SCRTEXT_S IFRS Bewer C 10
EDIT C 1
TECH_COL 0 I 4
TECH_FORM 0 I 4
TECH_COMP C 1
HIER_CPOS 0 s 2
H_COL_KEY C 12
H_SELECT C 1
H_FTYPE C 3
DD_ROLL C 30
DRAGDROPID 0 I 4
MAC C 1
INDX_FIELD 0 I 4
INDX_CFIEL 0 I 4
INDX_QFIEL 0 I 4
INDX_IFIEL 0 I 4
INDX_ROUND 0 I 4
INDX_DECML 0 I 4
GET_STYLE C 1
MARK C 1
</pre>
Hope this information is sufficient.
Regards,
Clemens -
How to avoid InfoPackage hang when there is no data
Hi,
My infoPackage hang which block the process chain when there is no data. I have set the Timeout time to a small value. But, it did not work.
Thanks,
FrankHi Frank,
In the data load monitor > Menu Settings > Evaluation of requests (traffic lights) > what option is selected for "If no data is available in the system"... -
How to avoid printing a blank page when there is 'no data' in the report.
how to avoid printing a blank page when there is 'no data' in the report.
try like this
if@section:IND=1
this template
end ifsectionbreak
if@section:IND=2
this template
end if -
I am sorry if thie is republished-My first time doing this and I am not sure what goes where and where to hear feedback.
Have published iweb site for five years with no problems and just opened a new site and get -
404: Page not found
This error is generated when there was no web page with the name you specified at the web site.-
Troubleshooting suggestions:
Ensure the page you are linking to exists in the correct folder.
Check your file name for case sensitivity . Index.htm is not the same as index.htm!
Temporarily disable any rewrite rules by renaming your .htaccess file if it exists
is the problem with
iweb or with hosting?
One Apple tech started to fix Iweb and had to end session and the next said problem with hosting at Network Solutions as it published
to local folder. NWS has checked sttting a few times-
Any help would be extremely appreciated as trying to fix this for about five weeks
Thanks VG
<Email Edited by Host>It's a really bad idea to post your email address - it's an invitation to spam - and I've asked the Hosts to remove it. (Even though I've now noticed you mis-spelled it! - anyway, never post your address in a forum.)
You have a site here: http://virginiagordon.com/www.virginiagordon.com/WELCOME.html
If that's not the page you are having trouble with, what is that page's URL? -
Issue using extractval to get the node value when there is namespace
I created the db with a XMLType column:
CREATE TABLE mytable1 (key_column VARCHAR2(10) PRIMARY KEY, xml_column1 XMLType);
Then inserted one row:
INSERT INTO mytable1 (key_column,xml_column1) VALUES ('test', XMLType('<MY_TEST xmlns="http://xmlns.oracle.com/ku" version="1.0">
<SCHEMA>SYSTEM</SCHEMA>
<NAME>TABLE41</NAME>
<TEST_GROUP>TEST_GRP_RMP</TEST_GROUP>
<TEST_NAME>DEPARTTEST</TEST_NAME>
<FUNCTION_SCHEMA>SYSTEM</FUNCTION_SCHEMA>
<TEST_FUNCTION>EXCLUDE_TABLE</TEST_FUNCTION>
<STATEMENT_TYPE_LIST>
<STATEMENT_TYPE_LIST_ENTRY>
<NAME>SELECT</NAME>
</STATEMENT_TYPE_LIST_ENTRY>
</STATEMENT_TYPE_LIST>
<UPDATE_CHECK>Y</UPDATE_CHECK>
<ENABLE>Y</ENABLE>
<STATIC_POLICY>N</STATIC_POLICY>
<TEST_TYPE>DBMS_RLS.DYNAMIC</TEST_TYPE>
<LONG_PREDICATE>N</LONG_PREDICATE>
</MY_TEST>'));
Then I ran:
select extractValue(xml_column1,'MY_TEST/TEST_NAME') policy from mytable1;
There is nothing returned.
If i do not have "xmlns="http://xmlns.oracle.com/ku" " in MY_TEST node, then the correct value returned.
Please advise how could I get the node value when there is namespace? Thanks.This is a known issue. In the third parameter of extractvalue, set the namesapce. Then it works.
-
Some of my apps were updating when there was an interruption in the Internet connection. Now they won't complete the update process. Any ideas?
See:
Downloading apps stuck on waiting...: Apple Support Communities -
0vendor is not displaying name attribute when I maintained master data.
0vendor is not displaying name attribute when I maintained master data.
Details: I have four records in the 0vendor infoobject (sand box). I have to show these four records to the client. As i have free hands I maintained master data in the name field and finally activated master data. But when I add the name attribute to the vendor charecteristic in the query designer; it is displaying name attribute as # . Any idea how to display the names of the four vendors in the zquery.
Also do you know the transaction to copy standard query to Zquery?
Thanks in advance.Dear Les
For 0VENDOR, Set Property as Key & Text, try once again.
Yes, you can copy the standard query very well.
Open the Standard query & using SAVE AS, you can copy to "Z" queries.
Hope, now you will get some idea
Regards
Saravanan.ar -
Stacked bar chart showing zeros when there is no data
Hi,
I am developing a stacked bar chart which plots month vs sales of 3 different products.
I am showing data points and the total sales on chart. Every thing looks good except the zeros displayed on the chart if there are no sales for a product for a particular month... how to get rid of these zeros ? i mean how to display the value only if there is some data ?
ThanksSounds like you have a left outer join from your product table to the sales data. Thus product is listed even when no data present.
Try changing join to Equal
Ian -
Displaying Zero Value in a Chart if there exist no database record.
Hello All,
I need to create a chart that displays the number of jobs per hour over a 24 hour period. I can determine the hour the job was created and I have no trouble making a chart with a count of jobs per hour. The problem is that I also want to display the hours that have no jobs on the chart. So in the hours where no job is created there is no database record.
So inorder to show it in a chart Zero values for a particular hour....how shd it be done if there is no zero values in the database for a particular hour???? we dont have the flexibiltiy to add a further table in the database..
Any suggestions would be much appreciated.
Thanks
Regards
AtulThis is basically the same issue that is covered [here|Record selection issue in cross tab.;.
HTH,
Carl -
Display columns when there is no data to display
hello,
Quick question,
I would like to display a portion of report where there is data or no data
There is data subreport display
Product Name Latex Gloves
Product ID
xxxx5678
There NO data in the subReport
Product Name
Product IDHi xitum,
Per my understanding that you want to display the column name and the values in the style you have provided, right?
I have tested on my local environment and you can achieve this by type the column names on the left of the values field and then add an "Underline" for the values field.
Details information in steps below for your reference:
Type the column name"DateKey" on the left of the [DateKey] and then double click the [DateKey] you will open the "PlaceHolder Properties" windows like below:
Click the Font section and under the "Effect", choose the "Underline" this will add an underline under the values.
Click the General section in the "PlaceHolder Properties" windows and add the expression like below to make sure if there is no data in the column values there is also display the underline( by default, if there is no data, t he underline will
not display):
=IIF(Fields!DateKey.Value="" or Fields!DateKey.Value is nothing," ",Fields!DateKey.Value)
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
If you have any feedback on our support, please click
here.
Vicky Liu
TechNet Community Support
Maybe you are looking for
-
Can I use my Pioneer Inno with iTunes?
Am I able to use my Pioneer Inno with iTunes?
-
Final Cut Pro X won't let me export because I worked from an SD card
Hello, I made the stupid mistake of editing my project from an SD card and now FCPX won't let me export it. I have since exported the original files onto my hard drive and I attempted to relink the files in the project folder but no luck. The option
-
Hi, there. I'm having problems: after the recent security update, I'm having trouble with certain applications. I have a mid 2007 Mac Mini, running Mac OS X 10•6•4, and I'm having trouble running Safari, iPhoto 07, and iTunes 10.01, most noticeably.
-
Installing SAP GUI 7.02 on MAC OS (Snow Leporad)
HI, I have installed SAP GUI 7.02 on my MAC Book Pro. Now I need to configure my GUI. I have read the document in the Installation package. Since I am new to MAC environment , I am not able to configure SAP GUI. It would be nice if any one could help
-
please help me try to contact the owner of this phone IMEI **** ICCID **** i got his phone now with me but i dont know how to contact them first time i got it low battery contact me I will explan more how i got this phone Call me +**** Micky Thai <P