Query Exception Expert Opinion Needed

HI
WE have this particular case we are yet to find a problem on, your assistance with this would be awesome.
SO the problem is as follows:
- we have two Key figure (K1 & K2)
- Many conditions based on the two key figures should be shows in different colours
Ex:
Green - k1 (85 % or Greater) and K2 (Between -5% and +5%)
Blue - K1 (80% or Greater)  and K2 (Between -8% and +8%)
White - K1 (75% or Greater) and K2 (Between -10% and +10%)
Red - Everything else in Red.
Thanks you for your help with this....
D

Hi Darshak,
Green - k1 (85 % or Greater) and K2 (Between -5% and +5%)
Blue - K1 (80% or Greater) and K2 (Between -8% and +8%)
White - K1 (75% or Greater) and K2 (Between -10% and +10%)
Red - Everything else in Red.
To achieve this you need to create exceptions in the query designer.
Create a exception as named "Green K1"
Green >select Good 1 in alert level>operator ">">Values "85%">click transfer
and create one more "Green K2"
select Good 1 in alert level>operator "between">Values "-5% and +5%"-->Click transfer
Like this do to other colors also ... but you cannot achieve the BLUE, WHITE colors.
You have only 3 colors, Green, Yellow, Red.
If you want other than this then you need to work on the Excel Macros... Which is lengthy and trouble some process.
Regards,
Ravi Kanth

Similar Messages

  • Expert opinion needed: Best practices to handle huge rowsets on UI

    Hi All,
    I need to know what are the best practices from Oracle to handle huge rowsets on the UI.
    My ADF 11g app is a custom monitoring cum reporting tool for a highly active integration solution.
    The user can give me a selection criteria say show transactions between yesterday and tomorrow and our highly active transactional system may return upto 5000 records.
    I am showing these records in a tabular format and since pagination is not there we are depending on auto scrolling which is kind of slow.
    So please advice me what options come to your minds for showing/informing users of such rowsets.
    I am aware ideally UI should not have more that a couple hundred records but our use case does not adhere to that.
    Thanks

    since pagination is not there I'm not sure what you mean by this, the ADF Faces table does pagination when you scroll - so if your business service has 5000 records but the rows property of your table is set to 25 - you'll just fetch 25 records to the client.
    When you scroll down you'll fetch another 25.
    This type of thing is automated for ADF BC data controls - and you can control the range set.
    We also generate the code needed for EJB Facades to do this with JPAs.
    If you have your own Java class as a data source you'll need to implement this pagination on the business service side see exapmle 37 here: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html

  • Dynamic rendering of FXG - expert opinion needed!

    Hi,
    I need to build a Flash application that can dynamically load
    and display FXG files from a remote database.
    In Silverlight this would be straightfoward (you would load
    XAML) but it is not clear whether this is going to be possible with
    Flash at all. The solutions might be:
    1. Flash Player natively supports dynamic loading of FXG, and
    addition of described graphics to a canvas or similar object
    2. Someone writes ActionScript to parse FXG inside the Flash
    player and add the graphics to a canvas or similar object.
    Does anyone have any ideas about what is possible with Flex
    4, or what might be possible in the future?
    Desperate to nail the answer on this one!
    Best, Dominic

    Hi,
    i am also looking for this.
    Hopefully, Flash player supports the format natively in the future like as easy as loading a jpg
    But meanwhile i am sure it will be relativly simple to implement a renderer/parser for FXG with AS3 (willing to start that soon)
    It will be a god send for CMS applications for Flash websites. (Having FXG editor and renderer)
    I am %100 sure it will be possible to do this since FXG format is based on Flash player rendering capabilities
    Cheers,
    Ali Tan Ucer

  • I need your expert opinion on how to create a map with multiple conditions.

    Hello.
    I need your expert opinion on how to create a map with multiple conditions.
    I have a procedure (which i cannot import or re-create in OWB due to the bug), so i am trying to create a map instead :-(
    How can i create a cursors within the map?
    My function creates table and cursor.
    Then it will have to check for duplicates in the tables (the one created and another table) - the criteria for finding duplicates is a number of fields.I then need to place few different conditions (if some attributes are not available) and it has to load cursor based on this conditions. The next step is to fetch the data into the cursor based on what attributes are missing.
    The next thing it will do is insert the data into table (if record doesn't exist), output the error in separate table is record is corrupted, or update the record with changed information.
    In short i need to re-create match / merge but with conditions, iterations etc 'built into' it.
    I can read up on available functions - it's just what would be the best options? and what would be the best approach to do so?
    In my function i use %rowtype - but cannot use it in owb - so what would be the alternative? i don't really want to create a lot of variables and then have a nightmare of maintaing it. are there any tips regarding this?
    having looked through Oracle dedupe - it's not really what i need because it is just DISTINCT.
    I would appreciate any help / advise on this.
    Thank you very much

    thanks a lot for your reply - i will look into this option :-)
    it is a bit more complicated now as i have to re-create the match / merge and then somehow 'tweak' it to achieve the result i need.
    At the moment i am looking to breakdown the package into smaller chunks 'functions' and try creating the map that way.
    Anyway, thank you very much for your suggestion.

  • Expert help needed with tricky query

    I have a query database with a real simple schema but a tricky requirement: i need to display records with a simple select but then filter the result based on the authority/access level of the user making the query.
    The source data is held in a table with just the following columns:
    SRCTABLE:
    subject_ID
    date
    data_ID
    data_item
    All column types are text strings and the first 3 are a composite key. There are 10s of millions of records in the table.
    The access authorization is held in another table with the following columns:
    ACCTABLE:
    data_ID
    access1
    access2
    accessn
    The ellipsis means there are as many (boolean type) access1...n columns as there are distinct access levels to the source data.
    The table contains one row for each distinct data_ID appearing in the source table. On each row the TRUE values in the access1...n columns indicate authorization to see the data item and the filter should leave that row in the result set.
    The question then is how to write the query statement? It is assumed that the access id (i.e. the relevant column) is known when the query is made.
    Something like
    SELECT data_item FROM SRCTABLE
    WHERE subject_ID="xxx" AND date = "1/1/2000";
    would do it except for the need to filter each row based on the access authorization of the user.
    Any help would be appreciated.

    Thanks everybody for responding.
    APC has a good point about really protecting every single item type separately. Unfortunately this is precisely the case. The security in this case is not oriented to increasing security in a levels oriented way. Rather each kind of item is protected by a need to know type security related to that particular item. Users are classified by their need to know a combination of the item types and those combinations are not in any sense consistent (and there will be new classes over time). This way access control necessarily becomes a matrix of item types vs access classes.
    Fortunately this particular database does not exist yet so i am free to solve the problem in any way that fulfills the requirement. This is just the suggested form. I am not entirely happy with it hence the question on this forum in the first place.
    So, i appreciate it should you have any further suggestions for optimal solution to handle the requirements. Again, those are:
    1. A query that returns the data_items for a given ID and date (this is dead simple)
    2. A filter (preferably in the query) that filters out those data_items the current user (his/her access class is known) is not authorized to see.
    3. The plan calls for a table listing every possible item type with a column for each access class, enumerating the items allowed for that class. Any other solution to this issue would be acceptable provided it is capable to independently validate any single item type against any access class.
    I hope this makes sense.

  • SQLJ Expert Opinion

    Hello,
    I need to have some expert opinion the code where I have used SQLJ, whether it is alright or anything to be changed. I use this to fetch results from a remote table and populate in local table in every half an hour.
    Thanks and below is my code.
    ***Code**
    public static void getDataLMStation()
    try {
    Oracle.connect("jdbc:oracle:thin:@xxx:1580:xx","xx","abc",true);
    #sql iterator SeatCursor(String LOCATION, String PRODUCT_TYPE,String STOCK_POSITION, Timestamp READ_DATE);
    SeatCursor sc;
    #sql sc = { select LOCATION,PRODUCT_TYPE,STOCK_POSITION,READ_DATE from PORTAL_STOCK@abc};
    System.out.println("sql "+sc);
    while (sc .next())
    #sql { insert into PORTAL_LMINVENTORY(LOCATION,PRODUCT_TYPE,STOCK,DT) values(:(sc.LOCATION()), :(sc.PRODUCT_TYPE()),:(sc.STOCK_POSITION()),:(sc.READ_DATE())) };
    } sc.close();
    Oracle.close();

    It looks correct however, i am not sure you can use the same execution context for retrieving data from the iterator and processing the INSERT.
    Fwiw, i covered SQLJ 10g in my just released book http://www.amazon.com/gp/product/1555583296/
    Kuassi - blog http://db360.blogspot.com/

  • Hi Experts I need abap objects details

    hi experts,
       i need last changed by date ,person details by giving name
    from which tables they are coming.
    i required for
    1.abap query
    2.user exits
    3.script forms
    4.lock objects
    5.report variants
    6.ldb
    definately i reward good points
    with regards,
    sunilkumar.B

    Hi,
    1. ABAP Query - Table AQ*
    2 .User Exits - Table TRDIR
    3. Script Forms - Use FM SELECT_FORM and check table selections and fields TDLUSER, TDLDATE and TDLTIME
    4. Lock Objects - Tables DD25L and DD27S
    5. Report Variants - Table VARID
    6. LDB - Table LDBD
    Regards,
    Ferry Lianto

  • Hi  experts  i need realtime scenario for declaration of infotype with MODE N at TM in ABAP HR

    hi  experts  i need realtime scenario for declaration of infotype with MODE N at TM in ABAP HR?? can anyone provide the brief explanation?

    Hi bharathi.
       Find the bellow code .
    Tables: pernr.
    infotypes: 0001,0002, 2001 mode n, 2007 mode n, 2013.
    start-of-selection.
    get pernr.
    pr-read-all-time-ity pn-begda pn-endda.
    write: p0001-pernr, p0001-bukrs, p0001-abkrs,
            p0002-nachm, p0002-name1, p0002-vorna.
    end-of-selection.
    ******** in the abouv code should be -ve TM.
               for +ve tm we need to use hr_time_results_get.
    based on this u can assume ur requirement .
    Thanks
    Venkat.

  • Required Expert Opinion

    Dear All,
    Required expert opinion about following points:
    1) In peak hours our database concurrent session aprrox. 70-80 sessions
    2) Can we configure shared server mode, presently our server configured dedicated mode??
    3) If we go for Shared Server how much dispatchers and shared servers we define, we have 2GB memory and dual processor in Server Machine.
    4) We have just 200 mb undo tablespace is it enough, we have done autoextended on, what is recommendation about it is it enough space??
    5) We have just 3 online redo groups and each have 1 member, is it enough our alert log file continuously showing thread about redo file.
    6) We don’t have archive log mode, and we just rely on Imp – Exp for backup, what is recommendation about it?
    7) We didn’t multiplexing control files and redo log files, what is recommendation about it.
    Regards,

    6) We don’t have archive log mode, and we just rely on Imp – Exp for backup, what is recommendation about it?
    depanding on ur database requirements if ur database have no downtime. ( 24x7) then "must" run ur database in archive log mode.
    any why what is ur oracle version. ?
    7) We didn’t multiplexing control files and redo log files, what is recommendation about it.
    You must do multiplexing of ur control files. it is recommended and redo log file too.
    ) We have just 3 online redo groups and each have 1 member, is it enough our alert log file continuously showing thread about redo file.
    it is ok but i check reguralary ur alert.log file if ur got any problem regarding redo log then increase member in group.
    normal configuration like . 2 group and 2 member of each group. ( and also depand on nature of database).
    4) We have just 200 mb undo tablespace is it enough, we have done autoextended on, what is recommendation about it is it enough space??
    what is ur undo_retention = value .
    but it ok.
    plz specify ur database nature. further depand on nature of database.
    how much undo generate in /sec.
    2) Can we configure shared server mode, presently our server configured dedicated mode??
    but why what is requirement.
    hope this help

  • Dynamic query exception

    How to handle dynamic query exception
    in my dynamic query say if i pass the wrong table name it is showing some errors instead i would like to use my own error statement as output
    eg:
    mytable :test_table
    declare mytable varchar2 :=test_table1234 --(which is not present in DB)
    begin
    execute immediate ('select * from '|| mytable);
    -- Error handling here
    end;

    I wouldn't use WHEN OTHERS, not unless you want to be fired for breaking coding standards. If you insist, at least follow it with RAISE.
    Here is a an exposition of the problem, http://www.orafaq.com/wiki/WHEN_OTHERS and another http://tkyte.blogspot.co.uk/2008/06/when-others-then-null-redux.html

  • Need Expert Opinion on 3D LED TVs

    Hi, I'm a movie critic for a local magazine in the city.  My new assignment is to critique about 50 movies in a two week period, all 3D movies.  I've heard about the amount of strain on the eyes from long sessions.  Are there any 3D LED TV's that cause little to no strain on the eyes?  

    theres a bit of misinformation here.  In the traditional sense, yes, the Cinema 3D TV's are technically Full HD (1080p resolution), but you are still only seeing 540 lines of resolution for each eye.  Yes, all of the pixels are active simultaneously, but the image you are seeing for each eye doesn't even meet "Enhanced Definition" standards, let alone HD standards.  Active shutter 3D, on the other hand, Outputs 1080p Resolution to each eye.  Active shutter technology gives a significant improvement to the image detail.
    The only benefit of passive shutter 3D technology is the cost of the glasses.  When compared to a Plasma TV however, which are not only cheaper, but provide better 3d performance (Active Shutter, less crosstalk, no motion issues, better PQ, higher resolution, etc.), you'll find that it's a much better deal.  You'll probably even save money, and end up with greater performance for both 2D and 3D.  
    As a movie critic, I assume you need to be giving people the best/most accurate review possible.  This means moving up to a larger size television (55" at the very smallest), and picking up a set with at least decent quality.  I've watched 3D on 90% of the 2012 3D televisions on the market, and you'll find that some of it comes down to personal preference and changing settings within the television to adjust comfort level. When it comes to 3D, larger is better, and you will find your self wishing you picked up a larger TV.  (With a 65VT30, I still find myself edging the couch much closer to the TV) 
    Quick question, are these reviews focused more on the movie content? or picture quality/3D quality? The answer to those questions will give the best indication on which TV is the best option for you.   
    Out of all of the TV's I've watched, I've found the Panasonic plasma TV's to have the least amount of fatigue (aside from the inferior passive shutter LG LED TV's).  You can reduce fatigue even further by making adjustments to the 3D depth.  Active shutter LED TV's will be slightly more fatiguing due to flicker and motion judder (with the exception of top of the line models from Samsung or Sony).  Samsung plasmas are slightly more fatiguing than the panasonics, but the difference is subtle.  My TV recommendation would be a Panasonic 60ST30, which has one of the best price/performance ratios of any 2012 TV.  If you insist on getting an LED TV, I would recommend a UN60D8000, which will give you the best 3D performance (on par with or greater than plasma 3D performance), but you'll find yourself in a much higher price bracket (money better spent towards a PN64D8000 or 65GT30/VT30 plasma TV).
    Again, some of what I've said is subjective, but i've given my opinion.  If you can narrow it down to a couple of models, then head into your local best buy and pick your favorite.

  • Need experts opinion... Should I use smcFanControl?

    I've recently purchased a MacBook Pro 13" with an i7 processor and 8GB of RAM and have been watching flash player videos on the internet and playing pretty basic games that use programs such as Java and have experienced temps topping at 101 degrees Celsius. I'm not an expert with laptops, but I have done a TON and I mean HOURS of reading online for the past several days and have read posts where people have encouraged the use of smcFanControl when needed and read the opposite side where people say to not mess with it and trust in Apple's engineering. From my basic understanding, it seems like more acceptable temperatures should be around 80-90 degrees Celsius for these tasks. Am I correct in this thinking to protect my laptop? This is my 1st laptop and I want to make sure I can make it last as long as possible, so what's the truth? Should I use smcFanControl just when I plan to play games or watch flash player videos? If you've used smcFanControl for years, please speak up along with anyone else who knows a lot on this issue. Thanks!!

    daitkarsachin wrote:
    hi ,
    here is my question again..my xml will have
    <Message>
    <ATO>
    <somefiled="X" type=int value=35 />
    </ATO>
    <FIX>
    <somefiled="Y" type=String value=50 />
    <FIX>
    </Message>
    Now first i have to parse this xml ..then my java program is going to accept value from user ..and depending on user specified value i've to use either ATO or FIX fields...e.g if user value is 35 then my program should use fields within ATO node.
    You will read the XML structure into some kind of memory model. When the user supplies a value you will search for a matching value (likely from a collection such as a map or list) and return the value in that object that you locate.
    what should be done for this ..
    See above.
    and what if i change values in my xml file..will i have to restart my application to load xml again ?
    If you change the file on the filesystem, you should simply be able to re-parse the XML file and update your in-memory model. If you instead update your in memory-model, you can serialize the model back to XML on the filesystem. Neither needs to necessarily have anything to do with application start-up (other than the fact that you would normally read in the XML model then, but updating is a separate concern, as would re-reading it).
    - Saish

  • Need expert opinion

    hi experts,
    we are going to setup Oracle RAC of 4 nodes using IBM P-series servers with IBM SAN DS-4800. the space is minimum 3 TB. now what I want is to implement ASM Volumes and OCFS for Database Files, FlashBack and OCR, Voting Disk respectively. now what I'm planning is to make
    (ASM) 2 Volumes with Normal Redundancy for Database Files and
    (ASM) 1 Volume for FlashBack with External Redundancy and
    (OCFS) 1 Volume for OCR and Voting Disk with External Redundancy.
    Now plz guide me whether you think its an optimal solution or not? I would appreciate all kind of suggestions and recomendations.

    I would insist on these disks being striped and mirrored on the storage array/network and be given to the o/s as the largest possible LUNs.
    On the o/s side, I would partition one of these into 2 partitions. One for OCFS2. The remaining partition for ASM. The other LUNs all ASM volumes.
    The OCFS partition need not be large. The voting and registry files are small. But having a clustered file system is very useful (think Oracle database directories being available on all nodes, common set of scripts and files available on all nodes, etc).
    In ASM, the LUN disks (raw devices or multipath devices if not using the ASMLib kernel module) will be defined as one or more disk groups with external redundancy.
    I would not bother managing the LUNs as separate disk groups and trying to spread and balance I/O by creating some datafile one one disk group and others on the other disk groups on the RDBMS side. ASM does all that for you.
    Also, actual I/O bandwidth is a primary factor of the HBAs - and the size and number of I/O pipes to the storage device. It does not make sense wanting to manage those aspects at RDBMS level.

  • I REALLY need expert opinion with my mac/fcp shopping list!

    I work in TV and I'm buying an hdr sr12 so that i can work on my own projects, move my skills along etc...
    To edit the footage I'm thinking to buy a 15" 1st generation macbook pro and fcp studio 2??? is this what i need? could i get away with spending less and getting different versions of either? - Any advice is a huge help. It's taken me weeks to get this far.
    Cheers Dan

    will i get away with a powerbook g4 and an older version of fcp to edit the hd footage?
    It depends on the flavor of HD and which version of FCP you have. For example, FCP HD (version 4.5) only works with one flavor of HD: DVCPro HD. If you're working with HDV, you'll need FCP 5 or higher. For AVCHD, you'll need FCP 6 and an IntelMac. Other HD incarnations have their own requirements.
    -DH

  • JDK1.3 and Netmeeting Not compatible??  Need expert opinion! Thanks!! :)

    Hi Everyone!! :)
    I have researched this topic and have not been able to find a decent answer yet. So I'm asking the experts now!! :)
    I have a java application written and compiled in jdk1.3. When a user runs this application remotely through netmeeting, they only get an intial gray frame, but nothing shows up on it. The menus and other GUI stuff ARE usuable, just not visible to the user. NOTE- if watching from the computer where the application is actually run from, everything initializes just fine. I've read that this is a problem in general with jdk1.3. Has anyone had any success with jdk1.4 and Netmeeting? Or does anyone know of a way to get to force jdk1.3 to work with netmeeting?? The later of the two would be preferable due to compatiblity issues with other programs and jdk1.4...
    If I find something useful myself, I'll post it, but right now I've hit a dead end. ANY ideas would be great! ;)
    Thank You!!
    Katie

    Sounds odd...I'm sure that the same technology used in Netmeeting was used in Remote client access...and I can run my applets thru Remove access with no problems. I usually find problems like this are related to a graphics problem...like colors too high, resolution too high, or the video acceleration is too high.

Maybe you are looking for

  • Re-Installing a factory loaded Adobe X Standard with the serial number.

    I just want to know where the link is to download Adobe X Standard.  I have the serial number but for some reason can find no link to X only XI.  Any help would be appreciated.  This version came pre-loaded on my Dell Laptop. My hard drive failed and

  • Don't really know how to calculate an Azure back up Solution

    Hello, Im new on Azure, and Im trying to implement a backup solution for a server we have running on Windows Server 2008. Do I have to calculate the estimated price based on the characteristics of my Server (I suppose I have to turn on a VM with the

  • Retrieve BLOB image in J-developer 10

    Hello, Well I were surfing the web about this question. Actually I need to retrieve a images that are stored in BLOB's from a database, for example, in database I have a customer, which have 5 images attached in BLOBs, I found some info, which tells,

  • Poor performance when using skip-level hierarchies

    Hi there, currently we have big performance issues when drilling in a skip-level hierarchy (each drill takes around 10 seconds). OBIEE is producing 4 physical SQL statements when drilling f.e. into the 4th level (for each level one SQL statement). Th

  • Adobe Reader will not print to Epson WF-2540 in Mac OSX 10.8.3

    I have previously used Adobe Reader to print in both wired and wireless capacity to my Epson WF-2540 printer on my Mac OSX. My current version is Mac OSX 10.8.3. Recently (and it may have been following an update to my OS, I don't know for sure) the