Dynamic Week needed - NO prompt

Hi Gurus,
I would like to populate data to my dashboard using a Webi report. My datasource is BW query.
I would like to show the orders in my report if "invoice-week" <= current week
So, I need a dynamic week that I think needs to be passed onto "invoice-week" object in Webi report.
I do not want user to be prompted to enter the Week.
Where should I created the condition/formula (in Universe or Webi report)? to display the invoice records where 'Invoiice week" is <= current week
Please let me know the logic.
I think I need to include a condition in Universe :
<FILTER KEY="[ZP_OPRWK]"><CONDITION OPERATORCONDITION="<="><CONSTANT TECH_NAME="Value"></CONSTANT>[<CONSTANT></CONSTANT>]</CONDITION></FILTER>
Thank you,
Dev

Hi,
If you are using SAP we recommend to cxreate an SAP Exit or create a WebI Formula.
If you are using MSAS you can also define a universe pre-definedf filter in MDX such like this.
Here is a sample based on AdwentureWorks. This sample returns 1 if the current member from Date.Calendar is in the current week:
<FILTER EXPRESSION="IIF ( CDate([Date].[Calendar].CurrentMember.MemberValue) <= Now() and CDate([Date].[Calendar].CurrentMember.MemberValue) > Now()-7,1,0)">
<CONDITION OPERATORCONDITION="Equal">
<CONSTANT CAPTION="1"/>
</CONDITION>
</FILTER>

Similar Messages

  • Dynamic Week needed

    Hi Gurus,
    I would like to populate data to my dashboard using a Webi report. My datasource is BW query.
    I would like to show the orders in my report if "invoice-week" <= current week
    So, I need a dynamic week that I think needs to be passed onto "invoice-week" object in Webi report.
    I do not want user to be prompted to enter the Week.
    Where should I created the condition/formula (in Universe or Webi report)? to display the invoice records where 'Invoiice week" is <= current week
    Please let me know the logic.
    Thank you,
    Dev

    Solved. Thanks to Didier
    Dynamic Week needed - NO prompt

  • How to set a dynamic filter to a prompted one?

    Hello:
    I have a dashboard prompt whose values determine the columns for a constructed dynamic filter column using case statement.
    There is another dashboard prompt whose value determine the the values for the dynamic filter column.
    I have a need to set this dynamic filter to the operator 'is prompted'. According to the OBIEE documentation, the requirement for 'is prompted' filter is to have the dashboard prompt column match with the filter column.
    I currently use a presentation variable for the dashboard prompt column that gives the filter value.
    How do I make my dynamic filter to be prompted (for pre-filtering results as a default behavior) and subsequently use the presentation variable (derived from the dashboard prompt) if a user enters the appropriate prompt values?
    Here is an example:
    Dashboard prompt: Location Type-> (State, District, City) (The case statement on my filter determines the appropriate logical column State or District or City)
    Filter Value: Dallas (pv1)
    The dynamic filter will generate "City" = '@{pv1}' (Dallas in the above example)
    I want this dynamic filter to be set to 'is prompted' for pre-filtering results as a default behavior.
    Thanks for reading this far and looking forward to your suggestions.
    Regards
    Sankar Bala

    Please read this carefully, you may find what you are looking for:
    Dynamic dashboard prompts and columns used in multifunctional report, full guided navigation
    http://108obiee.blogspot.com/2009/08/dynamic-dashboard-prompts-and-columns.html
    Or this one:
    http://obiee101.blogspot.com/2009/04/obiee-dynamic-prompt-content.html
    Regards
    Goran
    http://108obiee.blogspot.com

  • IPod touch screen freezes up and become unresponsive whenever it needs to prompt me for passcode

    I know my problem may sound strange. My iPod touch is complete screwed to the point that I can only unlock it using the password when it boots up from off mode. After that, when I lock the screen and it prompts me for the password again, I slide the slider and it hangs down there. I tried to go to the settings app to turn off the passcode but it needs to prompt me to enter my current passcode before I can enter to turn it off and it just hangs down there. I tried to Reset All Settings which also needs my passcode, I tapped on "Reset All Settings" and the next thing it should pop out is ask me to enter my passcode but it just freezes down there being unresponsive. Help. I've tried restoring but there was an error message in the process of restoring.

    I suspected it is a bug of iOS 5.1.1. The problem is in a very vicious loop. But with many tries, there will be times when it doesn't hang when it needs to prompt you to enter a passcode. Found a solution here: https://discussions.apple.com/message/18896056

  • How to hide Dynamic Parameter userid/password prompts on infoview

    Hi,
    I want to hide Userid/password for each dynamic parameter, which gets prompts while refreshing or scheduling a report
    I do enter userid and password at CMC->database level but when report has dynamic parameter it still does prompts for each parameter.
    Please advise.
    Megha

    I tried what you suggested..
    Well I run into different error now while refreshing report suing dynamic prompt.
    Error says 'List of Values failure: fail to get values.[Cause of error:Failed to the connetion.ProductName]
    ProductName is my dynamic Parameter.
    Please advise.
    thanks
    Megha

  • HT1349 Last week I was prompted to do an update on my MacBook Pro which I did & now different things keep popping up asking for passwords for a keychain & it won't go away. I don't know what these are & I don't know how to access them. Help me please

    Last week I was prompted to do an update on my Mac Book Pro which I did. Ever since I did the update a box keeps popping up asking for login info for my keychains & they won't go away. I have no clue what these keychains are & I don't know how to find them & know the passwords for each of them. Plus now I don't get my email on here either. Please help me...

    Outside of the contact number for that you've already used I don't know another way of direct contact. Here are some things that they may or may not of had you try that might help you. If you will go to the settings app and pick general on the right-hand side you will see accessibility. Within that you can adjust a text size make the text bowl you can also increase the contrast. You can also adjust the brightness and control panel.
    As for Siri again in the settings app under general you should see Siri on the right-hand side with the switch to turn it on. If that is turned on and you're still having issues
    Try a Restart. 
    Press and hold the Sleep/Wake button for a few seconds until the red "slide to power off" slider appears, and then slide the slider. Press and hold the Sleep/Wake button until the Apple logo appears.
     Resetting your settings
    You can also try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered. You won't lose any data, but it takes time to enter all of the settings again.
    Resetting your device
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears. Apple recommends this only if you are unable to restart it.
    Or if this doesn't work and nobody else on the blog doesn't have a better idea you can contact Apple. 
    Here is a link to their contacts with most of the information below. 
    http://www.apple.com/contact/

  • What will be the form of file protocol (file://) in firefox?? Using file://servername/foldername , I am uable to open a folder. But it was supporting in other browsers. Need a prompt solution of that issue.

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/918107]]</blockquote>
    what will be the form of file protocol (file://) in firefox?? Using file://servername/foldername , I am uable to open a folder. But it was supporting in other browsers. Need a prompt solution of that issue.
    I have used following code snippets:
    <a href="file://PC2/c$">open folder </a>
    It is used to open C:/. But it is not working in other browser except Mozilla.
    Need a solution as soon as possible...

    Hi,
    Please try '''file://///servername/sharename/''' or '''\\servername\sharename'''

  • How to use Dynamic View as a Prompt Table?

    Can someone give me or point me to an example of the code / syntax needed for this?
    First, to be clear, I'm not simply trying to have the name of the prompt table be a variable; e.g. I don't want to define the prompt table as %EDITTABLE and set the value of this field in pcode. I want to have a view where I can dynamically at run time change the WHERE clause in the SQL.
    In particular, I want to be able to specify WHERE BUSINESS_UNIT IN (xxxx)
    and to build the list of values at run time in pcode.
    - How should I code the SQL in the record? (Or do I leave the SQL blank and somehow pass the entire SQL from pcode?)
    - How do I code the SQL in my pcode, and how will this be passed to or incorporated into the prompt table? I know that I can code something like
    &BU_List = "'" || &BU1 || "','" || &BU2 || "'";
    but what's the next step?
    Thanks.
    Mike
    HCM 9.0

    I figured out the answer:
    - The prompt table is a dynamic view.
    - The field that points to the prompt table has a property called SQLText. Assigning SQL to that field/property causes the dynamic view's SQL (if any) to be overwritten with the new SQL.
    In this example, I take the basic SQL from a SQL object, then append an AND clause (which contains a list of BU values that I built in previous pcode) and assigns the concatenated SQL to field.SQLText.
    &SQLText = FetchSQL(SQL.B_DISTINCT_JOB_UNION);
    &WhereBU = " AND BUSINESS_UNIT IN (" | &BU_List | ")";
    B_BN016R_RUN.UNION_CD.SqlText = &SQLText | &WhereBU;

  • Designing a dynamic tracker, Need advice...

    Hello Everyone,
    I am in process of designing a BMI tracker which would allow
    users to track their BMI for 52 weeks. I am designing it in FLASH
    but would like to capture the entered data by the user to a
    database (MS ACCESS or SQL). I will probably add more features
    which would also dynamically driven via DB. My questions are:
    1. I am assuming I will be using ASP.NET with SQL or ACCESS,
    would it be easier to have DB spit out XML and then I populate that
    data in FLASH?
    2. Since this tool will be online, having a database spit out
    XML for each request can probably bog down the server performance
    (I can be wrong here). Should I not use XML?
    3. Are there any off the shelf tracker tools available which
    can customized?
    4. What other technologies can I use to achieve this tool
    using Flash?
    Thanks a lot for all your help.

    1. I am assuming I will be using ASP.NET with SQL or ACCESS,
    would it be
    easier to have DB spit out XML and then I populate that data
    in FLASH?
    I'd use PHP and MySQL instead, but that's what I'm more
    comfortable with. No
    reason for the intermediary XML step, unless you have a
    special need for it.
    2. Since this tool will be online, having a database spit
    out XML for each
    request can probably bog down the server performance (I can
    be wrong here).
    Should I not use XML?
    I wouldn't. You could use LoadVars to get the data directly
    from your
    script. But, personally, I'd use AMFPHP (
    http://www.amfphp.org/) which is
    an
    easy to use remoting replacement that runs on PHP. It's much
    faster than
    LoadVars and serializes your data for you.
    3. Are there any off the shelf tracker tools available which
    can
    customized?
    Can't help ya there.
    4. What other technologies can I use to achieve this tool
    using Flash?
    Many... Java, JavaScript, Director, VisualBasic, etc, etc,
    etc.
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Moving to Chile in a week, need to know if my 27'' iMac will work on 220V automatically

    Hi guys!
    I'm graduating today from college! and I'm moving to Chile in just a week and a half to work. I have a 27'' iMac that I bought last year but I don't know if it will work there because of the voltage difference. Does anyone know for sure how this works? Of course when I've gone down there my Macbook hasn't had any problems because the charger converts the power, but I don't know if the iMac has the same capability or if I'll have to buy a converter in Chile.
    Please let me know!

    The iMac will work on the electricity supplied to the wall. You just may need a different shaped prong to plug into the wall. Check the specs at Apple's web site.

  • Dynamic week view in calendar

    Hey everybody,
    Is there any way to display the week in a DYNAMIC way in calendar for mac (showing e.g. the past 2 and future 4 days rather than a fixed Monday to Sunday view)? Thanks in advance for your help!
    Best, C.

    Rachel, what happens if you rotate your iPod Touch so that it is in landscape mode while viewing your Calendar?
    B-rock

  • Vista bootmgr compressed VISTA - need command prompt!

    I am at wit's end and even though my 8 year old bought his HP G60 with his own money, I am about to hurl it out the window as I wasn't "consulted" and would not have condoned this unfamiliar to me Vista O/S.
    All I wanted to do was reset the computer/system to factory defaults.  He is gaming now a few years later with nothing important and seemed the quickest way to clean up the PC.  I create recovery disks, a NICE LITTLE PROCESS that took 3 entire days.  NO JOKE.  I had to place every few hours COLD PACKS under and on it because this thing from day one runs hotter then heck. 
    So voila, it's done.  And reboots.  And I hope there is some other bored GEEK reading this because I can't find ONE POST on the entire Al Gore Internet that gets me to a command prompt without using install disks.  This HP shipped with no install o/s disks.  I created the recovery as a safety net, and it's starting over AGAIN and personally, I don't have 3 more days and hot pack maintenance in me before I just buy a new one.  PLEASE HELP.  It seems simple enough to get to a command prompt and uncompress something I never even intended to compress nor did in any keystroke of my imagination.
    He is losing faith in his mother who he believes created MPLS....  got a network problem, I'm your gal.  Word won't load, call IT.  Windows XP has an issue, UNIX, learning Win7... but this Vista?  grrrrrr.  Where's the wine for my WHINE?

    I guess I only said it in the subject. boot gets BOOMGR is compressed. Press Control Alt Del to restart. Tried the normal ways to boot and get into some start up, but seems I need a command prompt to uncompress...

  • Dynamic table needs to break to 2nd page

    Hi,
    Still consider myself clueless when it comes to dynamic properties in a form.
    I have a user interface that collects and stores data for some of our business accounts. A chunk of these fields are free-form text boxes.
    I need the ability to simply, neatly display all information saved or entered in the user interface.
    I'm working with LiveCycle and am required to have a standard header/footer on each page that consists of fields that will also populate with data from the user interface.
    What I've tried is to set up the fields as a table. I have the ability to extend the field according to the amount of text entered, but have problems when the field should break to the next page.
    I've allowed multiple lines for the text boxes, and set the table row to "expand to fit". Unfortunately I can't figure out how to get the system to accept or have available the setting Allow Page Breaks with Content.
    When there is enough text to cause the field to break over a field, it simply takes the entire section to the next page.
    Any help or suggestions would be welcomed.
    Karen

    Input fields cannot be broken across pages in version 8.x and before.
    That is why it is trying to keep the whole field together on a single page.
    Sorry

  • Dynamic column in dashboard prompt

    Hi all,
    I have to dispay 'TOP' & 'BOTTOM' dynamic value in the dropdown of dashboard prompt how to create a dynamic column value in dropdown of dashboard prompt?I m trying to create it by writing case in show sql result but not getting correctly according to TOP & Bottom selection i have to make a the changes in report

    Hi Sonal,
    SELECT CASE WHEN 1=0 THEN "D2 Market"."M01 Market" ELSE 'Top' END FROM "Sample Sales"
    union all
    SELECT CASE WHEN 1=0 THEN "D2 Market"."M01 Market" ELSE 'Bottom' END FROM "Sample Sales"
    something like this in dashboard prompt sql results
    http://img709.imageshack.us/img709/7893/prompt.jpg
    Later,refer this to get a selected report http://varanasisaichand.blogspot.com/2010/02/dashboards-as-prompts-in-obiee.html
    thanks,
    Saichand.v

  • Dynamic form needs to be saved as a flat/unmodifiable pdf

    Hi All,
    Please let me know what i can do!
    I have enabled "Enable Additional Features" in acrobat to allow my dynamic pdf form to be saved. However, after being saved and reopenning the saved form in reader, the pdf is still dynamic and edits can to text fields or drop down lists can still be made. I need it to be saved as a flat pdf file.
    I also have a "submit by email" button, programmed to email the filled out pdf to a particualr emailbox. Clicking the "submit by email" button, will attach the pdf, but unfortunately the file still allow edits.
    Help please!
    -KL 

    Hi,
    a XFA form cannot be real flattened by Acrobat nor Reader except by printing.
    Another method is to set all fields access property to readOnly be scripting.
    function lockFields(vNode) {
        if (vNode.className === "field") {
            vNode.access = "protected";
        for (var i = 0; i < vNode.nodes.length; i += 1) {
            lockFields(vNode.nodes.item(i));
    lockFields(xfa.form);

Maybe you are looking for

  • End of Valid Logistic Calender error while creating Sales Order

    Hi, While creating Sales order in VA01 the following error message comes for particular material code for a particular site only: 24.01.2202 date comes after end of valid logistics calendar. (Please correct)      Message no. 61062 Can anyone suggest

  • InDesign - download not installed correctly.

    I have just installed the InDesign trial on CC. All that is visible is the left hand tool bar and the header menu. Any clues as to how to resolve this please? I am only semi IT literate by the way.  Working on iMac. With thanks.

  • Need a jdbc driver for tomcat - oracle

    i have tomcat 6 and oracle forms 6i i need a driver where can i get it from & how do i install???

  • Web Service Error on DOWNTIME

    We are developing Web services applications. Someone following items, please tell us. 1) If, Web services, Oracle CRM On Demand to connect the downtime if the error? 2) If, Web services and data to be added to the capacity is exceeded, an error? 1) a

  • DW MX and DW 8 side by side?

    In the past various Dreamweaver versions have simply installed side by side so that both new and old versions could be used on the same machine. Does this hold true for DW 8? Will it coexist peacefully with DW MX? Thanks. Phil