If there is an alternative

I have a report which has a condition:
bring me the records which have quantity > 100 ( for example ) or whatever you tell it to do
Inside the report (rdf) the field "quantity" has as a source a placeholder (cp_qty),
which takes value from a formula for example CF_qty.
there, the cp, changes values depending on some flags.
for example
if flag1 = 3 then
cp_qty = -quantity
end if;
if falg2 = 4 and flag3 = 1 then.....
cp_qty = quantity
end if;
if flag3= 2 then cp_qty = 0
end if;
this, has as a result, when a tell the report "bring me the records which have quantity > 100"
it brings me various results, which are wrong (105 , 0, -400). And that because of the palceholder.
One solution is to go to the data model, and use decode(flag1... decode(flag2)... quantity
and in the field quantity to change the source to "quantity" instead of CP_qty.
I want to ask if there is a more "smart" solution, and not change the cp although I don't think so.
Thanks in advance

Your decode (or CASE) actually sounds like a better solution to me (at least from what you've stated here). I always find it easier to tweak the SQL to give the results I need rather than trying to solve the issue in Reports. There are a couple of reasons for doing it in the SQL (execution time, and Reports typically requires 2 steps or more where as the SQL is just the SQL)
I would go with the decode over the placeholder, as it seems to me to be the more practical approach to a solution.
HTH,
Steve

Similar Messages

  • Will there be an alternative to the current minimalist theme of iOS 7. It is far to small for a handheld instrument. Accessibility does not solve it for me don't know about others. Perhaps offer the old icons and fonts as an option? Easier to view

    Will there be an alternative to the minimalist theme? Or at least give us the old icons fonts etc the access ability options don't cut it for me
    I know you can do better you have before.

    lov2bugu, you said things the exact way I wanted to express them! It was like watching me talking to a SONY’s CEO.
    I don’t really think they are not aware of the problems. SONY used to be the 27th largest company in the world, according to Forbes. They are now at the 456th place!!
    They are aware of their problems and I think, the move to buy the remaining stocks from Ericsson, is a move to bounce back into the market. They found the right time, where the stock is too low and the economics around the globe don’t  look promising enough. I have to recognize them, all the bad phases they went into this year … hacking attack, loss of their factory in London, global economic climate etc.
    But these are not excuses good enough not to produce quality, reliable and technologically advanced goods. I think that SONY is not to blame for the bad course SE has had. I think this is what SONY wants to revert. They want to “embody” all their technology … BRAVIA engines (TV Tech), Walkman and Cybershot tech (using Carl Zeiss lenses), VAIO (Comp tech) and finally PS3. Ericsson tried to integrate them, unsuccessfully.
    Overall, I thing SONY, did not have or did not attempt to have the control of SE, hence, the answer you got back from SONY “… anything related to SE must be posted on the website of SE”. I think they will bounce. Just give ‘em some time. I’m willing to give them time, but not too much though. Just because I’ve always loved this brand!

  • Surely there is an alternative to Itunes since they won't help with ANYTHING having to do with iTunes although they are certainly willing to sell my family thousands of dollars worth of music???

    Surely there is an alternative to Itunes??  They offer ZERO support unless I own a device although they were certainly willing to sell me thousancs of dollars worth of music.  They have now wiped out all of my windows drivers and make no apologies for it, nor will help.

    Itunes in Window xp has all of the missing and duplicating file problems. I finally said enough after reading dozens of posts, and trying the fixes that worked only for a short while.
    I went to cnet and looked up media players and read the reviews.
    MediaMonkey had the best rating. I have a portable/removable drive where I backup files and downloaded MediaMonkey to it. Volia! In three and one half hours I completed what three weeks of frustration never fixed. It's suppose to support iPods, but I won't know until I put it on the home computer.
    Only downer is a lack of artwork. But I just copy and paste off the net and it stays put. And for Window users it's far more friendly than iTunes.
    I may purchase the Gold Edition if it remains stable.
    Love the iPod, hate Itunes.
    michael235

  • # s there a better alternative or how do I scroll down faster in my bookmarks as I have many?

    Is there a better alternative or how do I scroll down faster in my bookmarks as I have many?

    FWIW, Gary Kerbaugh's 2006 post at https://discussions.apple.com/message/1542090#1542090 was particularly helpful.
    While Activity Monitor is a more helpful tool for this newbie at a local machine, I'm seeking information about running processes on a remote machine with failed Screen Sharing.  I can reach the remote machine with the Finder and with the Terminal via SSH, but I cannot reach the machine via Screen Sharing.
    Running TOP in a SSH window in the Terminal -- and scrolling through to see *all* the processes -- proved possible by running the command cited by Gary Kerbaugh
    top -l1
    (For newbies like me, that's
    lower case tee
    lower case ohh
    lower case pee
    space
    hyphen
    lower case ell
    number one)
    Many thanks, xnav and Tony.

  • Is there a better alternative or how do I scroll down faster in my bookmarks as I have many?

    #
    s there a better alternative or how do I scroll down faster in my bookmarks as I have many? edit
    # Details
    BoldItalicInsert a link...

    Hello  & welcome to the community!
    Would you please confirm if your account has Premium on your subscription page. Be sure your status says you have an active Premium subscription. 
    If you're on Premium, do a quick sign out/sign in. 
    If your subscription page says Free, please check your Spotify email receipt. Be sure you are signing in with the username on that receipt. If the username on your receipt is a 10 digit number, please sign in with your Facebook credentials.
    If you login with Facebook it might be possible you may have a duplicate account
    One account associated with a username, the other created and linked to your Facebook profile.
    If nothing here works, then please contact support here so they can help you.
    If you receive an automated email telling you to check the help section or the community, you need to reply back to it, even if it's from a no-reply address.
    Support usually answers within 24-48 hours.
    Hope this helps! ♫

  • Is there an Apple alternative to using the Asus videophone. Is there a simple FaceTime alternative for an elderly person to use. iPod and docking station maybe?

    I have an elderly parent and recently bought a secondhand Asus SV1T video phone to be able to Skype from my Mac, iPad,iPhone etc.  The device was perfect from a usability point of view but when I set it up discovered that the latest vesion of Skype is not supported on the Asus and there is no hope of Asus issueing a firmware upgrade to fix it. So the question is "is there a facetime alternative that an 85 year old can use".  It needs to be simple to operate, always on and reasonably compact.  One thought I had was using an iPod in a speaker dock for power and amplification.  I assume you can then tailor the front screen to simply show the facetime icon.  Anyone got any thoughts?

    You would need to have an iPad with 3G, and pay for cellular data service for it.  If you have a wifi-only iPad, you simply cannot access the Internet anywhere that there is no wifi network available.  You could tether it to a wifi hotspot created by a smartphone, though having a smartphone significantly reduces the need for FaceTime, I would think.

  • Attempting to watch a video on a social media site, I get a response you must upload a later version of Flash.   Is there an Apple alternative, or another alternative, or should I just go ahead and download the Flash.

    Attempting to watch a video on a popular social media site, I'm asked to download a Flash Media upgrade in order to view.   Is there an Apple alternative, or another alternative, or should I just go ahead and download Flash, but will it still take as long as it used to, to play?

    Adobe Flash Player version 11.1.102.55 is the latest and it works fine for me on several Intel Mac's.
    Adobe - Install Adobe Flash Player
    Won't make your download speed any faster, but should play the content in question.

  • Forgot your security questions and there was no alternative to email what to do please reply

    Forgot your security questions and there was no alternative to email what to do please reply ,,
    I do not know retrieved questions of security and there was no alternative to this email account in Alabestor
    [email protected]

    You need to ask Apple to reset your security questions; this can be done by clicking here and picking a method, or if your country isn't listed, filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (109187)

  • Does anyone know if there is an alternative to setting up personal apple ID's on company issued iPads?

    Does anyone know if there is an alternative to setting up personal apple ID's on company issued iPads?

    There are three ownership models:
        Personal
        Institution
        Layered. combines personal & institution.
    Watch this apple video on layered ownership.  It education based, but that's OK.
    http://www.apple.com/education/resources/videos/#ios-layered-ownership
    IT Resources -- ios & OS X -- This is a fantastic web page.  I like the education site over the business site.
    View documentation, video tutorials, and web pages to help IT professionals develop and deploy education solutions.
    http://www.apple.com/education/resources/information-technology.html
       business site is:
       http://www.apple.com/lae/ipad/business/resources/
    Excellent guide. See announcment post -- https://discussions.apple.com/thread/4256735?tstart=0
    https://docs.google.com/document/d/1SMBgyzONxcx6_FswgkW9XYLpA4oCt_2y1uw9ceMZ9F4/ edit?pli=1
    The divide link didn't work for me.
    http://www.divide.com/
    The divide site is a "mess".  How about a one paragraph description on the home page of what divide does?
    Divide seems to be an all in one application.  You do everything inside divide.  It has all the corporate security you will need.
    in the middle of the faq page.
    Q: What office applications does Divide provide?
    Divide provides you with Mail, Calendar, Tasks, Contacts, Browser, Messenger, Dialer, Timecard, and Divide Files. Each of these applications provides an enhanced feature set designed for the corporate employee.

  • Is there anybody out there who is still using Appleworks Database and is there a good alternative?

    Is there anybody else out there who is still using Appleworks Database and is there a good alternative?

    There is no replacement program that will directly read Appleworks database files.
    You have two options:
    1.  Continue to use Appleworks 6.2.9, which requires Rosetta installed in Snow Leopard, or the access to Rosetta by installing Snow Leopard Server in virtualization for use in Lion, Mt. Lion or Mavericks:
                                       [click on image to enlarge]
    2.  Export your database information into a common export function (such as delimited ASCII text file) and build a new database file in an alternate database program (such as Filemaker Pro) and import your information into it.  More information here:
    http://www.wilmut.webspace.virginmedia.com/notes/aw/page5.html

  • Are there one-key alternatives to apple-down and apple-up?

    Having come from a Windows and Linux background, one of the most frustrating things about moving to OSX has been the Finder shortcuts for 'open' (apple-down) and 'go to parent dir' (apple-up). I can't for the life of me imagine why the two most common operations in a file browsing app require a two-finger key combo.
    Are there any single key alternatives for these commands, or is there a way to set them up? The backspace/enter behaviour of Windows is what I'm really after.
    I find it amazing that both enter and spacebar on OSX are bound to the 'rename file' function, which has to be about a zillion times less common in use than 'open this file'.

    System Preferences/Keyboard & Mouse/Keyboard Shortcuts/
    Click on the + sign to add a new shortcut
    In the Application dropdown choose Finder.app
    In the Menu Title box type - Open (or any other command as show in an application's menus)
    Choose a key - I used F2 as it didn't seem to be used.
    Message was edited by: dechamp

  • Is there a richtext alternative in mobile?

    spark richtext is not recomended for use in mobile? i need to build a grid with a column containg few fields in diffrenet colors and sizes so i see the RichText as the right choice. should i use it? is there another alternative?

    If it's a grid, it could be managed using ItemRenderers with Label however...
    That still doesn't give a solution for when rich text is required for edit elsewhere. I've been searching and searching for possible solutions but not getting very far.
    Has anybody come up with an approach to allowing simple rich text formatting as per all kinds of other iOS apps (such as iPages) that allows inline editing of text where individual words / letters etc. can be bolded / italicised / underlined / sized?
    I don't want to have to go through all the pain of cooking up a raw HTML editor in code myself, so would really appreciate any ideas.
    Thanks,
    G

  • Are there any parallels alternative programs?

    Rather than booting Mac OS X and Windows separately, I was wondering if I could use both at the same time. I know I can with Parallels, but I was hoping there was a free alternative out there?
    I already checked with open source sites, like sourceforge, but didn't find anything.

    Hi Eric,
    first thing coming to mind is VirtualBox http://www.virtualbox.org/
    Also at the end of this article there is a list of possibilities: http://en.wikipedia.org/wiki/Virtual_machine
    But to my knowledge in terms of speed and reliability nothing beats Parallels or Fusion.
    Have Fun
    Stefan

  • Is there a fancybox alternative?

    I have trialled and set up a website using the fancybox lightbox  and demo'ed it to a customer.
    I need a lightbox feature to load html pages...
    Everything was agreed but then I went to buy the multi licence and that's where the issues started.
    The price on their site states 47 uk pounds, yet when you go through to the paypal payment it comes to 68 uk pounds.
    It just seems wrong to me to advertise it as one price in uk sterling and then process the payment without explanation to add a further 21 pounds.
    I have contacted them twice and they fail to reply...
    Please do not turn this thread into a discussion about continuing to use it... it's been done before.
    I am not going to do what others have suggested and go ahead using it without a proper licence, so I am looking for another low cost (proper price) alternative.
    Can anyone please advise me of another alternative please.
    Thank you
    Terry

    If you use Bootstrap, there's one built-in.
    Google will reveal lots of other Lightboxes.
    http://www.chillwebdesigns.co.uk/chillbox
    lightbox alternative | jQuery Plugins
    Nancy O.

  • Ia there a good alternative to Microsoft windows server for enterprise?

    Hi Guys, I work at a small (22 FTE's) public(not-for-profit) art galley. We are currently a mixed pc/mac office with various departments, all with different needs. Communications/Design are Mac. 2/3rds of the Curatorial is Mac, 1/3rd PC. Public Programs is mostly Mac with one PC. The accounting, giftshop, and Databases are all PC. The giftshop and accounting use ACCPAC. The collections (artwork collection that is) department uses FileMaker Pro backend, with a frontend called "Virtual Collections". We very much dislike Virtual Collections BTW. Our other database, which handles membership, and financial donation tracking, is @EASE. Because we are not-for-profit our overall budget for IT is relatively small, and the system is the way it is because of years of neglect, and stop-gap purchases. We use a Microsoft Server with Exchange. We are in the process of building a new gallery, and with it the ability to start fresh on a number of levels. One of which is our Server. Personally I'd like to see us move away from the Microsoft server ecosystem. It is cumbersome, requiring lots of IT support (which we contract out by the way, and costs us a tidy little sum yearly on top of MS Server licensing etc.) Our Management team is considering going to an all PC environment with the (I feel mistaken) attitude that "if all computers are the same flavour, the whole system will run more smoothly and thus be less expensive to manage". As on of the Mac users within this system, who knows a little about, but is no expert in, computers and networks in general, I'd like to be able to open a dialogue with management at this crucial juncture on alternatives to the system we now use.  I had run across a website some time ago that outlined the "real cost of owning and operating Microsoft Servers" but can not seem to locate it anymore. It basically broke down all costs of running a Microsoft environment, and concluded that, over time, it is not very cost efficient, especially for small enterprise. Has anybody run across any really good server alternatives to Microsoft Exchange, and Microsoft Windows Server (I think ours is 2008)? We are a relatively small city, and the IT/Networking companies here all seem to push Microsoft as a be-all-end-all. I'm not so sure. I'd like to present viable alternatives with sound arguments to back them up. Can you guys help? Or, an you point me toward someone who can? Thanks guys, keep up the good work, Tmamer 

    Have you ever got this resolved?
    I noticed your VIP and Public IP are not on the same subnet, i thought they had to be?
    like both 10.x.x.x and subnet 255.0.0.0 or something like that?
    Could this be your problem?
    I am trying to setup a two node cluster Oracle Rac 10g on IBM Blade Center H with HS21 XM blades.
    My problem is trying to setup HA and not have a single point of failure and in order to do this, it almost seems as if i need 4 network interfaces in the HS21 blade so i can team 2 together.
    Did you guys purchase any addition expansion cards for these servers for that reason?
    My understanding is that each HS21 have by default 2 nics, and they each go to one of the two internal cisco switches (within the entire bladecenter).
    So if for instance we have one of the cisco switch die, like the one that has the public interface plugged into it, then we could not longer access the rac and that would be a single point of failure. So unless we can have 4 interfaces on the blade, and have them 2 teamed with each nic going to one of the cisco internal switches. So if any one cisco switch die's it just uses the other one.
    Any thoughts, suggestions?

Maybe you are looking for

  • Launching custom HTML5 UI's in Photoshop CC 2014 (15.2)

    Problem: I am trying to get Photoshop CC to launch custom built HTML5 UI's.  In doing so I have hit a few roadblocks: Roadblocks: • The documentation online to install and launch HTML5 UI's from scratch is out-of-date: http://www.adobe.com/devnet/cre

  • Since Aug '14 MS Patch Tue, iTunes has stopped working

    I have 2 instances of iTunes running on 2 different Windows 7 64bit machines. Both are crashing out since the Microsoft patches were installed on Wednesday, 8/13/14. I have uninstalled iTunes and reinstalled completely removing all Apple programs fro

  • HT201304 What if you can't remember your password  to your restriction in your settings?

    How can you reset your password on your restrictions to get in to it if you forgot your password?

  • JTable:  Setting tab order

    Lets say that I have a table with ten rows and five columns. The default tab order tabs through each cell, left to right, top to bottom. How do I EXCLUDE the cells of the two leftmost columns from the tab order? Many thanks in advance, especially for

  • Password Protect a specific port

    I'm familiar with pw protecting a page or directory, but can I do it to a specific port? Say I've got a page at www.myawesomeserver.com:2920, how can I put a pw on that when brought up on a browser? Using Server X.3.9