OBIEE - Filter SQL Expression Not Working At All - Shows SQL But Not Result

Im at my wits end for this
I have a report where I am using a filter with a simple SQL expression
cast ( timestampadd(SQL_TSI_YEAR, -1, Cast(Cast(DATE '@{pv_as_of_date}{2013-04-01}' AS CHAR) AS TIMESTAMP) ) as DATE)So an end user may input a date and this is passed into the filter via a variable
pv_as_of_date
This is defaulted to 2013-04-01
I want to subtract 1 year to make the end result
2012-04-01
When I run the report I am seeing two issues
1) When displaying the filter at the bottom, I see the full SQL code. Shouldnt this show the date returned? In this case shouldnt the filter show 2012-04-01?
2) The filter does not even work which is my bigger problem
I tested the above code in a column and I KNOW that the date is being returned as expected
But when I use the same SQL code in the filter then it doesnt work
Am I missing some special button some where to enable SQL expressions?
Any help immensely appreciated

Ok
So I was able to find an option "Protect Filter" that seemed to make a bit of difference and I got the date part working after using the above corrected code (thanks)
But now I want to add in the rest of my filter conditions and it does not seem to be liking it
Im trying to use this filter
'Acad ' || cast ( cast (substring ('@{pv_acad_year_desc}{Acad 2013/14}' , 6, 4) as integer) - 1 as char(4)) || '/' || cast ( cast (substring ('@{pv_acad_year_desc}{Acad 2013/14}' , 11, 2) as integer) - 1 as char(2))Im expecting the output to be in this case
Acad 2012/2013
When I test the above code in a column it works just fine, its just again in the filter that it isnt working

Similar Messages

  • HT201210 i updated my 4s yesterday, but my phone will not work at all now, and will not turn off. It has a itunes image on the screen with an arrow undernieth and what looks like the charger lead. i've had it on charge! is there anything else i can do?

    i updated my 4s yesterday, but my phone will not work at all now, and will not turn off. It has a itunes image on the screen with an arrow underneath and what looks like the charger lead. i've had it on charge! is there anything else i can do?

    Cconnect it to your computer with the latest version of iTunes installed.

  • Buffalo Linkstation works with all PC's but not iMac - With Airport Extreme

    Hi. I hope someone can help. Been at this for days, even AppleCare can't help....
    We have a Buffalo linkstation hooked to a new Airport Extreme.
    All PCs can see it and view documents, iTunes, etc. My iMac cannot. Actually, I think it sees it but it's a mere file on my desktop. When I click on it, it pulls up a Finder type window, but this Buffalo icon (like network icon) can't be mounted in my normal finder main section. I can't figure out how to do that.
    When I open Finder, I don't see the buffalo at all but have to go thru many libraries to find it. When I click on it ("connect") to it, It says "Select the SMB/CIFS shared volume you want to connect to: I click on the name, but it says "the alias blablabla could not be opened because the original item cannot be found. It gives the option to fix alias so I hit that and it puts me in my "documents" area and won't let me go anywhere else.
    OMG... Can someone tell me how to get this thing working? I can see the files but they are so buried. I'd like to take this Buffalo which seems to be on my desktop and mount it? to the right area of my Finder.
    All I want to do is see the darned iTunes on the buffalo wirelessly via airport extreme. LOL All other computers (PC's) did this instantly. Help?

    Yes, I can see everything I need to see (external HD)....
    I even dragged the darned thing into the finder...
    Now my upper left box of the finder says:
    Network
    Share (that's my external buffalo HD)
    Windox XP
    iMac
    The problem with the above is that "Share" is not mounted. It has the eject button next to it. I think (maybe) I could get this functioning if I could mount this darned thing but I can't for the life of me get it to do that. Any ideas?
    EDIT: I'm not sure how to use directory access utility. Do I need to?
    Message was edited by: meagain1

  • My Apple TV does not recognise My iTunes password. It works on all other devices but not Apple TV? Any ideas why or how to fix?

    Any ideas why my Apple TV does not recognise my iTunes password, when all other devices, including these communities are good with it?

    Hi Mick2291,
    Thanks for visiting Apple Support Communities.
    I'd suggest restarting, and then restoring, your Apple TV if the issue persists:
    Apple TV (2nd and 3rd generation): How to restart your Apple TV
    http://support.apple.com/kb/HT3180
    Apple TV (2nd and 3rd generation): Restoring your Apple TV
    http://support.apple.com/kb/HT4367
    Best Regards,
    Jeremy

  • Brand new iMac. Indesign CS6 will not work at all. It will not reinstall. Tried to contact adobe and I get nowhere.

    I can't reinstall from the adobe site. I get an installation failed message. I can't use the version that I transferred from my old iMac. I am missing plug-ins. Something called JBX and LILO.Indesing.Plugin. I can't find any of these on the web or on the adobe site. I've called apple they say they are third party things and can't help me. Other users have had similar issues but I can't find out how they solved them. I am in a panic. I have a ton of work to do and can't get my swell new computer to run my software. RUNNING CS6

    Moving this discussion to the Downloading, Installing, Setting Up forum.
    SJ1122 have you removed the migrated InDesign CS6 installation using the uninstaller located in the Applications/Utilities/Adobe Installers folder?  If so then please also run the CC Cleaner tool - Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6 - http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html to ensure complete removal.
    Adobe applications are not designed to be copied/migrated/transferred to other computers.  In the future please migrate/transfer/copy your documents and settings and reinstall your Adobe Creative Applications.

  • After installing Lion my keyboard will not work at all and it will not recognize my wi-fi connection at times. Any ideas for a solution to this problem?

    It will not let me type anything now and the wi-fi connection is not recognized at times! Please help!! This only happened after I downloaded Lion.

    Now that you have restored it to Apple software, we can help - no kidding.
    If WiFi is grayed out (tap Settings first) then you will not be able to select WiFi. See this article: http://support.apple.com/kb/TS1559
    If you can select WiFi, your touch will then detect WiFi networks that are within range. Networks that are protected by encryption will display with a closed lock. Open networks will have an open lock. Networks are displayed by strongest signal to weakest signal.
    Closed/locked networks require a password or WEP key to join. Open networks often require that you agree to terms and conditions for that network. This usually occurs with a Safari-like screen that appears 15-30 seconds after you tap on the network. Until you go through that screen, it might look like you are connected but you are not.
    Spend some time going through the basic WiFi troubleshooting guide: httpL//support.apple.com/kb/TS1398

  • All downloads through Firefox are not opening correctly. Bookmarks open up a page with links flush left down the page that do not work. All file downloads do not open correctly with the same issue as bookmarks. Want to avoid losing all my bookmarks so don

    Something happened in the last day with FF. IE downloads files correctly. FF Delicious bookmarks open up a page with blue links that look like an outline but they are not my links. My downloads do the same. No virus.

    That can be caused by having some bookmarks with a long title in the main Bookmarks menu.
    The width of a column in the Bookmarks menu list is in current Firefox versions automatically adjusted to fit the bookmark with the longest name.
    You can check the names of the bookmarks and make the longer ones shorter.

  • Airplay is constantly not working and connected to internet but not showing content

    This happens ALL the time.  So my apple tv airplay constantly goes out and doesnt work anymore.  I try my ipad, ipad mini, and iphone 6 and NONE work.   I then I have to reset my apple tv, but then it doesnt show any content.  It is connected to the internet and the signal strength is max.  I dont know what to do anymore.  If I would have known that this device would be a piece of **** then I wouldnt have bought it. Everything is has the current update.  Does anybody have any ideas.  I tried every step in the troubleshooting from restarting it to resetting my router.  Otherwise im smashing it with a hammer and getting fire tv

    This is due to a local network issue. The signal strength on the device doesn't account for any issues, you need to go to istumbler or similar to get a network report (to see full representation of signal, noise, and nearby networks. Trying ethernet will also help rule out wifi issues. You are also free to test on another network (preferably a controlled one like Apple's)

  • Audio speakers not working, says connected to HDMI but not

    So last night i spilt a small ammount of water on my laptop on the left hand side, i dried it off and today i come to find out that the mute button doesnt change color but works. My Cap's Lock light doesnt show, and says im connected to an HDMI for sound. when i connect headphones it still doesnt play through. when i open the sound menu from control panel it says that the (built-in) speakers are not connected. Is there a fix for this?

    This is due to a local network issue. The signal strength on the device doesn't account for any issues, you need to go to istumbler or similar to get a network report (to see full representation of signal, noise, and nearby networks. Trying ethernet will also help rule out wifi issues. You are also free to test on another network (preferably a controlled one like Apple's)

  • IPhoto can not find several photos, shows icon, but not pic itself and I did not move anything

    I have more then 12'000 photos on iPhoto. After the last update it shows me all pics in the small icons, but when I click on them, severals are not whown - a black background with a grey triangle opens and a "!" in the mid. I suppose this means that iPhoto can not find the data. I already looked into the database and the files are really not there. But I did NOT move them! What happened? What can I do? (I would highly appreciate if I would not have to check every single photo and reimport it again!!!) Thank you in advance for your help!

    Restore from your back up.
    Regards
    TD

  • Touch ID not working at all

    Hi, the Touch ID on my Iphone 5s is not working at all. It does not respond when I use it and I can´t put in any new fingerprints because it´s not reading my fingers. Any help?

    It sounds like the sensor has failed. The symptom of this would be if there is no setting for Touch ID in Settings. As all 5S models are still in warranty take it to an Apple store for exchange. Make a backup first, both on your computer and iCloud (belt and suspenders), and make an appointment so you won't have to wait at http://apple.com/store.

  • Mail search not working, at all

    Mail search is not working AT ALL for me.  0 results for things that should have hundreds of results.  Have tried most of the suggestions here already - repaired permissions, deleted envelope index files, rebuilt mailboxes, etc.
    Just broken.  Also, these "support communities" seem to be a downgrade from the old discussion boards IMO.  Harder, not easier, to find info.

    I am having the same problem, I can search last names and sometimes get a couple of results to show up, though for the most part I get nothing, even when I know the word is in the subject line and email address. 

  • Mouse drag, hand tool not working at all!

    So I've installed Photoshop CC 2014 and Illustrator CC 2014 on my computer, started a new file but only found that any action that includes mouse dragging - creating shapes, hand tool, pen tool - do not work at all, everything just do not respond, when creating a shape it will treat it as if I have clicked once (which pops out the create rectangle window for size input..), the same situation happens to Photoshop as well (perhaps all Adobe CC software). I've been trying everything that have been suggested on the forum (some from the links below): removing all other software at the background (spotify, 1password, etc). Also I've tried with using different sets of keyboard and mouse, either wired and wireless, still no luck. One situation that finally works is that all software work perfectly fine in safe mode, then I rebooted back to normal mode, try killing any background process that was not running in safe mode, still...not working at all...
    References:
    (Illustrator CS6) Spacebar stops working seemingly randomly
    Spacebar Shortcut: Hand Tool Not Showing and Not Working
    Illustrator gets stuck on hand tool
    My computer specs:
    Windows 7 Pro 64-bit
    Intel Core i3-4130 3.4Ghz
    4GB RAM

    wecon,
    You could try to reinstall using the full three step way:
    Uninstall, run the Cleaner Tool, and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • Ipod touch not working at all nor recognized,, any help!

    ipod touch 4generation ios 5.0.1 not working at all nor charging.. not recognized in the computer (windows),, please help me what to do!!
    I have tried using the way of pressing the power and home button but nothing happen at all just black screen with no lights or anything
    Just to know what happened: i was trying to downgrade the ios and i have used TinyUmbrella for that and put my ipod in the recovery mode from TinyUmbrella but i couldn't exit from the recovery mode
    waiting ur suggestions
    Thanks

    Try here:
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows
    or
    iPhone, iPad, iPod touch: Device not recognized in iTunes for Mac OS X
    Also try placing it in DFU mode to see if iTunes can see it so you can restore it.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • Embedded youtube videos load on all other browsers but not Firefox

    I have embedded youtube videos into a website...
    They work on ALL OTHER BROWSERS but not on Mozilla Firefox.
    I have tried:
    1. Clearing cache & cookies and using Safe Mode.
    2. 18 different computers running Windows 7, Windows 8, Mac OSX, Linux Ubuntu 12.10 and Fedora 16.
    3. Using old embed code instead of iframe.
    4. Loading HTML5 works but Firefox cannot fullscreen (still under youtube development)
    5. Redoing site from scratch.
    Code is as follows, note middle video is old youtube code: http://pastebin.com/T3w09bqW
    Picture of problem: http://i.stack.imgur.com/rJjyu.png

    Good point. When I insert that snippet of code in a new page, it runs for me. (Except that the first one says the frame is too small.) Does this work for you? http://dev.jeffersonscher.com/yt/941211.html

Maybe you are looking for

  • ADF 11g How to create the custom FilterableQueryDescriptor for adf table

    Can you please let me know on the following. 1. I am dispalying the adf table using a List from the managed bean 2. I wanted to filter the table using the filter model. 3. i wanted to create the sub class of FilterableQueryDescriptor which i can spec

  • Libros y Audiolibros en Español--cannot upgrade, and cannot purchase audiobooks.

    Two major problems with this App. One, I cannot successfully purchase an audiobook through the app. I can download a free text-only book, but there are no free audiobooks that I've found. When I try to purchase an audiobook, it goes through the Black

  • Problem in getting index page of Tomcat3.2(urgent!!!)

    Hello! I am not able to get index page of Tomcat3.2 I am getting error page can not be displayed, when I wrote http://localhost:8080/index.html. Could u send me what could be problem and what will be solution Thanks in advace ! Regards, Ritesh

  • ADF Validations - oracle.jbo.TooManyObjectsException Workaround/HOW TO?

    I am trying to work around an oracle.jbo.TooManyObjectsException I am getting, and I am at my wits end as to how solve this problem. I am new to ADF and JDeveloper, so the answer to this could be very easy. I have a master /detail table relationship

  • Map images automatically

    Hello experts, Is there a way to automate the mapping of file names from the import file to the Images that already exist in Images table (in the data manager)? Currently the Import server only map the fields but not the values so i have to access th