Help - column that would show col A or Col B val based on presentation var

We are having difficulty in getting this to work.
Here is what we have in the column formula:
CASE WHEN @{variables.nabc}='Mgmt $' THEN SR_QUOTA_ACHIV_AGGR.MGMT_DOLLARS_MTD_AMT ELSE SR_QUOTA_ACHIV_AGGR.LGL_DOLLARS_MTD_AMT
We get Syntax error.
The variable is set in the prompt using a fake SQL
SELECT CASE WHEN 1=0 THEN SR_QUOTA_ACHIV_AGGR.MGMT_DOLLARS_MTD_AMT ELSE 'MGMT $' END FROM ROAD_RUNNER UNION ALL SELECT CASE WHEN 1=0 THEN SR_QUOTA_ACHIV_AGGR.LGL_DOLLARS_MTD_AMT ELSE 'LGL $' END FROM RPT_TBL
Any help will be greatly appreciated.

tHEHi,
Thanku for reply.
I used the same approach what did u reply. But still i am facing the similar issue once i say ok to the query.
It is showing the following error:-
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <,>: Syntax error [nQSError: 26012] . (HY000)
SQL Issued: {call NQSGetQueryColumnInfo('SELECT CASE WHEN ''MGMT $''=''MGMT $'' THEN SR_QUOTA_ACHIV_AGGR.MGMT_DOLLARS_MTD_AMT ELSE SR_QUOTA_ACHIV_AGGR.LGL_DOLLARS_MTD_AMT, GEO_DIM.AREA, GEO_DIM.AREA_DESC, ORDER_SPLIT.BOOKED_DT, ORDER_SPLIT.ORD_SHIP_TO_SITE_CITY, ORDER_SPLIT.ORD_SHIP_TO_SITE_NBR, ORDER_SPLIT.ORD_SOLD_TO_SITE_CITY, ORDER_SPLIT.ORD_SOLD_TO_SITE_NBR, SR_QUOTA_ACHIV_AGGR.PROD_LINE_CD, SR_QUOTA_ACHIV_AGGR.QUOTA_CREDIT_COUNTRY_KEY, SR_QUOTA_ACHIV_AGGR.SALES_ORG_ID FROM ROAD_RUNNER')}
SQL Issued: SELECT CASE WHEN 'MGMT $'='MGMT $' THEN SR_QUOTA_ACHIV_AGGR.MGMT_DOLLARS_MTD_AMT ELSE SR_QUOTA_ACHIV_AGGR.LGL_DOLLARS_MTD_AMT, GEO_DIM.AREA, GEO_DIM.AREA_DESC, ORDER_SPLIT.BOOKED_DT, ORDER_SPLIT.ORD_SHIP_TO_SITE_CITY, ORDER_SPLIT.ORD_SHIP_TO_SITE_NBR, ORDER_SPLIT.ORD_SOLD_TO_SITE_CITY, ORDER_SPLIT.ORD_SOLD_TO_SITE_NBR, SR_QUOTA_ACHIV_AGGR.PROD_LINE_CD, SR_QUOTA_ACHIV_AGGR.QUOTA_CREDIT_COUNTRY_KEY, SR_QUOTA_ACHIV_AGGR.SALES_ORG_ID FROM ROAD_RUNNER
Thanks

Similar Messages

  • A CSS command that would show return traffic...

    We're running a pair of CSS's with a couple of back-end servers behind them. We could determine if the traffic is coming into the CSS by uing the sh flows command. However, this command will only show the connections from the CSS to the server, not back to the CSS, so if there's an asymetry in the flow, this command will not pick it up. Is there a similar command(s) that would show a return connection from back-end servers to the CSS?
    Thanks..

    Good morning,
    No, there is not such a command, but you can easily confirm that there is no asymmetric traffic from the fact that connections work.
    If the CSS doesn't see the full TCP handshake for a connection (which includes the client and server directions), it will close the connection and log a SYN attack.
    On top of that, unless you are defining the servers as transparent, the CSS will apply NAT to the destination IP (from the VIP to the server), so, if there is asymmetric routing, the NAT is not undone for the return traffic, which will cause connections to fail.
    I hope this helps
    Daniel

  • HT201210 I need to change where my iPhone back up is. It is in a drive that cannot afford to be full, and I need to change the drive it's in, but i can't find the whole folder. If you could help me that would be great. Thanks

    If you could help me, that would be very much appreciated. Thank-you.

    Read here:
    http://aaltonen.co/2011/01/03/change-the-location-of-your-iphone-backup/

  • So I just dowloaded Photoshop and I never got it. I dont know if im doing something wrong or anything. It say that i purchased it so if anyone can help me that would be great :D

    So I just dowloaded Photoshop and I never got it. I dont know if im doing something wrong or anything. It say that i purchased it so if anyone can help me that would be great

    That link want to launch an Adobe download manager.  That may not be working on your machine for some reason.  Try using this link to download the direct installer.  BE SURE TO READ AND FOLLOW THE DOWNLOAD INSTRUCTIONS else you will be DENIED ACCESS  Adobe CC 2014 Direct Download Links: Creative Cloud 2014 Release | ProDesignTools

  • HT5622 I just brought 15$ App store card and wanted to buy a paid app but it says ''Your Purchase Could Not Be Completed" Can Somebody help me that would be helpful thank you.

    I just brought 15$ App store card and wanted to buy a paid app but it says ''Your Purchase Could Not Be Completed" Can Somebody help me that would be helpful thank you.

    Well, usually that message ends with ..."contact the iTunes Store."
    http://www.apple.com/support/itunes/contact/

  • I had put a greek keybooard up on my Ipod 5th gen, then changed my password to a greek word, yesterday I took the greek keyboard off and didn't change my password, so I now can't get into my Ipod. If any one could help me that would be grea

    I have an Ipod 5th gen, I added a keyboard which was greek, I had changed my password to a greek short sentence. But the decided to take the greek keyboard off as I didn't use it often, so there was no point in having it. But I forgot to change my password, so I can't enter my Ipod. I've tried to enter the password in English and its not working! I don't really want to restart it all because I will loose everything! If anyone could help that would be great thank you.

    Connect the iOS device to your computer and try to make a backup. Yo shld be able to make a backup if you previously syncing to this computer.
    iOS: How to back up
    Then restore via iTunes. The iOS device will be erased. Place the iOS device in Recovery Mode if necessary to allow the restore.
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store   
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.

  • How can i set a column which would show me the name of the user

    how can i write a trigger which would show me the name of the user now make changes in the table.

    872959 wrote:
    how can i write a trigger which would show me the name of the user now make changes in the table.I think what sb is trying to say is: if you mean the database user, you can use the USER session variable to identify the database user:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions227.htm#SQLRF06156
    you would write a before each row trigger to update an "updated_by" column on your table to be USER.
    e.g.:
    :new.updated_by := USER;

  • Hello, i´m trying to do a proyect that requires modulate and demodulate a text in QAM. i´ve been trying this for days but i can´t come uo with a solution, if anyone can help me, that would be great. thank you very much

    hello
    i´m trying to do a proyect that requires modulate and demodulate a text in QAM. i´ve been trying this for days but i can´t come up with a solution, I can not retrieve the text I am modulating and i do not understand why. I am new to using Labview  and would appreciate some help.
    if anyone can help that would be great.
    i have attached the vi that i´ve done.
    thank you very much
    Attachments:
    intentoproyectocom2.vi ‏78 KB

    I beleive they used the same concept that they did in iOS. One folder deep. If you think they should implement somehting more, then please use the feedback links in the forums FAQs to leave your comments and suggestions.
    Jason

  • TS1292 HELP: i have tried and tried to enter my itunes gift card code and it just says this code has not beed activated properly...if any one could please help me that would be a big releif, i live in nz by the way...thanks!

    please help...i live in nz and my itunes card wont work...ive tried and tried and it never works please help im really worried, if you could help that would be a huge relief! thanks...

    Ask the people at the store the gift card came from or the iTunes Store staff for assistance.
    (121383)

  • If i could have any help whatsoever that would be very much appreciated

    I just recently got my new Satellite laptop and purchased some games, one game "Spore" seemed a bit slow in the installation proccess but worked fine for the first few days, now it shut down and wont open, wont respond, i cant open my game, and when i try to i get a message stating "file is corrupted" so i went to uninstall it, when i did it said that there was a bad process in installing it and suggested i reinstall it using the normal network settings for this computer, i said yes, but after a few minutes it wasnt doing anything and task manager wasnt showing any activity, i clicked uninstall it again and it seemed to accept my uninstall command but nothing ever came up again, i called toshiba and it told me to come here, help?

    thanks - But that doesnt really solve my problem. I want to send one email out to multiple addresses - however, I don't want each recipient to see that I've sent the message to lots of people if you know what I mean?

  • Hi there, whenever i load firefox all i get is a not responding msg whenever i click to do anything, i use windows 7 - if you could help me that would be great..Thanks

    this is the first time this has happened, i have tried to clear the history etc but it won't allow me to do this either

    Connect the iOS device to your computer and try to make a backup. Yo shld be able to make a backup if you previously syncing to this computer.
    iOS: How to back up
    Then restore via iTunes. The iOS device will be erased. Place the iOS device in Recovery Mode if necessary to allow the restore.
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store   
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.

  • I received a text from verizon saying i made a charge with a third party  vendor that would show up on by bill

    I got a text from Verizon saying I made a charge with a third party vendor that will be on my verizon bill.  What the heck?????

    Don't be surprised. I received this same notice but verizon has almost no way for a person to find the answer easily. Plus there are several charges on my bill that are on the web page that link to the contract. The links go no where! !
    If they are going to charge something they need to find a way for people to know what is being charged.
    An Iphone6 was upgraded on October 6 under the Edge program. The charge was added almost immediately and appeared on the October 12 billing cycle. The older phone was returned to them under the Verizon Edge plan and it was received by verizon on the 13th of October. That credit has still not been applied to our account. It took them a matter of minutes to charge us for the new IPhone 6 but so far they have not been able to apply the credit for the edge return after eight days. All the links to this transaction are dead and there are no records on the verizon billing site to back up the charges. The message today is the first 'hint' that there may be a charge coming but no mention of the credit.

  • If somebody could help me that would be great.

    Hey umm i got this 40G ipod for free but it still works kinda, everytime i try and turn it on it shows the apple symbol and then a Sad face with an exclamation mark on it and ive tryed restoring it and recharging it several times but nothin seems to work. If you have any ideas for me ad my msn [email protected]
    thanks
    - Finch

    Have you tried a factory restore click the link
    http://docs.info.apple.com/article.html?artnum=60983
    This link is ino on the sad face
    http://docs.info.apple.com/article.html?artnum=61771

  • Hello. If someone could help me that would be swell.

           So let me tell you what happened. So I sent a gift for my friend on the AppStore,so I did all the steps then it came up to my billing information. I had always kept my billing information on NONE so then I don't have to use a credit card. (It was also my first time sending a gift) So for some strange reason I can't use gift card credit to pay for the gift. So I used a credit card to pay for it and it sent and my friend got it. (Apologizing for using SO So much)The next day a app of mine was ready to update so i tried to update it. It sent me to the billing information and told me to update it. I had forgotten to change it from the card brand to NONE but the NONE button wasn't there. I decided to put in my credit card (some of the information had cleared)and it said"Your payment method was declined.Please enter another payment method" So could anyone please help me?

    Apple Store Customer Service at 1-800-676-2775 or visit online Help for more information.
    To contact product and tech support: Contacting Apple for support and service - this includes
    international calling numbers..
    For Mac App Store: Apple - Support - Mac App Store.
    For iTunes: Apple - Support - iTunes.

  • Acrobat 9.0 Std - How do I create a button that will show / hide the menu bar?

    In Adobe Acrobat 8, I was able to create a button that would show the menu bar using Link Properties. In version 9.0, the option I used is missing.
    The other view options are there under "Execute a menu item": View > Toolbars > File, Edit, etc.
    Any help would be greatly appreciated - thanks!

    In Adobe Acrobat 8, I was able to create a button that would show the menu bar using Link Properties. In version 9.0, the option I used is missing.
    The other view options are there under "Execute a menu item": View > Toolbars > File, Edit, etc.
    Any help would be greatly appreciated - thanks!

Maybe you are looking for

  • Licence   is not included for the material

    Hi, I have maintained account ddetermination for DIEX ETT for sub transaction type 22. When I am doing Additional Excise in J1IH system is giving the warning message as "Licence   is not included for the material" and it is not picking any G/L accoun

  • Taking too much time to connect SAP B1

    Dear All, My Addon is running successfully in one server. While the same Addon is taking too much time to connect ( near oCompany.Connect). Can anyone give me any idea regarding this.. Thanks in advance.. Regards Sanjay

  • Profit Center Accounting in ECPCA and New GL

    Hi Friends, We want to use the ECPCA profit center accounting for managment reporting. Also we are using new GL therefore we also have Profit Center accounting accounting. Can we just go with ECPCA, if yes what would be the dis-advantage of not using

  • Number of records in each partition

    Hi, Can any one please tell me, how to display number of record in each partion in any table. I wanted to use following in PL/SQL but it gives me error. Declare Cursor c1 is select partition_name into part_name from all_tab_partition where table_name

  • Best way to have an image span two columns in a CSS layout?

    My homepage is a typical fixed width three column layout. For the inside, content pages, I basically need the same layout except I need to have an image that spans the left and center columns at the top. Below the image, the left and center columns s