Display Month when RKF =0

Hi everybody
I'm building a Quality Notifications (QN) Report for the last 12 months that will be run for one Vendor at the time.  I have a Restricted Key Figure [RKF](using an Item Counter RKF pre-built by our company) that is counting how many QN's a supplier have for a given month, and returns the result.  My problem is that if there is no QN for a specific Month, the Month won't appear in my report since my RKF is not returning a "0 value" if nothing happens.  I need a fast way ('cause I want this report to run in less than 20 sec) to force my RKF to display the month, even if no QN's have been raised... Have any sugesstions?
Eric L.

Hi Eric
I was able to do something similar to this and get the month to display even though there was no data for a particular month.  The way you can do it is to create a new restricted key figure in your query, restricting the existing rkf by one month.  If your report lists a rolling year, you can accomplish the results by creating 12 new rkf's in the query restricted on current month, current month-1, current month -2, etc.  If your report lists a full calendar year you can accomplish this by using the variable last month booked of previous year + 1 to give you Jan, last month booked of previous year + 2 to give you Feb, etc.  When you create your new query rkf's, if you use &ZCMTHTX& in the description of each new rkf, when your run the query the correct month name and year will be displayed.

Similar Messages

  • Displaying Months in Matrix Report like Jan-01  Feb-01

    How can I display Months like Jan-01 Feb-01 in Matrix Report of Oracle Report 6i.
    I tried using to_char(myDate,'Mon-YY') but it displayed months in Alphabetical Order like Apr-01 Aug-01 and so on.
    I need something like this.
    Item Jan-01 Feb-01 Mar-01 Apr-01
    Item-A 100 200 300 400
    Item-B 100 200 300 400
    Best Regards,
    Luqman

    Dear Dan,
    Thanks for your suggestion.
    My problem is to display Oracle Data (Hiredate Field of Oracle Scott.Emp Table) in Matrix Report of Oracle Report Version R6i in the format of :
    Dec-80,Feb-81 etc. as under:-
    EmpNo Dec-80 Feb-81 Apr-81 May-81
    7369 800
    7499 1600
    7521 1250
    7566 2975
    7698 2850
    The query I tried in Sql Statement Window of Oracle Report R6i is as under:-
    select empno,sal,to_char(hiredate,'Mon-YY') from emp
    order by to_char(hiredate,'YY-MM')
    The above query shows correct exactly what I need, when run in Oracle Sql Plus but in Matrix Report, it seems its Order By clause not working.
    Your suggesion is related to change the format of today's date and not with Oracle Data, I presume.
    I will appreciate if you please let me know directly at my E-Mail: [email protected] if you find any solution for my above problem.
    Best Regards,
    Luqman

  • Performance impact on displaying images when tested with loadrunner

    Hi,
    We have a page in the application that displays PDF images to the user.
    The PDF's are stored on HP-UX file system and have the BFILE path
    of the image stored along with other meta-data. The ave size of the PDF is around 250 kb.The images are displayed fine when the user wants to view the images.
    The problem we have been facing is more related to performance.
    When loadrunner tests were conducted to allow 75 users to concurrently
    view the images, the CPU utilization shoots up to 100%.
    All other resources such as memory, io are fine and the image display time is
    within acceptable limits.
    Are there any settings or configurations that can be done to bring done the CPU utilization totolerable limits. Also the box hosts other application which we fear might be impacted and henceit is very important for us to bring down the cpu utilization
    The code to display the PDF is similar to the one in sample app
    PROCEDURE DISPLAY_PDF_PRC (IMAGE_PATH_I IN BFILE)
    IS
    V_BLOB BLOB;
    V_BFILE BFILE;
    BEGIN
    V_BFILE := IMAGE_PATH_I;
    V_BLOB := EMPTY_BLOB();
    DBMS_LOB.CREATETEMPORARY(V_BLOB, TRUE);
    DBMS_LOB.FILEOPEN(V_BFILE,DBMS_LOB.FILE_READONLY);
    DBMS_LOB.LOADFROMFILE(V_BLOB,V_BFILE,DBMS_LOB.GETLENGTH(V_BFILE));
    DBMS_LOB.FILECLOSE(V_BFILE);
    OWA_UTIL.MIME_HEADER('application/pdf', FALSE);
    OWA_UTIL.HTTP_HEADER_CLOSE;
    WPG_DOCLOAD.DOWNLOAD_FILE(V_BLOB);
    DBMS_LOB.FREETEMPORARY(V_BLOB);
    EXCEPTION
    WHEN OTHERS THEN
    Htp.Prn('No image found.');
    END;
    We first thought creating the temporary blob might be costly and modified the code to use lob locator.Still the CPU utilization was over 100%.
    The next thing we tried was to eliminate the creation and usage of BLOBs altogether and directly render the images from the BFILE as mentioned in the code below and tried to use the browser caching also.
    PROCEDURE DISPLAY_PDF_PRC (IMAGE_PATH_I IN BFILE)
    IS
    V_BFILE BFILE;
    BEGIN
    V_BFILE := IMAGE_PATH_I;
    htp.p('Expires: ' || to_char(sysdate + 1/24, 'FMDy, DD Month YYYY HH24:MI:SS'));
    OWA_UTIL.MIME_HEADER('application/pdf', FALSE);
    OWA_UTIL.HTTP_HEADER_CLOSE;
    WPG_DOCLOAD.DOWNLOAD_FILE(V_BFILE);
    end;
    Still the CPU utilization is over 100%.
    So can you please point to any configurations that neeed to be done on Apache App server/DB server or any optimizations at the code level to restrict the CPU utilization.
    Thanks in Advance
    Rakesh

    Typically, you do not refer to PDFs as images. Common image formats are .jpg, .gif, .png, .bmp, etc.
    Can you store them directly on the file system and just reference their URLs instead of reading them out of the database? If so, this should all but eliminate the CPU load.
    If you only have one database on this machine, you can use the database resource scheduler to throttle the CPU utilization of the sessions downloading images. If you have more than one db, then the Resource Manager is basically useless, which is one of the main reasons to only install one db per machine.
    Another thought is to use a web cache instance in front of the HTTP Server if their are a lot of repeat views of the same PDFs. This way you cache the first view of the PDF on the web cache tier so subsequent requests don't go against the db.
    Yet another option (though not out for HP-UX yet) is the 11g "Secure Files" option. I've done some informal testing on this last week and read performance was easily 3x faster than traditional LOBs. My tests weren't very scientific as I was using VMWare on a laptop which generally has very poor physical I/O performance. They claim reads performance is comparable to the Linux file system.
    Tyler

  • 27" Cinema display flickers when woken from sleep

    I've noticed that my 27" Apple Cinema display flickers briefly when woken from sleep.
    I have had the display for 8 months, and haven't noticed this before.
    It flickers (or flashes), just once when the display wakes when the computer is woken from sleep. It only affects the bottom third of the display.
    Once it has properly woken, and flickered once, it then works o.k.
    Has anyone else had this?
    Thanks.
    Bob.

    Yeah - I'm trying to verify that 100% right now. I know that I won't get full functionality from the TB dispaly (no TB, FW or ethernet on the back of the monitor) but if I can get video and USB between the Mac and the displays, that would be enough. I haven't seen any docuemtnation anywhere deatailing wether or not that TB displays will work with existing video cards / Mac Pro's, or if I'll have to do a full round of upgrades including my Mac Pro and the ATI 5770. And as you know, there are no TB video cards on the market at this time. My timing basically *****...
    My plan was to return the Cinema Displays while I still can, fall back to a spare Dell 21" that I have lying around the house for a few weeks (yukkkk..), and then figure out what to do with the TB diplsay as they get closer to release. I'm contempling upgrading my Mac Pro, but if I can stick with what I have, it would save me some cash.I woudln't even mind upgrading my video card, but I just dropped $2000 on these 2 Cinema Display's last week, and I feel like they are already outdated.
    PS - I am constantly selling gear, so resale value and having the "latest and greatest" are pretty important to me, hence the interest in the TB displays.
    Bobby

  • Battery , time , signal strength bar is not getting displayed in home screen , these will be displayed only when i click on any app. Can u let me know the setting change ?

    Battery , time , signal strength bar is not getting displayed in home screen , these will be displayed only when i click on any app. Can u let me know the setting change ?

    Did you check the Zoom setting?
    Have you tried a reset (reboot)? Hold HOME and SLEEP until an Apple logo appears.
    If it isn't Zoom and a reboot doesn't help try Settings/General/Reset - Reset all settings

  • I cannot change the value in about:newtab from "newtab" to "blank." The dialog is displayed but when I click Ok, the value is not changed.

    I cannot change the value in about:newtab from "newtab" to "blank." The dialog is displayed but when I click Ok, the value is not changed.
    ===Answer===
    Comment on usual method and solution, by a forum Moderator.
    As long as there are no confounding factors, such as certain extensions, or a user.jsfile the procedure is as follows
    # Open a new tab and type "about:config" in the address bar.
    # In the Search bar type: "newtab"
    # Locate and double click "browser.newtab.url"
    # In the "Enter String Value" box change "'''about:newtab'''" to "'''about:blank'''" and click OK.
    # Verify that the value has changed and now all new tabs will be blank.
    See post under by ''pirate048'' [/questions/976589?page=2#answer-509482] ~J99

    Have to say that I rather agree with Mark..all we want is a simple, unadorned clean page that doe not track and show usage!! WHY NOT!! Is it too simple for developers..we aren't all (nor do we want to be!) software experts! Come on Mozilla..tidy up and clean up..it might be a quicker programme too!!

  • Customer exists for displaying monthly bugs per release

    I hav only little know ledge in ABAP. I hav to code for a variable, that has to display monthly incoming bugs per release.
    Dim Product
    Info Productrelease
    based on this i hav to display the data in report like this
    created week               2005.03 ...... 2006.03 2006.06 2006.09....
    06/17/2006                   32                   34              343         4324
    06/24/2006                   43                   45               56            454
    please specify a solution.
    Thanks in advance
    james

    I hav a cube with tech name zssen
    in that cube product is a Dimension with technical name zprdpid
    in that dimension i hav a infoobject called product description.
    product contains different like embedproducts like vg1, vg2 vg3 and so on
    productrelease contains descriptions of  releases 233.1 32.3 3443.34 and so on
    each new release i hav to create to restricted key(2006.09) figure based on the variable created on product release(for example 2006.09 ).
    instead of above procedure i have to create a new variable that has to automatically recognise the new version and it has to display on the report.
    please suggest me how to write the code for above scenerio.
    if u want a detailed description i will send a mail.
    please leave your mail id if possible.
    Thanks,
    James

  • I am stumped I do not understand why my roommates macbook pro when duel screened will display perfectly on my monitor while mine refuses to, but mine will display perfectly when using another monitor that is not mine. Please help me out.

    One day when using my duel display the second monitor decided it wouldn't display at full resolution in the middle of doing something i was confused. I use a mini display to hdmi then hdmi to the second monitor. I thought maybe the converter or cable died. I bought another another mini display to hdmi and tried another hdmi cord and the same issue. My roommate has macbook pro as well so i decided to see if it was the monitor, when i pluged the mini display converter into his and used the external monitor it displayed perfectly not below resolution. Doing this I knew it was not the monitor or the mini display to hdmi or the hdmi cable. I took it into the genuis bar assuming now that it was my grapics card or logic board. When the genuis went to duel screen it on a cinema display it displayed perfectly. So went home tried to duel screen it again and still not displaying at full resolution. That is where I am stuck, in summary:
    My screen used to display perfect resolution on a second monitor and suddenly did not.
    Tested two mini display to hdmi and hdmi cords both were fine.
    Tested to see if monitor was issue but displayed perfectly when i used roommates laptop.
    Went to genius bar and displayed perfectly on second monitor so it can display perfect resolution on apples monitors but will not do so anymore on my monitor, even though roommates macbook pro will display perfect resolution on my monitor.
    I am beyond confused.

    Apparently you have tried everything except - take the monitor in question to the Apple Store along with your computer.  If it works there, the mystery continues.

  • Can't display month view

    Every time I try to display month view on my calendar ical just disappears, it can't do it for some reason. It can display week or day views just not month. Does anyone know what might be going on?

    Hi Dereck,
    Try deleting iCal's preference file.
    See this link for how to do this:
    http://discussions.apple.com/message.jspa?messageID=1032377#1032377
    Best wishes
    John M

  • Display Month and 12 previous Months

    I am trying to create a report (CRXI) which will display month data for the current month and the 12 previous months.   I am going to use subreports (similar to a calendar report) but am having trouble displaying the 12 previous month, year  headers.  
    I get the current month, year from a prompt date and then need to decrease a month for 12 months.  
    Any help would be appreciated.

    Hi Martha,
    If you want to create a report for last 12 months and don't want to include present month then use the record selection for main report as
    (month({DateField}) < month(currentdate)
    and
    year({DateField})= year(currentdate))
    or
    (month({DateField})>=month(currentdate)
    and
    year({DateField})=year(currentdate)-1)
    and in the subreport use the record selection to get current month date as
    (month({DateField}) =month(currentdate)
    and
    year({DateField})= year(currentdate))
    Regards,
    Raghavendra

  • Display Month name Year

    Hi,
    Which variable Displays Month name Year (Exaple: July 2007)???
    Help will be gratly appreciated...
    Thanks...

    Hi,
    Thanks for your information..
    But i am not getting like month and year display( Example:  Sept 2007)
    I am using Text variable 0P_FPER on 0Fiscal year/period..
    and entering Input as 006.2007 then the resultant query displays as 06.
    Please suggest me how to do it??
    For entry i should give 006.2007 (or) Sept 2007..
    But in the result it should display as Sept 2007..
    Help will be greatly appreciated...
    Thanks

  • Display month and year in dropdown list on selection screen

    Hi
      Can anyone tell me how to display months and year in a dropdown list on a selection screen?
      also please tell me how to get the first and the last dates upon selecting the month and year on the dropdown list.
    Month: January Year:2007 . 
    After selecting the required month and year, the first date and last date i.e '01.01.2007 - 31.01.2007' should be displayed on the right side.
    Reward Points assured..
    thanks,
    Chetan

    Hi..,
    <b>
    Just copy, paste and execute this program !!</b>
    type-pools: vrm.
    parameters : p_month(2) type n as listbox visible length 10,
    p_year(4) type n as listbox visible length 10.
    DATA : W_DATE type d, w_ldate type d.
    initialization.
    perform user_drop_down_list_fordt.
    perform user_drop_down_list_foryr.
    start-of-selection.
    concatenate p_year p_month '01' into w_date.
    call function 'BKK_GET_MONTH_LASTDAY'
      exporting
        i_date        = w_date
    IMPORTING
       E_DATE        = w_ldate
    write /: w_date,w_ldate.
    build user_drop_down_list
    form user_drop_down_list_fordt.
    data: name type vrm_id,
    list type vrm_values,
    value like line of list.
    data: t_months type t247 occurs 0 with header line.
    clear list. refresh list.
    name = 'P_MONTH'.
    select * into  table t_months
    from t247 where spras eq 'EN'.
    sort t_months ascending by mnr.
    loop at t_months.
    clear value.
    value-key = t_months-mnr.
    value-text = t_months-ltx.
    append value to list.
    endloop.
    Set the values
    call function 'VRM_SET_VALUES'
    exporting
    id = name
    values = list.
    endform.
    for year...
    form user_drop_down_list_foryr.
    data: name type vrm_id,
    list type vrm_values,
    value like line of list.
    clear list. refresh list.
    name = 'P_YEAR'.
    do 9999 times.
    clear value.
    value-key = sy-index.
    append value to list.
    enddo.
    Set the values
    call function 'VRM_SET_VALUES'
    exporting
    id = name
    values = list.
    endform.
    <b>
    Hope this solves ur problem..</b>
    regards,
    sai ramesh

  • Display Month

    hi all
    how to display month in text-item and change at it every month.eg. this is 9 month after 30 days it change into 10 and after 10 it show 11..
    sarah

    Sarah,
    Use TO_CHAR function.
    SELECT TO_CHAR(SYSDATE, 'MONTH') FROM DUALRegards,
    Manu.
    If this answer is helpful or correct, please mark it. Thanks.

  • Display Month verbiage on chart but sort by month number

    Hello,
    I have inserted a simple bar chart (values by month for a single year) and my goal is to get the data values to group by month.
    I found that I can achieve this by using a formula that extracts the month from my Date/TIme field MONTH({Command.OB_DELIVERY_DATE}).
    This works OK and displays months as 1, 2, 3,  etc. on my chart), but I want to display the month text instead (Jan, Feb, Mar)
    I tried a second variable:  ToText({Command.OB_DELIVERY_DATE},'MMMM')
    This works in displaying the verbiage of the months, however, the problem is that it groups the months on my chart alphabetically now (April is now my 1st month instead of January).
    What is the trick to displaying month verbiage on my chart, but still sorting these months in their proper numerical order?
    Many Thanks!

    Hi Dave,
    Try this please:
    1) Insert a Crosstab and place it on the Report Header. Use the Delivery Date field as the row and add the measure field as the Summary Field with the right Sum function
    2) Highlight the Delivery Date field > Group Options > set it to print 'For Each Mointh'
    3) While in the Crosstab Expert highlight the Delivery Date field > Click Group Options > Options  tab > check the option 'Customize Group Name field' > Select 'use formula as group name' and click the formula button beside. Use this code:
    ToText({Command.OB_DELIVERY_DATE},'MMMM')
    4) Right-click the Crosstab and select Insert Chart. Choose the right Chart Type
    5) Suppress the Section that holds the Crosstab
    Hope this helps.
    -Abhilash

  • Display wakes when Remote iPhone app connects to iTunes

    Ever since I installed Lion, I've noticed that now whenever I use the Remote app on my iPhone to connect to my iTunes library, it wakes my iMac's display. When I had Snow Leopard installed, the display would remain asleep, no matter what actions I took with the Remote app. Now, just having the app connect to my iTunes library wakes my iMac's display from sleep--kind of annoying when you want to listen to music to go to sleep.
    Since this is occuring with the same iMac, iPhone and same version of Remote, I have to assume it's Lion specific.
    Anyone else having these issues?

    Yep.  I am having the same exact issue.  Except it started for me with iTunes 10.4 before I ever upgraded to Lion.  I was kind of hoping that Lion would fix it.  I too listen to music going to sleep and would really like the Remote app NOT to wake up my display, illuminating my entire room.

Maybe you are looking for

  • Custom Report using Metrics of Instance and Server

    Hello I need to create a custom report using different instance and server metrics like: File System Space Available Tablesapaces Database Spaces usage Sort in Memory library Cache Hit Data Dictionary Hit Buffer Cache Hit I already made the report, b

  • Updated OS & now Time Capsule icon isn't showing up on desktop

    Just finally upgraded to 10.5. Now my Time Capsule icon isn't showing up on my desktop. Light is green on TC and I can navigate to it through Macintosh HD folder, then shared devices. I just used it as an additional external hard drive at this point.

  • Question about CS3 Behavior

    i am using behavior, how do i make a behavior that when i roll over a spot, another spot changes?

  • Workflow not trigered in the MDM:POST Process Material.

    Hi Workflow Experts,             I have copied the standard workflow ws47300003.This workflow is trigeered whenever the material has been changed and send mail to respective user.            Here i have  a problem that, after changing some data in ma

  • Find tool cant find photos

    I am trialing Lightroom 1.2 from Win XP Pro with all updates applied. If this matters, I have done both manual Metadata writes and auto-writes to my images. I am having a problem with the "Find" feature. Basically it can't reliably and consistently f