How do I print some value when there is no record against field

hi,
I have two queries and a link between two queries .columns selected for query are source to the fields in layout. In one of the case i have record for master table but the detail field is left blank because there is no record against it(its not null)
How do i display "0" where there is no record in detail. the columns of both the query are in same record . I can't assign "0" when null because there is no record so its not null.
Thanks in advance
Rama

Create a summary column in the parent query which counts the records in the child query. This will be zero when there are no records in the child query. Put this field on the page and in the format trigger use "RETURN :cs_count = 0;" to ensure the field is not visible except when its value is zero.

Similar Messages

  • How to assign a default value when there is no prompted value

    Dear all,
    I create a filter and it's value is relate to a prompt.If the prompt is not fill I found that all record is selected.
    How did I assign a default value so that when I didn't fill some value in to the prompt and still can get the result by
    the default value I set?
    Thanks a lot!

    Are you using dates for between or some character column?
    Post your example.
    Instead of between use to is equal prompts, so u will have then 2 fields one for date from a nd one for date to. Everything is the same as I wrote just repeat steps...
    You must put 2 separate fields if you are using date between and you want to have default variable for both.
    Column formula for the first calendar date prompt:
    case when 1=2 then TIMES.TIME_ID else cast ('1.1.1900' as date) end
    and for the second:
    case when 1=2 then TIMES.TIME_ID else cast ('1.1.2900' as date) end
    Now you set up default repository variable for both prompts.
    Presentation variable you put in the set presentation variable on each prompt:
    p_date_from
    p_date_to
    And in Answers filter will be like this:
    *TIMES.TIME_ID between @{p_date_from}{VALUEOF("rv_test_date_to_char")} and @{p_date_to}{VALUEOF("rv_test_date_to_char")}*
    or you can put a different default variables
    *TIMES.TIME_ID between @{p_date_from}{VALUEOF("rv_test_date_to_char_from")} and @{p_date_to}{VALUEOF("rv_test_date_to_char_to")}*
    I posted similar in my blog:
    Date between in filter and title when using presentation variable from calendar dashboard prompt or drop-down list in OBIEE
    http://108obiee.blogspot.com/2009/03/date-between-in-filter-and-title-when.html
    Regards,
    Goran O
    http://108obiee.blogspot.com
    Edited by: Goran O on 2009.04.23 03:37

  • How can appear just some values when i filter in the report

    Hi gurus,
    i have a query in a web template, i remember there was a form to do this:
    For example in the report there are many analist, A,B,C.
    For material 1 the analis A,
    For material 2 the analis B,
    For material 3 the analis C,
    when i filter in the report for material 1. and then the analist, i WANT when i click in filter the suggestion is ANALIST  = "A", because is the only analist for this material.
    thats my problem when i filter just material A, and click to show the analist , appears ALL the analist in the suggestion of the report and is not correct because if i cliked in analist B the report doesnt bring values , its logic, , i remember some reports when you go filter, the suggestion to show is accord the values that you are showing, can you help me to do this , thanks!

    Look at the definition of the infobject and in the query for "Query Execution Filter Value Selection"
    This controls the values ie master data or posted items for navigation

  • SmartForm not printing some values when output type triggered automatically

    Output type 'ZD00' for billing is created and configured in NACE with 'send immediately (when saving the application)'. I'm creating a billing document in VF01, then this output type is triggering perfectly. But when I check the form output in spool price and discount values are not displaying. And for the same billing document, when I go to VF03 and selects issue output to and execute the same output type its giving all the perfectly.
    What could be the problem ?

    there we go, you might want to have a look at RVADIN01 which is the standard driver program for invoice printing.
    Your main interest should be to see how they select their prices, and then learn from it and adopt your program accordingliy.
    Yeah RVADIN01 is a SAP-SCRIPT driver program, but the selection of data is the same as in SMARTFORMS, so dont be afraid to use their logic.
    regards.

  • How do I find offending photo when there is a problem uploading photos to order prints?

    How do I find offending photo when there is a problem uploading photos to order prints?

    What is the problem? What version of iPhoto? Of the OS? Try safe mode
    LN

  • 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

  • How to block a sales order when there is a free good item .

    Hello Gurus ,
    How to block a sales order when there is a  free good item  , only the authorised person should have authorisation to release those blocked Sales orders.
    Reason - They want to have a track of free goods given to customer & to avoid the misusing things
    Looking  for your inputs
    Thanks in advance
    Regards
    Venkat

    Hi
    I think you can try with Status Profile in BS02 define and assign for item category TANN.
    In status profile you can block the delivery and also billing unless some changes the object status as released.
    Just try and explore
    regards
    Prashanth

  • 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.

  • How to change the default JRE when there are several version of JRE in Sys

    How to change the default JRE when there are several version of JRE in System?
    i have installed j2sdk1.5.0 then installed j2ee1.4,then installed Weblogic6.1 which use jdk1.3
    Now the JRE is jdk1.3\bin
    When run class that was compiled with jdk1.5,throw:
    java.lang.UnsupportedClassVersionError
    How can i change the jre to 1.5?

    There is a workaround to move from 1.5 version to the older 1.4 version. But this could be specific to the browser setting the JRE version.
    Excerpts from sun docs:
    However, a user can still run older versions. To do so, launch the Java Plug-in Control Panel for the older version, then (re)select the browser in the Browser tab.
    Example:
    Assume you are running on Microsoft Windows with Microsoft Internet Explorer, have first installed version 1.4.2, then version 5.0, and you want to run 1.4.2.
    Go to the j2re1.4.2\bin directory where JRE 1.4.2 was installed. On a Windows default installation, this would be here: C:\Program Files\Java\j2re1.4.2\bin
    Double-click the jpicpl32.exe file located there. It will launch the control panel for 1.4.2.
    Select the Browser tab. Microsoft Internet Explorer might still appear to be set (checked). However, when 5.0 was installed, the registration of the 1.4.2 JRE with Internet Explorer was overwritten by the 5.0 JRE.
    If Microsoft Internet Explorer is shown as checked, uncheck it and click Apply. You will see a confirmation dialog stating that browser settings have changed.
    Check Microsoft Internet Explorer and click Apply. You should see a confirmation dialog.
    Restart the browser. It should now use the 1.4.2 JRE for conventional APPLET tags.
    Details are here
    http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/jcp.html
    My system (Windows XP) has the version 1.5_09 set as the default. However i just installed JRE 1.5_06 and would like to revert back to _06 as the default JRE..
    Will update if i find more information

  • How do I delete a photo when there is not a trash bin at the bottom of the screen

    How do I delete a photo when there is no trash bin on the bottom of the screen?

    If there is no Trash icon for that photo, the photo was most likely copied to your iPhone by syncing with your computer. To delete the photo you need to do another sync.
    1. If you want to remove a complete album, deselect that album in iTunes on your computer. Then when you click on Sync or Apply that album will be removed from your iPhone but it will remain on your computer.
    2. If you want to remove only certain photos from albums you must delete the photo from the album on your computer or move it to a different album or folder.  Then when you click on Sync or Apply the photo(s) will be removed from your iPhone.

  • Office jet 6700 printer jam error when there is no printer jam

    I get a continuous printer jam error when there is no jam present.  I have tried connecting and reconnecting.  Same error.

    Hi @lbrockhurst 
    Although you are not experiencing a true paper jam, the solutions presented in the following document might help to resolve the issue; A 'Paper Jam' Error Displays on the HP Officejet 6600 e-All-in-One and 6700 Premium e-All-in-One Pri...
    As you will see in the document above, paper jam messages are not only a result of physical paper jams;
    The following factors can cause paper jams:
    Paper loaded incorrectly in the paper tray.
    Damaged or dirty paper rollers.
    Torn, wrinkled, or damp paper loaded in the paper tray.
    The rear access door or two-sided printing accessory (duplexer) might not be closed or is not locked into place.
    Paper was added to a stack already in the tray while the HP product was printing.
    The tray contains more than one type of paper.
    The paper is jammed inside the HP product where you cannot see it.
    An obstruction is blocking the paper path.
    Torn pieces of paper from a previous jam are stuck in the product.
    The tray is too full.
    If printing on an envelope, the edges of the envelope are bent.
    I have also seen communication hiccups cause such error messages. This may sound silly, but if the issue persists, after completing the steps in the document I provided, let's leave the router on and unplug the power cable (NOTE: Do not reset the router.),  then do the same with the printer, and shut down the computer. After a full minute, plug the router back in, wait for it to fully power up, then plug the printer back in and wait for the wireless light to become solid. Once both the router and printer are on, go ahead and turn the computer back on. Doing this will refresh the network connection. 
    I hope this heps.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • How do I make a backup when there are 4 users on my mac

    How do I make a backup when there are 4 users on my mac?

    Welcome to the Apple Support Communities
    If you have more than one user, the backup is just the same as if you have one user. All users are backed up and there isn't any difference between a backup made on a Mac with one user and on a Mac with multiple users. Then, if you want to restore that backup in the future, you will be able to select which users you want to restore

  • Just given my first iMac. How does one use cd's when there is no slot?

    Just given my first iMac. How does one use CD's when there is no slot?

    Oaxaca36 wrote:
    How does one use CD's when there is no slot?
    http://store.apple.com/us/product/MD564ZM/A/apple-usb-superdrive

  • Dax Calculate column even when there is no record at a date

    We are creating a powerpivot model based on a table with data about worktasks of our employees.
    This is simplified our input:
    Tasknr date started dateended
    1 20140101 20140201 (yyyymmdd)
    2 20140102 20140103
    3 20140104 20140108
    Etc
    We created two measures to calculate how many tasks are opened and closed per day. That was no problem, but now the tricky part. We also want to know each day how many tasks are
    still open, even on days that no tasks are opened (or closed).
    My approach was to create a calculated column to determine how many tasks are opened up to that date and subtracted the closed tasks and end up with the tasks that are open. That
    seems to be working :
    =COUNTROWS(FILTER(Tasks; Tasks[Open]<=EARLIER(Tasks[Open]))) - COUNTROWS(FILTER(Tasks; Tasks[Close]<=EARLIER(Tasks[Open])))
    When I load this to the excel pivot I end up with this:
    Row Labels| Opened | Closed | Open not finished
    1/1/2014
            1         
    0          1
    1/2/2014        
    1          0         
    2
    1/3/2014
            0         
    1         0
    1/4/2014
            1         
    0         2
    The line with 1/3/2014 should have 1 in the column [opened not finished], but because that calculation is linked to the opendate column, not to the closed and 3/1/2014 no task
    was opened, there is no value. On days that no tasks are opened or closed there even is no line at all although there could be tasks that are still open.
    I need a mechanism that calculates the value even when there are no records
    on a particular day. Our users want to be able to view the results on any date they select.
    I have considered a second table with all the dates and calculate columns from the task-table but are there other ways to do this? I searched this forum but did not find an answer
    so far.

    Hi Jacob,
    In our company we have a standard date table that is included in all of our models. What I didn't want to do in this case was to extend that table with calculated fields to solve this issue. Alternative was to create a new date table with the calculated
    fields I needed. But I don't like that also so what I did was rewrite the sql that loaded the data into the pivot so that the measures were calculated at the load. But I am also not happy with that solution because of maintanance and performance reasons. My
    feeling is that there must be a way to solve this with only dax in the loaded table.
    Jacob's answer does exactly what you want. The DAX expression in his response is a measure which you could put in your Tasks table. You don't need to alter your date dimension in any way.
    The key to this technique is that the date table cannot have an active relationship to your Tasks table. (although you could have an inactive relationship and then you could use the USERELATIONSHIP function to make other measures easier to calculate)
    Translating Jocob's measure into something against a 'Tasks' table would looks like the following:
    =
    CALCULATE (
    COUNTROWS ( Tasks ),
    FILTER (
    Tasks,
    Tasks[Open] <= MAX ( Calendar[Date] )
    && Tasks[Closed] >= MAX ( Calendar[Date] )
    http://darren.gosbell.com - please mark correct answers

  • How do I print all of the text in a scrollable form field?

    How do I print all of the text in a scrollable form field?  When I print the form, the text becomes cut off based on the size of the field and displays a little plus sign in the lower right hand corner indicating more text.  I want to print all of the text.

    The form is HTML which means what you see in your browser window is what you will see in your print out.  You can, as the form author, view the submitted data in the View Responses tab and print that out.  You can also export the responses to Excel, CSV, or PDF and print that out.

Maybe you are looking for