The dashboard propmt not showing desired results

Hi,
I have propmt created using this condition.But it is not showing me the desired results.The code seems to be correct.any help plz...
case when TimeStampDiff(SQL_TSI_DAY,"TB1".CL1,CURRENT_DATE) between 0 and 30 or TimeStampDiff(SQL_TSI_DAY,"TB1".CL2,CURRENT_DATE) between 0 and 30 then '30 days'
when TimeStampDiff(SQL_TSI_DAY,"TB1".CL1,CURRENT_DATE) between 31 and 60 or TimeStampDiff(SQL_TSI_DAY,"TB1".CL2,CURRENT_DATE) between 31 and 60 then ' last 60 days'
when TimeStampDiff(SQL_TSI_DAY,"TB1".CL1,CURRENT_DATE) between 61 and 90 or TimeStampDiff(SQL_TSI_DAY,"TB1".CL1,CURRENT_DATE) between 61 and 90 then 'last 90 days'
else '> 90 and max 100 Days' end

Hi,
Create a dummy column for the below code
case when TimeStampDiff(SQL_TSI_DAY,"TB1".CL1,CURRENT_DATE) between 0 and 30 or TimeStampDiff(SQL_TSI_DAY,"TB1".CL2,CURRENT_DATE) between 0 and 30 then '30 days'
when TimeStampDiff(SQL_TSI_DAY,"TB1".CL1,CURRENT_DATE) between 31 and 60 or TimeStampDiff(SQL_TSI_DAY,"TB1".CL2,CURRENT_DATE) between 31 and 60 then ' last 60 days'
when TimeStampDiff(SQL_TSI_DAY,"TB1".CL1,CURRENT_DATE) between 61 and 90 or TimeStampDiff(SQL_TSI_DAY,"TB1".CL1,CURRENT_DATE) between 61 and 90 then 'last 90 days'
else '> 90 and max 100 Days' endfilter it as is prompted for that column after giving filter as is prompted you can hide that column or remove it.
Save the report
Assign points and close thread, if your question is answered....
Cheers,
Aravind

Similar Messages

  • Query not showing desired result

    Hi All,
    DB :-10.2.0.3
    I am using following query to extarct the backuppice, which falls between the dates specified by query. I am really amazed, why it's not giving me the expected results.
    select handle, to_char(start_time, 'dd-mon-yy hh24:mi:ss') "start_time" , to_char(completion_time, ' dd-mon-yy hh24:mi:ss') "end_time" from
    v$backup_piece where
    to_char(start_time,'dd-mon-yy hh24:mi:ss') >'27-oct-10 23:00:00'
    and
    to_char(completion_time,'dd-mon-yy hh24:mi:ss')<'28-oct-10 04:20:53'
    Results truncated, just to fit in this window.
    23:02:25
    /data/oracle/LNEVRPP1/backup/database/c-465769364-20100927-0c                         27-sep-10 23:02:39           27-sep-10
    23:02:40
    /data/oracle/LNEVRPP1/backup/database/LNEVRPP1_ctl_l1_t730854174_s32554_p1.rmn        27-sep-10 23:02:58           27-sep-10
    23:02:59
    /data/oracle/LNEVRPP1/backup/database/c-465769364-20100927-0d                         27-sep-10 23:03:02           27-sep-10
    23:03:02
    /data/oracle/LNEVRPP1/backup/database/LNEVRPP1_arc_l1_t730854220_s32556_p1.rmn        27-sep-10 23:03:41           27-sep-10
    23:03:44
    /data/oracle/LNEVRPP1/backup/database/c-465769364-20100927-0e                         27-sep-10 23:03:51           27-sep-10
    23:03:51
    /data/oracle/LNEVRPP1/backup/database/LNEVRPP1_dbf_l0_t733532449_s33531_p1.rmn        27-oct-10 23:00:50           27-oct-10
    23:36:00
    /data/oracle/LNEVRPP1/backup/database/LNEVRPP1_dbf_l0_t733534566_s33532_p1.rmn        27-oct-10 23:36:07           27-oct-10
    23:48:38
    HANDLE                                                                                start_time                  end_time
    /data/oracle/LNEVRPP1/backup/arc2adsm/LNEVRPP1_arc_l0_t733536053_s33534_p1.rmn        28-oct-10 00:00:54           28-oct-10
    00:01:13
    /data/oracle/LNEVRPP1/backup/database/c-465769364-20101028-00                         28-oct-10 00:01:22           28-oct-10
    00:01:23
    /data/oracle/LNEVRPP1/backup/database/LNEVRPP1_dbf_l0_t733535322_s33533_p1.rmn        27-oct-10 23:48:43           28-oct-10
    00:20:06
    /data/oracle/LNEVRPP1/backup/database/LNEVRPP1_dbf_l0_t733537209_s33536_p1.rmn        28-oct-10 00:20:10           28-oct-10
    00:33:44
    /data/oracle/LNEVRPP1/backup/database/c-465769364-20101028-01                         28-oct-10 00:33:47           28-oct-10
    00:33:48
    /data/oracle/LNEVRPP1/backup/database/LNEVRPP1_ctl_l0_t733538041_s33538_p1.rmn        28-oct-10 00:34:04           28-oct-10
    00:34:04
    /data/oracle/LNEVRPP1/backup/database/c-465769364-20101028-02                         28-oct-10 00:34:06           28-oct-10
    00:34:07

    Hi
    Try:
    select handle, to_char(start_time, 'dd-mon-yy hh24:mi:ss') "start_time" , to_char(completion_time, ' dd-mon-yy hh24:mi:ss') "end_time"
    from v$backup_piece
    where start_time > to_date ('27-oct-10 23:00:00','dd-mon-yy hh24:mi:ss')
    and completion_time < to_date ('28-oct-10 23:00:00','dd-mon-yy hh24:mi:ss')
    Regards,
    Tycho

  • Sdo_nn is not showing desired results

    Hello,
    We have the following query :
    SELECT p.codigo_proveedor_ca, p.descripcion AS Proveedor, DECODE(p.habitual,0,'N','S') AS HAB, DECODE(p.h_24,0,'N','S') H24,
         b.codigo_base, b.tipo_via || ' ' || b.nom_via || ',' || b.numero_via || ' ' || B.PISO AS DIRECCION_PROV, b.codigo_pais,
    b.codigo_provincia, b.codigo_ine, b.codigo_zona, mg.numero AS NUMERO_GEN, b.localidad, ROUND(MDSYS.SDO_NN_DISTANCE(1),0) AS DISTANCIA,
    b.GIS_X, b.GIS_Y, b.GIS_NIVEL_XY, b.GIS_GEO_OK, b.GIS_TIPO_SRIDENUM
    FROM SAT_BASES_PROVEEDORES b,
         SAT_BASE_PROVEEDOR_MEDIOS_GEN mg,
         SAT_PROVEEDORES_CA p
    WHERE b.codigo_pais = 'ESP' AND b.activo = 1
    AND mg.codigo_proveedor_ca = b.codigo_proveedor_ca AND mg.codigo_base = b.codigo_base
         -- Medio Genérico 'TAXI'
         AND mg.codigo_medio_generico = '2' AND mg.activo = 1 AND P.ACTIVO = 1
         AND p.codigo_proveedor_ca = b.codigo_proveedor_ca
         -- Coordinates of GRANOLLERS
         AND SDO_NN(b.GEOMETRIA,MDSYS.SDO_Geometry(2001, 1000000,MDSYS.SDO_Point_type(188161,5043776,NULL),NULL, NULL) ,
         'SDO_BATCH_SIZE = 25', 1 ) = 'TRUE'
    ORDER BY DISTANCIA;
    What we want is to get the providers which are near to a given town. To get this we are using SDO_NN function and also
    SDO_NN_DISTANCE to calculate the distance to the given coordinates.
    Our problem is that there are two providers with the same coordinates that should be shown in the query result but one of them is not shown and we don't understand why.
    If we use SDO_NUM_RES instead of SDO_BATCH_SIZE the provider is shown, but as far as I know, if you use this parameter not all the WHERE clauses are evaluated. Am I wrong?
    What are we doing wrong?
    Thanks in advance,
    Eva.

    Are you on Oracle 9i? In 9i, I have never been able to get this query to work successfully this way. I had to rewrite it to use a in-line view and a rownum and make some other changes. I think it is buggy, as are many of the 9i spatial objects (full of horrid memory leaks etc.)
    I have been able to hack around the fact that it cannot find the nearest neighbor on it's own, by using an inline view in this way, but it has holes, I am sure:
    Select DISTANCE, (list all your other selections) from
    SELECT /*+ordered*/ SDO_NN_DISTANCE(1) DISTANCE, p.codigo_proveedor_ca, p.descripcion AS Proveedor, DECODE(p.habitual,0,'N','S') AS HAB, DECODE(p.h_24,0,'N','S') H24,
    b.codigo_base, b.tipo_via || ' ' || b.nom_via || ',' || b.numero_via || ' ' || B.PISO AS DIRECCION_PROV, b.codigo_pais,
    b.codigo_provincia, b.codigo_ine, b.codigo_zona, mg.numero AS NUMERO_GEN, b.localidad, ROUND(MDSYS.SDO_NN_DISTANCE(1),0) AS DISTANCIA,
    b.GIS_X, b.GIS_Y, b.GIS_NIVEL_XY, b.GIS_GEO_OK, b.GIS_TIPO_SRIDENUM
    FROM SAT_BASES_PROVEEDORES b,
    SAT_BASE_PROVEEDOR_MEDIOS_GEN mg,
    SAT_PROVEEDORES_CA p
    WHERE b.codigo_pais = 'ESP' AND b.activo = 1
    AND mg.codigo_proveedor_ca = b.codigo_proveedor_ca AND mg.codigo_base = b.codigo_base
    -- Medio Genérico 'TAXI'
    AND mg.codigo_medio_generico = '2' AND mg.activo = 1 AND P.ACTIVO = 1
    AND p.codigo_proveedor_ca = b.codigo_proveedor_ca
    -- Coordinates of GRANOLLERS
    AND SDO_NN(b.GEOMETRIA,MDSYS.SDO_Geometry(2001, 1000000,MDSYS.SDO_Point_type(188161,5043776,NULL),NULL, NULL) ,
    'SDO_BATCH_SIZE = 25', 1 ) = 'TRUE'
    AND ROWNUM < 1000
    ORDER BY DISTANCE
    WHERE ROWNUM < 2';
    This should give you the closest result. If you want the closest 2, you would set that in the last line. I had to mess around with the rownum < 1000 line in my query. It appears that the order by distance has no affect. If I set it to ROWNUM < 50, often times, the closest 2 items weren't in the inner select elements. So they weren't available in the outer results.
    I also found this issue very frustrating. I actually had a hard time believeing it was so junky, until I proved it was the problem with this statement. Please let us know if it solves your issue also.

  • After upgrading to iOS 8, the weather app does not show up results for any of the Indian States/cities

    After upgrading to iOS 8 on my iPhone 5, the weather app does not show up results for any of the Indian States/cities. Can Apple look into this or does anyone have a solution to this.

    Swipe from bottom of days listed ("Wednesday, Thursday, Friday, etc")  upwards.  I thought it was gone too but it's still there~just takes different way to access it.

  • Dashboard is not showing on the Dashboard banner (menu)

    I have created total 15 Dashboards. In that when i am opeining Presentation services only 7 Dashboard's showing. Remaining Dashboard's not showing. I given access every one to Read to all the Dashboards
    and One Dashboard opening by default but it is not showing in the Dashboard banner. please reply your Answers. Thanks in Advance.

    Go to Dashboard properties through the Catalog, chances are the missing ones are either hidden, system or do not index.

  • On an iPod Nano 2G, the iPod will not show in iTunes

    Using an iPod Nano 2 G, when I plug it into a Mac, the iPod will not show in iTunes. The iPod will charge, but will not sync. This happens across multiple Mac's, so the issue seems to be the Nano, not the computer(s). The iPod will actually show for about 2 seconds in the left sidebar, then it disappears. Any suggestions about how to either fix this, or maybe how to restore the iPod's software. The iPod otherwise seems to be working correctly, i.e. will play music, etc. we have tried switching ports, cables and computers, same results. 

    Did you do everything here:
    iOS: Device not recognized in iTunes for Windows
    Including
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    or
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    Do other USB devices work on the computer/USB port??

  • I have downloaded a movie with subtitle to iMovie. When playing the video, the subtitle does not show up through the entire video. It happens to my Mac Air and Mac Pro.

    I have downloaded a video with subtitle. When playing the edited video, the subtitle does not show up in the entire video. The subtitle comes and goes in the video.I have tried with my Mac Pro and Mac Air, with the same result. I have downloaded movie with subtitle before and never had this problem. Please advise.

    I'm not very knowledgable on this but subtitles are sometimes on a separate track from the main movie.  Try opening the downloaded video in Quicktime Player and saving it - you may be asked if you want to "flatten movie".  Choose to do this.  The resulting movie will probably now work OK.  Others may be able to supply more comprehensive instructions.
    Geoff.

  • IOS 8:  spotlight not showing wikipedia result snippets

    hi
    running 8.0.2.
    iOS 8:  spotlight not showing wikipedia result snippets.
    it does show the static Search Wikipedia link however.
    how to get the spotlight search snippets of wikipedia to show, as advertised?
    thanks

    Turn Spotlight Suggestions on and off a few times. If it still doesn't work try a reset. Press and hold both the home and power buttons 10-15 seconds till the Apple logo appears. Release both buttons. Wait 15-20 seconds till your iPad starts on it's own.
    I'm using a iPad but I can't see that making a difference.

  • VL06I Inbound delivery monitor not showing correct results

    Dears,
    We are creating inbound deliveries on the basis of POs and creating GR via MIGO after eliminating movement type in line item catageory by using SPRO. For monitoring we would like to use VL06I but its not showing correct results.
    Can anyone guid me ?
    Regards,
    FR

    You can list all Inbound Deliveries by selecting "List Inbound Deliveries"  Tab in VL06I
    May be if you can little elaborate the issue

  • Query not showing detailed result when run through query Designer or Portal

    Hi,
    There is one query which not showing detailed result while running through Query Designer or run in Portal.
    But strange thing is that it is showing the detailed result when i run it through BeX Analyzer.
    While all the other queries don't have this problem in system. All showing the correct detailed result.
    If anyone have some idea on this issue plz let me know.
    Regards,
    Javed
    Edited by: Javed Akhtar on Jul 7, 2009 3:59 PM

    Hi,
    We can do this setting in WAD. Please check the web template and try to remove that setting. When you have hierarchy then we can display only till certain level in portal, this setting is done in web template APIs, but in bex analyzer you can see all the detailed information.
    Edited
    Go through this thread for some more detailed information
    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/7b5f0a95ce12d0e10000000a422035/frameset.htm
    Regards,
    rik

  • Spotlight is not showing any results!

    I just upgraded to Leopard and now my spotlight app will not show any results when typed upon. I have tried to re-index the volume through system pref. but it didnt work. Anyone know any other methods to get it back into shape? thanks

    enter the following terminal commands form an admin account:
    sudo mdutil -i off /
    sudo mdutil -E /
    sudo mdutil -i on /
    please copy and paste them exactly as given. you'll have to enter your admin password (which you won't see) after the first command. that's normal.
    the commands turn spotlight off, delete the index and turn it back on.

  • QUnit not showing any results - VisualStudio 2013

    In Mircrosofs book:
    "Programming in HTML5 with JavaScript and CSS3" there is testing with QUnit.
    Have done exactly as the book describes with in an example with an webcalculator in excersise 3.
    But when I run the debugging with QUnit does not show any results.
    It does not matter if I program an
    error..nothing is displayed when I´m start debugging.
    Only a blue line with the following:
    Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
    My question:
    How do I make QUnit to show something?
    I really appreciate your answer
    :0)

    Hello,
    Please post your question in ASP.NET forums here:
    http://forums.asp.net/
    Thanks for your understanding.
    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.

  • Not showing any results V_V2 resheduling sales and stock transfer documents

    My client using   IS Retail .  First i create sales order i want resheduling perticular order through V_V2  i enter article and site ,process sales documents,process stock transfer order,unconfirm quantity and leave simulation   but it does not showing any results...previous showing from 2008 to 2010 sales orders only....
    Please give answer i am waiting your reply...
    Edited by: amitp2121 on Mar 3, 2011 11:57 AM

    Hi Hweiling,
    In my opinion V_V1 used to create confirmed backorder (line item where confirm quantity in first schedule line is 0 and there is no second schedule line) .
    V_V2 is used when you want to alocate your stock based of priority or some criteria.
    For example you have order 1 that created on 07.2007 confirmed but you hasn't delivered yet,  then you have order 2 that created on 08.2007 it's not confirmed, and you have the other order 3 that create on 01.2008 and it's confirmed ready to deliver 03.01.2008. You can use V_V2 to alocate the stock to first order, 2nd order and third order. So you can deliver the first order first, 2nd order and then the 3rd order will be in backorder.
    If you run V_V1, it's only update the stock for second item (if stock is enough).
    If you think why it's not update the order that you want  when you run V_V2, please check the criteria and the stock.
    Guys please correct me if I am wrong.
    tsalasi

  • Why the content of the Explain Plan not show out?

    Why the content of the Explain Plan not show out?
    I am using Oracle 11g.
    I already ran the utlxplan.sql sctipt and I also set serveroutput on.
    SQL> set autotrace on
    SQL> EXPLAIN PLAN FOR SELECT*FROM DEMO_TABLE WHERE OWNER='HR';
    Explained.
    Elapsed: 00:00:00.67

    When you say:
    My release 10.2 database display the Explain Plan automatically.
    How to make 11.1.0.6 Oracle database to display the Explain Plan automatically.What do you mean? Specifically, what commands are you executing in the 10.2 database, that displays the execution plan "automatically"?
    Are you saying that if you execute the same command in 11.1.0.6, you don't get a similar result? What happens? Do you get an error?
    For both the 10.2 case and the 11.1.0.6 case, post the full output of the commands you're executing, and the result you are seeing.
    Then, maybe someone can help you.
    When you post the output, please encapsulate it in a pair "code" tags, which is the word "code" without the quotes, surrounded by a pair of curly braces {}.
    When you do this correctly, the output looks like:
    This is output from my execution plan run.and is much easier to read.
    Don't be afraid to use the preview tab to see if your message will be posted with the correct formatting.
    -Mark

  • Need a link for FF sent to my email. The link is not showing up on my IE page on my new computer in IE 8 or IE 9

    Need a link for FF sent to my email. The link is not showing up on my IE page on my new computer in IE 8 or IE 9

    Did you set up virtual pads to assign the Simmons kit in layout mode? In layout, select the group controls tab in the screen control palette. Select the desired pad group(8, 12, or whatever) and drag it onto the layout area. Select a pad and press assign in the screen control inspector. Tap on a Simmons pad and it should be able to learn the pad assignment and note number. Repeat for the other pads. Hope it works for you.

Maybe you are looking for

  • Special character in receiver xml

    Dear All, I have a file being moved from SAP to Market end point server. The receiver side is in xml format (no FCC) Code page conversion is used - UTF8 TO UTF16LE A special character is occurring in the receiver side: [] It is actually new line char

  • [SOLVED] dhcpcd: timed out

    I want to install Arch using wifi. I'm trying to connect to my WPA network before I even begin. I did this (with my own network and passphrase in place) wpa_passphrase mywireless "secretpassphrase" wpa_passphrase mywireless "secretpassphrase" > /etc/

  • ICR 002 - Object Groups and Sets

    Hi, Tcode here is FBCR009. I need one help on the PROCESS 002 for ICR. In the current system, we have implemented the Object groups and Sub groups as mentioned below: Object Group - 100 Object Subgroup 100 Object group  Sequence      Company Field  C

  • Interfacing to 3rd Party tools from BW

    I realize Open Hub is the SAP solution to interfacing BW data to 3rd Party tools. However does anyone see a problem in general with the approach of developing custom web services on the BW box that would be called by a third party tool and in turn re

  • JTable - Programmatically selection multiple cells

    Hi! I'd like to know wether it's possible to programmatically select certain cells of a Jtable component. For example: My Jtable looks like that 1 2 3 4 5 6 7 8 9 and I want to select cell 2,4 and 7. How could I do that?? Thanks for answers...