Getting extra NULL row in presentation layer when we use CASE in RPD

Hi,
We have created some time utility members in RPD like Previous month, Previous quarter.
Steps:
We have created a init block for capturing Previous month, Previous quarter and added variables with some default values assigned.
Now, we have created a logical column under time dimension in BMM as Previous month, Previous quarter. We are deriving them using following way.CASE
WHEN
MONTH_COL_NAME=VALUEOF(REPOSITORY_VAR_NAME)
THEN
MONTH_COL_NAME
END
We want these dimension values to qualify with measures.
The problem we are facing is it is showing one extra blank row in presentation layer when we bring Previous month or Previous quarter. This is because CASE conditions behaviour. How to avoid null in CASE condition in RPD?
Thanks,
Anilesh

You need to handle the records which are not equals to REPOSITORY_VAR_NAME.
I guess those other rest of values .
Try this
CASE
WHEN
MONTH_COL_NAME=VALUEOF(REPOSITORY_VAR_NAME)
THEN
'Y'
ELSE 'N'
END
in criteria use Y as filter value
If helps pls mark
Edited by: Srini VEERAVALLI on Dec 20, 2012 7:49 AM

Similar Messages

  • I am trying to connect a Macbook Pro to a projector for a Powerpoint presentation. When I use a VGA cable, the color of the projected images are not good. When I use a USB cable, the projected image includes the presenter notes on my computer screen?

    I am trying to connect a Macbook Pro to a projector for a Powerpoint presentation. When I use a VGA cable, the color of the projected images are not good. When I use a USB cable, the projected image includes the presenter notes on my computer screen?

    To move an iPhoto Library to a new machine:
    Link the two Macs together: there are several ways to do this: Wireless Network,Firewire Target Disk Mode, Ethernet, or even just copy the Library to an external HD and then on to the new machine...
    But however you do choose to link the two machines...
    Simply copy the iPhoto Library from the Pictures Folder on the old Machine to the Pictures Folder on the new Machine.
    Then hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Choose Library'
    and select the Library that you moved.  That's it.
    This moves photos, events, albums, books, keywords, slideshows and everything else.
    Your first option didn't work because you imported one Library to another. Every version and thumbnail is imported like a distinct photo, you lose all your Albums, Keywords etc., the link between Original and Previews is destroyed, the non-destructive editing feature is ruined and so on. In summary: it's mess.
    Your second option didn't work because you simply referenced her library on the old machine.
    Regards
    TD

  • How to get rid of /j2ee prefix from URL when I use the OC4J via Oracle HTTP server

    In 9iAS 9.0.2 Oracle HTTP Server (OHS) is pre-configured to assign requests to the Home OC4J instance via the URL-prefix "/j2ee"/
    For example, the TEST servlet under OC4J would be passed through OHS using:
    http://urmachine:urApachePort/j2ee/TEST
    whereas in the standlone OC4J version, this URL works:
    http://urmachine:urOC4JPort/TEST
    How to get rid of /j2ee prefix from URL when I use the OC4J via Oracle HTTP Server?

    It is getting the url prefix from mod_oc4j.conf
    under /ora9ias/Apache/Apache/conf
    You can read more on this at
    http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a92173/confmods.htm#1008977
    -Prasad

  • How can I get rid of the sign in prompt when I use google?

    I just upgraded firefox. I am searching in google and every time I put in a search or turn a page I get a sign-in box asking for my goole password. How can I get rid of this, it is a nuisance.

    Do you use any add-ons to enhance your privacy on Google? To make sure those also are the latest versions, try updating your extensions on the Add-ons page. Either:
    * Ctrl+Shift+a
    * orange Firefox button (or Tools menu) > Add-ons
    In the left column, click Extensions. Then, above the list, click the "gear" button and "Check for Updates".
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    Alternately, you also can clear Firefox's cache completely using:
    orange Firefox button (or Tools menu) > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    If you have a large hard drive, this might take a few minutes.
    (2) Remove the site's cookies (save any pending work first). While viewing a page on the site, try either:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    In the dialog that opens, you can remove the site's cookies individually.
    Then try reloading the page. Does that help?
    Also, I believe Google requires third party cookies. This support article has the steps for making sure you are accepting website cookies: [[Websites say cookies are blocked - Unblock them]].

  • How to get the index of the error record when uploaded using standard LSMW

    Hi Experts,
    When uploading data using lsmw standard batch input method which creates an error session if any errors,how can we able to find the index of the error record
    eg: If 3rd record in input file is incorrect then error session is getting created with the error and index as 1.But I want to know that 3rd record in my input file is incorrect.
    Please help me out.

    Srinivas,
    In global data, i've written like this.
    TYPES: BEGIN OF TYPE_ERROR,
                 INDEX TYPE I,
                 END OF TYPE_ERROR.
    DATA: GT_ERROR TYPE TABLE OF TYPE_ERROR,
               GS_ERROR TYPE TYPE_ERROR,
               GV_TOTAL_COUNT TYPE I, GV_INDEX TYPE I,
               GV_STRING TYPE STRING,
              GV_FILE TYPE STRING VALUE '/usr/sap/interfaces/LSMW/Asseterror
    In Begin of transaction,
    GV_TOTAL_COUNT = GV_TOTAL_COUNT + 1.
    In End of processing,
    OPEN DATASET GV_FILE FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    IF SY-SUBRC = 0.
    CLEAR GS_ERROR.
    LOOP AT GT_ERROR INTO GS_ERROR.
    CONCATENATE 'INDEX OF THE ERROR RECORD IS:' GS_ERROR INTO GV_STRING.
    TRANSFER GV_STRING TO GV_FILE.
    CLEAR: GV_STRING, GS_ERROR.
    ENDLOOP.
    ENDIF.
    How and where will I be assigning error count and append it to the internal table.
    Please help me out.

  • Can't get flash video to stop looping even when i use stop(); in last frame

    I have only just started using Flash so im sure im doing this wrong but in tutorials i have watched to stop the video looping you put stop(); in the last frame. I have done that but the video still loops... Anyone know where i am going wrong?

    If the question is related to Adobe Presenter, I would recommend associating the SWF with the presentation play bar. This will allow the player to control the playback of the SWF and can move on to the next slide when the amount of silence (ideally equal to the duration of the SWF) has passed.
    If this is a question related to Flash, I'll move it to the correct forum.

  • When i use flash of my iphone4 all the screen gets blue any one to help me, When i use flash of my iphone4 all the screen gets blue any one to help me

    Friends just bough iphone 4 when clicking pic with flash on it shows complete blue sceeen any suggestion what to do

    You might have put protection screen or case for which when you click pic it's showing blue.
    One more thing close the flash option and then click

  • I get an "Error Encountered" message from Semantec when I use Firefox to visit any web-site. What is wrong with Firefox?

    Even now while visiting support.mozilla.com, I get an "Error Encountered" message from Symantec. I don't get this message from Safari.
    Symantec suggests that I support the site to Symantec, but it is every web site I visit using Firefox.
    What's wrong with Firefox? on the Mac?

    See:
    *http://kb.mozillazine.org/Firefox_crashes
    *https://support.mozilla.com/kb/Firefox+crashes
    If you have submitted Breakpad crash reports then post the IDs of one or more Breakpad crash reports (bp-xxxxxxxx-xxxxxxxxx-xxxx-xxxxxxxxxxxx).<br />
    You can find the IDs of the submitted crash reports on the <i>about:crashes</i> page.<br />
    You can open the <b>about:crashes</b> page via the location bar, like you open a website.
    See:
    *http://kb.mozillazine.org/Breakpad (Mozilla Crash Reporter)
    *https://support.mozilla.com/kb/Mozilla+Crash+Reporter

  • How do I get my email to not show up when I use iMessage?

    After updating my software to iOS 7, every time I use iMessage my email shows up on others phones instead of my contact name and my phone number. I tried making sure my phone number was entered into my appleid settings, restarted my phone and signed in out of my appleid but nothing works. My phone number is greeted out and does not show up under "start new conversations with" like it says it should on the apple website. This is a really frustrating problem and am desperate for a solution. Please help!

    Hello Remundy,
    Thank you for the details of the issue you are experiencing with iMessage.  It sounds like your phone number is not checked and greyed out in Settings > Messages > Send & Receive. This usually occurs when the phone number is waiting to be activated with iMessage. It should take no longer than 24 hours, and may resolve on its own.
    However, if you continue to have issues, the following article usually provides a resolution:
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Get all the rows of the table

    Hi,
         In my example I want to get all the rows of the table. The table has 20 rows. The visibleRowCount is set to 7 and firstVisibleRow is set to 3.
         I have created the table as
         var oTable = new sap.ui.table.Table({
               id: "oTable",
               title: "My Table",
               visibleRowCount: 7,
               firstVisibleRow: 3,
               selectionMode: sap.ui.table.SelectionMode.Single
         I tried to get the rows of the table using the below code
         var table = sap.ui.getCore().byId("oTable");
         var rows = table.getRows();     //     Returns only 7 rows     
        How to get all the rows of the table when the table is populated with a odata service  ?       

    Hi Vishal,
    The table only put in the html file the rows that you define in visiblerowcount (rows control). The method getRows, get this controls, and you only have 7. The table control render automacatically the data in thats rows when you scroll on it.
    If that you want is to retrieve the data of the rows, you need catch it from the model:
    oTable.getModel().getData();
    Regards,

  • What do I get interference from my iphone when Im using  the landphone

    Recently Im getting alot of interference form my iphone when I use my land line - why would this be?

    Assuming you're talking about a cordless phone, possibly because it's using the same frequency range as your wifi network, or just because it's a poor quality cordless phone...

  • Check box in tabel view?when to use itereator and when to use table view

    hi,
    I want to have a check box along with the other 7fields  in the table view.
    when the checkbox is checked and the merge complete push button is clicked, the respective code for merge is to be executed.
    how can I do this?
    could anyone tell me hw to get a check boz in table view
    when to use a  iterator in BSP, how table view n iterator in comparision ae used or function/work.
    Regards,
    Pavan P.

    Hi Pavan,
    Table View is an BSP element used to display mass data in a layout similar to a table (table view).
    <b>Iterator</b>is an attribute to modify rendering row-by-row, and make it dependent on the clicked row. In this way, you define an action from a particular line. This action is defined in columnDefinitions or overWriteDefinitions.
    <htmlb:tableView id = "tvX"
                     headerText          = "Department List"
                     design              = "standard"
                     headerVisible       = "true"
                     width               = "30%"
         selectedRowKeyTable = "<%= selectedrowindextable %>"
         onRowSelection      = "MyEventRowSelection"
         sort                = "server"
         keepSelectedRow     = "TRUE"
         selectionMode       = "MULTISELECT"
         table               = "<%= i_dept %>" >
    </htmlb:tableview>
    In your <b> OnInputProcessing </b>, Use this Iterator table to get the data of selected records.
    IF selectedrowindextable[] IS NOT INITIAL.
    DESCRIBE TABLE selectedrowindextable LINES no .
    Rgds,
    Jothi.
    Pls do close the thread if ur problem is solved.

  • Check for null values in conditional formatting when no rows returned.

    I have a report that is showing facts for different months.
    For some months there is no row in the facts table.
    But in the report, I have to show a * when there is no data.
    If there is a row in the facts table with null value for data, the conditional formatting successfully shows a * when data is null.
    But when no row is present in the facts for a particular month , conditional formatting is unable to detect any null, as none exist.
    How we can check that no rews returned for a particular month and then show *?
    thanks

    Hi,
    which obiee version r u using?
    My Blog ref:
    http://obieeelegant.blogspot.com/2011/06/replacing-null-as-0-in-obiee.html
    in obiee10g its working fine.expect obiee11g
    also see the bug reference
    How to replace null as 0 in  obiee11g pivot table view?
    obiee11.1.1.6.0 also have the same issues.
    Thanks
    Deva

  • Spaces getting trimmed in presentation layer

    Hi,
    I am observing that the trailing spaces for the values of a field in the Physical layer are getting trimmed when I am using that field from presentation layer in Prompt/Report. For example, if the value is *'abcd '* in Physical layer, it is becoming *'abcd'* in presentation layer. Is this default behavior of OBIEE and can I change this so that the values will be picked as it is from Physical layer ?
    I am using OBIEE 10.1.3.4.1 and the datatype of the field in Physical layer as well as database (Teradata) is char(40).

    I think I could not clarify my concern. Apologies for that. We do not have any formatting issue. We are using the field in a Prompt with operator as 'is equal to/is in'. So when the query gets formed, the where clause is coming as -
    field _name = 'abcd'
    whereas we want it to be
    field_name = 'abcd '
    Because in the database our value is 'abcd ',as the datatype is char.
    We could find a resolution to use 'Contains any' operator instead. But there are hundreds of reports using this field in prompt. Also there is some reason the application do not want to change the datatype in databse to varchar. I needed to know if somehow we can retain the blank spaces in presentation layer.

  • Getting a null when trying to access DateTime fields (that I've added) from my work item

    I'm getting a null when trying to access (custom) DateTime fields from my work item.
    I've got a customized work item with 'extra' string and datetime fields.
    <FieldDefinition name="Design Version" refname="XXX.DesignVersion" type="String" reportable="dimension" />
    <FieldDefinition name="Date Closed" refname="XXX.DateClosed" type="DateTime" reportable="dimension" />
    This code fails:
    WorkItem workItem = workItemStore.GetWorkItem(workItemId);
    var tt1 = workItem["XXX.DesignVersion"];//works
    var tt3 = workItem["XXX.DateClosed"]; //tt3 == null, fails also for html fields
    Any idea what's up? thanks

    Hi TimB,  
    Thanks for your post.
    What’s the version of your TFS?
    If you open this work item in VS, there’s no date value in your Date Closed field? Please try below code snippet:
    if (wr.Fields["XXX.DateClosed"].Value
    == null)
    Console.WriteLine(wr.Fields["XXX.DateClosed"].Value);
    else
    Console.WriteLine(wr.Fields["XXX.DateClosed"].Value);
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Help needed - creating site in dreamweaver with swfs

    Hi I am attempting to make a website in dreamweaver, with animated swf files for the banner and buttons. My problem is with the sizes. I want to get all of the buttons next to each other, with little or no gaps. I've tried making a table and putting

  • Printing duplicate pages

    I am encountering duplicate printing using my MacBook Pro to print to a Kyocera 2550ci Multi-function color printer.  This is in an office environment.  Irrespective of the application I use, I get 7 copies of each page of each document I print.  Thi

  • Mini display is shutting down computer.

    I've been using a mini display to HDMI cord for awhile and nothing has been wrong with it until the other day. When I plugged the mini display into the port on my 13 inch MacBook Pro, it just shut down. Does anyone know why?

  • Error in Partner in PCUI

    Hi, We are using CRM 5.0 and PCUI as interface. We have created a partner determination procedure and assigned to the transaction type activity. When we process the transaction, the partner processing takes place and we get the following error in the

  • Problem with personnel number

    Hi all, I deleted all the personnel number using the Report RPUDELPN  but know when I tried to generate the hiring process again I get the personnel number from the position where it was deleted.Let me explain this.... Suppose I deleted the number fr