Reporting - using the less than function or the filter.

Hi,
I am trying to make a report about the opportunities and their values. I decided to add 3 times the same revenue colomn because I wanted the first colomn to show me the revenus under 10000, the seconde one, the revenues between 10000 and 100000 and the third one, the revenues greater than 100000.
In order to do that, I selected the function button in the creation of my rapport and I tried it 2 different ways.
1° I choose the filter button (in the function pop up), select the field on my left panel and choose for the first colomn for example "less than" 100000.
The formula that appears in this one:
FILTER("- Revenue Custom Metrics".S_CUR_0+"- Revenue Custom Metrics".S_CUR_0 USING ("- Revenue Custom Metrics".S_CUR_0 < 100000))
When I try to execute, I get this error message:
[nQSError: 10058] A general error has occurred. [nQSError: 22034] Aggregate is not allowed within USING clause of a FILTER operator. (HY000)
SQL Issued: SELECT "- Account Custom Attributes".PICK_3, "- Opportunity Custom Attributes".TEXT_30, "- Revenue Custom Metrics".S_CUR_0, FILTER("- Revenue Custom Metrics".S_CUR_0+"- Revenue Custom Metrics".S_CUR_0 USING ("- Revenue Custom Metrics".S_CUR_0 < 100000)), Opportunity."Current Sales Stage" FROM "Opportunity Analysis"
2° I try to use the "<" sign without using the filter. So I click on the appropriate colomn and add < 100000, so it becomes:
"- Revenue Custom Metrics".S_CUR_0+"- Revenue Custom Metrics".S_CUR_0 < 100000
I receive the following error message:
[nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <<>: Syntax error [nQSError: 26012] . (HY000)
SQL Issued: SELECT "- Account Custom Attributes".PICK_3, "- Opportunity Custom Attributes".TEXT_30, "- Revenue Custom Metrics".S_CUR_0, "- Revenue Custom Metrics".S_CUR_0+"- Revenue Custom Metrics".S_CUR_0 < 100000, Opportunity."Current Sales Stage" FROM "Opportunity Analysis"
Can someone tell me what I did wrong ?
Thanks a lot

firstly, didn't understand why you are adding the metric to itself in the Fx.
secondly, you could have used case when statements, something like CASE WHEN metric <10000 THEN metric ELSE NULL END and so forth

Similar Messages

  • Query with = only provides the 'less than' portion of the results

    I have a query that checks dates to be >= start date and <= end date.
    The results are always >= start date and < end date.
    The same where clause in sqlplus works just fine. Is this a bug in BI Publisher?

    Correct, the ipad I was testing with is the ipad air that came out in Oct/Nov 2013 I believe.   Though the iphone 5s is the latest version as well that I was using to test.
    I had 2 expresses connected wirelessly and 2 extremes (both connected via ethernet).   Based on your point about the wirelessly extended I ended up taking one of the Expresses and connecting that via ethernet to extend the network.  When I re-ran the same tests I had the following based on two tests:
    Ipad air:  58.77/38.06   and 55.64/38.35
    Iphone 5s:   37.48/29.12  and 60.08/29.12   (big difference)
    I've done a factory reset a number of times on these devices.  I just tried it again for the one remaining airport express that I'm unable to connect on a regular basis via ethernet.  I need this one connected to the network as I use it for the airplay feature for audio to our sound system.  That thing absolutely does not show up unless I connect it first to ethernet.  

  • HT1848 On itunes, when synced to my pc, I show less than half of the music that is on my iphone 4. How do I get all the music onto my pc?

    I am about to scream if I don't figure this out or just decide to leave Apple and get a Galaxy phone. On itunes, when synced to my pc, I show less than half of the music that is on my iphone 4. How do I get all the music onto my pc? I have read many forums and tried many things, but apple/iTunes is not intuitive at least not on a PC. When I go to devices it won't let me select "transfer music". It's grayed out. Why is this and what can I do? I'd like to delete some of the music off of my iPhone but don't want it gone forever. Pleae help.

    Thanks Turingtest2,
    I appreciate your response. I have done all of the things mentioned, but still when I click on "devices", the "transfer music" option is still not selectable. I see it, but can't select it.  I am running Windows 7 on my PC.
    However, one thing I read makes me take pause. At one point I did erase my computer back to factory settings using the mirrored image. We backed up all information and put the important stuff back on, but I don't believe we did anything with iTunes, so it's a possibility that the music that is in my library now, may only be music I have purchased since then. But, (thinking out loud) that was a while ago and I am pretty sure I have purchased more music than what is in my iTunes library, since then.  Maybe I will approach it from that angle and see what happens.
    It just doesn't make any logical sense that syncing goes from computer to device. Ostensibly then, my iPhone would only have the music that is on my computer after syncing and that is not the case. I still have all my music on my phone. I can see the new music that's on my phone get added to my iTunes library when I connect, which would make one think that syncing occurs both ways. I don't know. It's maddening. Maybe I should just follow my husbands advice and go to an Android. LOL. Or maybe I will take my laptop and phone to the Apple store and make them figure it out. Ha.
    If you have any thoughts about this, let me know. Thanks again.

  • Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems n

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

  • CRS Install hostname being used by more than once for the same node.

    Hi, we're installing The Oracle Clusterware and on the Cluster Configuration screen of the universal Installer (the one were you specify the clustername and clusternodes) we get the following error message in a dialog box when the next button is clicked:
    "You must enter unique values for the public node name, the private node name and the virtual hostname for all nodes in the cluster. The name, node1, that you entered is being used by more than once for the same node."
    Has anyone experienced this error message before and know what the cause is?
    Could it be a problem with the /etc/hosts file?
    Thanks in advance,
    M

    Make sure you allocate separate IP addresses on your network for the VIP addresses on each RAC node (this is not the same as the machine IP already configured on the OS).
    Also, the installer may complain if your private and public IPs are configured under the same subnet.
    Finally, as mentioned before, check that name resolution for all the IPs to be used. On all RAC nodes, your /etc/hosts file should be configured with:
    - public name and IP addresses of ALL nodes
    - private name and IP addresses of ALL nodes
    - VIP name and IP addresses of ALL nodes
    Hope that helps
    B.

  • Is it possible to import less than ALL of the data from a PDF form developed on LiveCycle?

    Is it possible to import less than ALL of the data from a PDF form developed on LiveCycle?

    Please ask in the LiveCycle Designer forum.

  • Less or less than equal in the for loop condition

    Hi,
    What do you prefer, what is more common, which one is more easily readable, less or less than equal in the for loop condition?
    for (int i = 0; i < arr.lenght; i++){..}
    //or
    for (int i = 0; i <= arr.lenght - 1 ; i++){..}I know this is basic programming and nothing to do with Java, so if this forum is not for this purpose, could you please suggest a general programming forum?
    I would really appreciate it as I have many general questions :)
    Thanks in advance,
    lemonboston

    lemonboston wrote:
    Hi,
    What do you preferPersonal preference, which is useless to you
    , what is more common,Based on years of reading open source code, the first
    which one is more easily readable, less or less than equal in the for loop condition?Personal opinion, which is useless to you
    I would really appreciate it as I have many general questions :)If you don't want to think about it yourself (which you should be doing in stead of asking general questions), simply attack it lazily. Both examples achieve exactly the same, but the first one is less to type and to read.

  • HT2216 I am on OSX 10.7.5 and recently had to reinstall it due to 'mail' not working correctly.  That problem was resolved but now my I can't use the 'right click' function on the apple usb mouse.  Any clues?

    I am on OSX 10.7.5 and recently had to reinstall it due to 'mail' not working correctly.  That problem was resolved but now my I can't use the 'right click' function on the apple usb mouse.  I only have a previous version re-install disc as I bought the latest OSX off the app store.  Any help gratefully received?

    Hmmm, no, no drivers needed, now it sounds like a bad install... unless you might have some old Mouse software installed???
    If 10.7.0 or later...
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk, then Repair Permissions.
    If that doesn't help Reinstall the OS.

  • I am using iPhoto 11 mail and cannot add more than one recipient in the 'to' line.  When I put a comma in, the recipient's address is deleted.  If I use ' ' with more than one recipient the save grays out.  Any thoughts?

    am using iPhoto 11 mail and cannot add more than one recipient in the 'to' line.  When I put a comma in, the recipient's address is deleted.  If I use '< >' with more than one recipient the save grays out.  Any thoughts?

    I figured it out.  I needed to fix some errors in my account information.  It works fine now.

  • HT1688 Where are the less than and greater than symbols?

    where are the less than < and greater than > symbols?

    Assuming rawValue of the total field is returning as "10000".
    In the Calculate event of the Total field, write the following with Java Script as language.
    VP_Signature.presence = "hidden";
    Officer_Signature.presence = "hidden";
    if(total.rawValue>10000){
         VP_Signature.presence = "visible";
         Officer_Signature.presence = "visible";    
    else{ 
         VP_Signature.presence = "hidden"; 
         Officer_Signature.presence = "visible";
    Thanks
    Srini

  • Trying to download Mountain Lion, I have 2 accounts, both with less than $20 for the new App. Together they add up to $20. Can I merge account totals?

    Trying to download Mountain Lion, I have 2 accounts, both with less than $20 for the new App. Together they add up to $20. Can I merge account totals?

    I have now spoken to Apple about my problem and they told me to explain the situation to my Broadband service provider British Telecom (BT).
    For reasons not explained, BT suggested the problem lies with the Router hardware they have supplied (BT Business Hub - 2701HGV). Although it is relatively new there is something that prevents it from downloading Mountain Lion???
    They are posting me a new one which will not arrive for 2 days. I will let you know if the new router solves this issue.

  • I tunes says capacity used is less than I pod classic states

    I tunes says capacity used is less than I pod classic states i have a 120gb classic but itunes state capacity is 111gb

    The difference is explained by the complicated way that memory is counted and the fact that some space is used up by the operating system which makes the iPod work. My 160GB Classic has about 148GB that I can actually use.
    So your iPod is reporting the amount of space that you can use - 111GB

  • The niFPui.mxx plug-in caused an exception in the CmxAggregateItemUI::InvokeCommand function in the NIMax process. When saving *.iak file in MAX4.6

    The niFPui.mxx plug-in caused an exception in the CmxAggregateItemUI::InvokeCommand function in the NIMax process. When saving *.iak file in MAX4.6
    Hi There,
    The subject header just about says it all. This is the first action I took with MAX - it is a fresh install. The file I wanted to save was still written and the FP seems to be working ok. However, I need to know what happened.
    I can't post the whole log file due to the amount of characters allowed on this post. I can cut and paste sections if there is a specific part of the file you need. Below is the first section and last section.
     Context where exception was caught:
    Func:
    CmxAggregateItemUI::InvokeCommand Args: plugin=niFPui.mxx Item=0107EAB1
    cmdID.cmdId={4A36174B-EC0C-4D73-A23D-F15D164542DE} cmdID.index=0
    Application   : C:\Program Files\National Instruments\MAX\NIMax.exe
    User Name     : slaney
    OS Version    : 5.1.2600 (Service Pack 3)
    Exception Code: C000001E
    Exception Addr: 457BC448
    Return Address: 457BC448
    Function Name : nNIFPServer::tFpLinearScaleRange::`vftable'
    Module Name   : FieldPoint71
    Parameters    : F001008E 7800FDDD C5100DFC EC0107EA
    Source File   : (not available)
    Return Address: 481000C3
    Function Name : (not available)
    Module Name   : (not available)
    Parameters    : 00000000 00000000 00000000 00000000
    Source File   : (not available) 

    Hi,
    I did a research on your error message and it seems this problem was introduced with MAX 4.6. This version switched to a new error reporting mechanism and reports even errors that are which are not critical to your task.
    These errors typically show up as "unexpected" and if your error falls into this category have a look to this KB for further assistance.
    If it doesn't fall into this category, your could try to go back to the MAX 4.5 or 4.4.. Of course you would need to reinstall some components and might not be able to use newer drivers at all.
    Let me know.
    DirkW

  • Not able to find the HR Integrator Function in the Function

    Dear All,
    I am not able to find out the HR Integrator function in the Functions. Kindly do i need to do any setups or any other things to get this in place.
    We are using Version R 12.0.6
    Thanks and Regards,
    Joshna.

    Hi Duncan,
    Sorry for the late response.
    Please find the issue below.
    - we wanted to create an HR Integrator for the Requisition and vacancy. For this we find the steps in the metalink. Please find the steps below.
    When we are doing 5 th step we are not able to find the "HR Integrator" in the list of values. So we went and check the Menu there we find that HR Integrator function is not attached to the Menu. We tried to call that function but we are not finding that Function.
    1.Check your IE and Excel/Word Settings.
    2.Select the ‘Desktop Integration’ Responsibility
    3.Click ‘Create Document’ function
    4.Uncheck the Reporting Checkbox as this integrator is for uploading. Select the Viewer as Excel
    5.Select the ‘HR Integrator Setup’ as the Integrator.Click "Next"
    6.Select Content as "None" as we need to create the blank document for upload and Click "Next"
    7.Click on "Create Document "
    8.Once the spreadsheet is created, enter the following details and upload it back into the system.
    Metadata Type : DOWNLOAD – to create download integrators
    UPDATE – to create download / upload integrators
    Application Short Name : PER
    Integrator User Name : <User Defined Name for Integrator>
    View Name : <User Defined View>
    Form Name : Name of the Form to which the integrator is to be associated
    API Package Name : API Package Name used to Upload Data (Only for UPDATE Integrators)
    API Procedure Name : API Package Procedure (Only for UPDATE Integrators)
    API Type : PROCEDURE / FUNCTION
    Click on Oracle -> Upload to create the integrator
    9.Define a Function using System Administrator -> Application -> Function. This function will be used to restrict the Responsibilities for which a particular integrator is available.
    Function = Internal Function Name
    User Function Name = User Defined Function Name
    10.Create the Form Function Association Document using Web ADI Menu –Desktop Integration -> Create Document
    Select Integrator as "HR Maintain Integrator Form Function Associations" and repeat step 4
    11.Select the application in which the integrator is defined and the Integrator User Name for the Form Function Association has to be done. Click Next to continue.
    12.Click on "Create Document" and Attach the Form Function created in step 9 i.e.Internal Function Name to the Integrator in the document created in the above step and upload the same.
    13.Define the Layout for the Integrator created in above steps using
    Desktop Integration -> Define Layout
    14.Select the integrator for which the Layout has to be defined and click Go to continue.
    15.Select the columns that will be displayed and click Apply
    16. Navigate to the Form which you have attached in step 8 and Click on Export Icon.
    You will be able to view the Integrator.

  • Can anyone confirm if you can in fact shoot/edit (perhaps using a less than best video setting) on a Canon XA20 or Sony HXR-NX30U with iMovie 10 (Mavericks)? I do not want to convert files. Thx.

    Can anyone confirm if you can in fact shoot/edit (perhaps using a less than best video setting) on a Canon XA20 or Sony HXR-NX30U with iMovie 10 (Mavericks)? I do not want to convert files. Thx.

    Hi road.north,
    Welcome to the Support Communities!
    The article below will help you determine which cameras are supported for iMovie '10
    Apple - iLife Help - iMovie Supported Cameras
    http://help.apple.com/imovie/10/cameras/en/index.html?lang=en_US
    Cheers,
    - Judy

Maybe you are looking for