Date Filters

Hi all
I am wondering if someone can help me figure this out.
I need to show data for 4 dates in each pivot table. Each pivot table has 'Pages' that include year - month and create a drop down.
So if the user selects July 2010
I need to show data in 4 columns:
Last Day of Previous Month June 30 2010
10th Day of Month Selected July 10th
20th Day of Month Selected July 20th
Last Day of Month Selected July 31
Does anybody know how I can accomplish this?
Thanks in advance.

Get the Month value in a Presentation Variable and use the following functions to get the desired result.
In place of CURRENT_DATE use your presentation Variables.
Last Day of previous Month:
TIMESTAMPADD( SQL_TSI_DAY , -(1), TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH( CURRENT_DATE) * -(1) + 1, CURRENT_DATE))
10th Day of Month Selected July 10th:
TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH( CURRENT_DATE) * -(1) + 10, CURRENT_DATE)
20th Day of Month Selected July 20th:
TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH( CURRENT_DATE) * -(1) + 20, CURRENT_DATE)
Last Day of Month Selected July 31:
TIMESTAMPADD( SQL_TSI_DAY , -(1), TIMESTAMPADD( SQL_TSI_MONTH , 1, TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH( CURRENT_DATE) * -(1) + 1, CURRENT_DATE)))

Similar Messages

  • What is Data filtering and Segment filtering in ALE/IDOCs

    Hi sap gurus
    what is Data filtering and Segment filtering in ALE/IDOCs

    Hi,
    Filtering at the IDoc Level
    Identify the filter object (BD59)
    Modify the distribution model
    Segment Filtering
    specify the segments to be filtered (BD56)
    The Reduced IDoc Type
    Analyze the data.
    Reduce the IDoc type (BD53)
    Thanks and regards.

  • Load data filtering on a dimension's member - ESSCMD MaxL

    Hi.
    I would like to load data filtering records on a dimension's member. Referring as example to Sample's database outline, I would like to load only records with product 100-10.
    I know that I can use Select command from Record 's rule menu in Administration Console; however, I would like to use ESSCMD or Maxl to do the same.
    Is it possible? Any issue?
    Thanks a lot in advance.

    No it's not possible. The selection/rejection criteria are in the load rules and you can't pass parameters to them.
    I think in 9.3.1 you could put a substitution variable in a load rule but have not tried it yet. If so, you could add that to MaxL to update the variable then use the load rule to load the data. You will have to try it as I have not done so yet.

  • Is Data filtering possible in TreeTable examlple 0.

    Hello everyone,
    I have used an opensource example "TreeTable example 0" provided by sun to develop an application and it is working very file for me. But Now, I want to develop a feature of data filtering whether column wise or data wise.
    So, is it possible to achieve it in that code.

    Hello,
    See these docs,
    [System Copy Procedures |https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50960d8f-6542-2a10-3ba8-e46dc23dd9b1]
    [System Copy and Migration|System Copy and Migration ]
    [Setting up Business Intelligence Client in NW2004s|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/007af9a7-e48e-2a10-5c85-fcac22d58e82]
    [System Copy for SAP Systems Based on SAP NetWeaver 2004s SR2 ABAP and Java|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/200ebc93-dabe-2910-c1a6-c4ec30b20e04]
    [Homogeneous and Heterogeneous System Copy for SAP Systems Based on SAP NetWeaver 2004s|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f022aa7d-0c01-0010-20a5-c247330d47fa]
    [System Copy for SAP Systems Based on SAP NetWeaver 2004s SR1 ABAP|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d10bf27d-0c01-0010-6995-bbdcdf0118a1]
    [System Copy for SAP Systems Based on SAP NetWeaver 2004s SR2 ABAP|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e08502d4-dabe-2910-bbb4-c1bfc82aed73]
    [System Copy for SAP Systems Based on SAP NetWeaver 2004s SR2 Java|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20bd5cee-dabe-2910-fb97-c082a7c9c682]
    Thanks
    Chandran

  • Need help with data filtering on groups/application roles

    Hello,
    I have a situation where I have to apply security on objects (reports, prompts etc) and dimension members (Essbase cube). So the idea is like this:
    Report 1: access to three users (U1, U2, U3), but for dimension Company they have separate rights:
    U1: Company A, Companies A.1-A.7 (children of A) and Companies A.1.1-A.1.9 (children of A.1);
    U2: Company A.1 and Companies A.1.1-A.1.9;
         U3: Company A.1.1
    same for Report 2, but users must have access to different companyes, like Company B, B1...
    In WebLogic Console I created three groups (G1-G3) and placed each user to a group (U1-> G1, U2 ->G2, U3->G3). Then in WebLogic EM I created three application roles (R1-R3) and added for each, corresponding user (R1-> U1, R2->U2, R3-> U3).
    My approach was to use application roles like this:
    R1: include User1 and filter data on repository by application role to each generation of the cube ("Data_Source_Name"."Dimension_Name"."Generation2,Dimension"='Company A',"Data_Source_Name"."Dimension_Name"."Generation3,Dimension"='Company A.1', "Data_Source_Name"."Dimension_Name"."Generation4,Dimension"='Company A.1.1')
    R2: include User2 and filter data on repository by application role to each generation of the cube ("Data_Source_Name"."Dimension_Name"."Generation3,Dimension"='Company A.1', "Data_Source_Name"."Dimension_Name"."Generation4,Dimension"='Company A.1.1')
    R3: include User3 and filter data on repository by application role to each generation of the cube ("Data_Source_Name"."Dimension_Name"."Generation4,Dimension"='Company A.1.1').
    I've noticed that, by default, each role inherites BIConsumer and "localmachineusers" application roles, so I set in repository these both roles to filter data as the role 3 (the lowest level of acces), in order for my roles (Roles 1 to 3) to have the highest privileges.
    In repository I cannot see any of my users (U1-U3), but just the application roles they are in.
    For Report 1 I set the access to Roles 1-3 and when I am logged on as U3 this report should display only the data for Company A.1.1, but it doesn't (displays data also for Company A, Companies A.1-A.7).
    In fact it seems, that the data isn't filtered at all, which drives me to the conclusion that my data filter is override by another role, maybe ?
    Could you please give me a clue about what I am missing here ?
    Thank you.

    Amith,
    Please bear this with me - see my comments below (search for petresion_Comments):
    So, we have three users who have access to a report called Report1. But the data that they see in the report needs to be different. The report has a dimension company, and each user needs to see different companies data. So the filtering needs to be done on company dimension.
    petresion_Comment: That's my case to solve.
    Now the groups in weblogic has no purpose in OBIEE 11g unless you are using an LDAP authenticator who has groups defined in the active directory. By this I mean the network people are maintaining the users and group relation necessary for OBIEE. So keeping the weblogic groups apart for a minute, lets deal with users and roles only.
    The three users are assigned to three different roles R1, R2 and R3. By default, all the roles inherit the BIconsumer role, and localmachineusers role you mentioned is not an OTB role. This is something that is probably causing the data filtering to fail. Do a test like create a user in weblogic, assign him only to the localmachineusers role, and go to analytics, and check your roles and groups by going under my account. Make sure this role is not inheriting any other roles like BIAdministrator, BIauthor etc. So in conclusion, when one of your users login, they should inherit only their custom Role (R1 for instance), BIConsumer, Authenticated User, and your custom role localmachineusers.
    petresion_Comment: That is what I checked on the first time (few days ago) and is exactly as you say (BIConsumer, localmachinerole and Role1).
    Do not apply any data filters on the BIConsumer role. This is not a good practice because the filters get applied to every single user that logs into the system.
    petresion_Comment: I know that, but appliyng filters on BIConsumer role I tried to make sure that its privileges doesn't overrides any of my Roles (1,2 or 3). I will remove the filter on BIConsumer.
    Now create the data filters on your custom roles (R1, R2, R3). Save the RPD. Deploy the Rpd through Enterprise Manager.
    petresion_Comment: Only difference in my case is that I stopped BI services, applied changes to rpd in Offline mode and then restarted BI services.But also tried as you mentioned (by the book in fact) and same result. The problem is the same, my roles(1,2,3) don't filter the companies at all.
    Once you are done with all the work above, you should login into analytics as user1. After logging in go to my account, roles and groups, and make sure you see the R1 in the list of groups. Now run the report, and your filters should get applied no matter what. If they are still not getting applied, grab the physical sql and see if the filters are existing in the where condition.
    petresion_Comment: Where can I capture the physical SQL (probably an MDX sent to the Essbase cube ?) ?
    One other reason could be, one of the roles that are assigned to the user1 by default, is overriding the filters. Like for example, if a user is assigned to BIAdmin role, and no matter if you assign him to a different role that has 100's of filters, he will still see all of the data.
    petresion_Comment: As I said before, each of my users are members of their roles, BIComsumer and localmachinerole, so no other privileges (no BIAdmin role).
    Thank you for the patience.
    John

  • Error when applying data filters on Logical Dimensional Table

    I have a data filter setup on a dimension table using session variables. The session variables are getting populated in the correct way. To make sure, I created an analysis with session variables, and I see the values that I need to apply the data filters.
    When I select a column from the dimensional table in the presentation services, I am getting below error.
    Error getting drill information: SELECT "GL Segment3 - Office"."Region Code" saw_0 FROM "Financials - AP Overview"
    Error Details:
    Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [23014] The Variable with Object ID '3031:338998' is still referenced and could not be loaded.Please have your System Administrator look at the log for more details on this error. (HY000)
    SQL Issued: {call NQSGetLevelDrillability('SELECT "GL Segment3 - Office"."Region Code" saw_0 FROM "Financials - AP Overview"')}
    Thanks,
    -Amith.
    Edited by: Amith on May 3, 2011 12:19 PM

    You can go into the BI Administration tool, then go to tools. After that go to Query Repository.
    In the "name" field leave the "*". Set the "type" to variable and do not establish a filter.
    Once you hit query you should see all of the repository variables listed and you can see the code that is throwing you the error. Although, in my case it is throwing me a code that does not exist in this list. I'm a bit stuck as well.
    Anyone?

  • Data filtering not activated for ALE processing of Outbound Deliveries

    Dear all,
    we're currently upgrading from 4.6c to ERP 6.0 and are facing a serious problem with our IDoc interfaces:
    In 4.6c, data filtering for Message Type SHP_OBDLV_SAVE_REPLICA was activated and use to extract some segments from the IDoc sent to our logistics provider.
    In ERP 6.0 data filtering is not activated for SHP_OBDLV_SAVE_REPLICA and we do not know how to activate it. For some reason, we can still see the data filtering setting when we switch to "system view" in BD64 but we're not able to change it.
    Checking filter settings in the old system using transactions BD60, ... we do not see any clue how data filtering or filter objects have been defined for SHP_OBDLV_SAVE_REPLICA.or in it's context
    Help please - thank you very much in advance,
    Martin Pluntke

    Dear all,
    thank you for your help. I've just realized that the former project team made a modification to object LIKP, method SAVEREPLICA in transaction BDBG and set it to "Data filtering allowed".
    This setting was lost during upgrade.
    Last question: When redoing this modification (I hate to do this but that's the only way to keep the interface running) and save it I get an error/warning message during generation that the definition is inconsistent. I can continue the generation or cancel it. However, the switch is activated and my filter settings suddenly appear again in BD64 (they've been there all the time, but not displayed or active).
    Is there anything I've to keep in mind? Can I generate, should I ignore?
    Thank you all for your help,
    Martin
    Edited by: Martin Pluntke on Feb 8, 2008 4:37 PM

  • 11g Groups of Roles & Data filters

    Hi Guys,
    In 11g OBIEE, when we create 3 applications roles ,
    Role_A
    Role_B
    Role_DataFilter (Fact1 = 'XYZ') (* this role is mapped to other two application roles Role_A & Role_B)
    Two without no datafilters and one with a datafilter.
    When one user get assign to Role_A & Role_B , we found the Fact1='XYZ' gets applied twice (with or clause).
    However in the My Account -> Roles and groups shows only 3 roles which assigned.
    Is this the expected behavior or a bug?
    Seems we can not overlap different data-filters in roles.
    Thanks!
    Nils.

    I encounterd the simliar issue on setting the presentation table permissions.
    Take the original Sample Sales Lite model for example.
    I set the permissions of TIME table to "No Access" for all default application roles: Everyone, BIAdministrator, BIAuthor, BIConsumer, BISystem and weblogic. Then I login with weblogic account, but I still could see the TIME table in the Subject area.
    I'm very confused why there's nothing happened. Is there is any other configuration need to be enable to the Security Control?

  • EXIF data filtered when exporting to Flickr

    I've noticed that some EXIF data seems to be filtered out when exporting photos to Flickr via Aperture's built-in Flick exporter.
    For example, if I export same photo using Flickr's upload page, then using Aperture's built-in Flickr exporter, then re-download original back to my computer, the fields like "lens size" are missing from the copy exported by Aperture.
    There's few other fields that are silently filtered out by Aperture. Looking at the differences between two copies of the same photo re-downloaded back from Flickr, examples include fields such as digital zoom, subject distance, focus mode, macro mode, firmware version, serial number, owner name (and the list goes on)...
    While one could argue that some fields contain personal information, there's my real name on my Flickr account, so having serial number or owner name in EXIF data removed is kind of pointless for my use case. Also, there's tons of photos I exported in the past to various photo sharing sites containing these headers anyhow.
    I'd really like to preserve some interesting and useful (technical) fields such as lens size or subject distance. Is there a way to tell Aperture "I don't care, the world already knows this stuff, don't filter EXIF info when exporting"?

    Hi Raja,
    Not sure, what version are you in, but must not be in latest.
    You have to write a e-text to get csv/txt of the desired format.
    By default, if you are not in latest version, you will see some data when you select csv without E-text template

  • Special Stock as of Certain Date Filtered By Customer

    Hi MM GURUS,
    Is there a standard report in SAP which is like MB5B which can show/display special stock as of a certain date but can be filtered per customer?
    Thanks,
    Jograd

    Hi,
    Material is valuated or not depends on Material Type. So, in your case you need to know which material types are valuated. In standard SAP system Material Type UNBW and NLAG are not valuated in term of price, generally others are!
    For a particular material: MMBE(Standard report) or MM02 (Accounting view).
    Hope helped
    Reetesh

  • Date Filtering With Equals and Time in Interactive Reports

    Using Apex 4.2.0.00.27
    I have a date column in an Interactive Report. The default column and action menu filters include things like "in the last 2 hours". If I remove the time component of the date this fails to find any records.
    If I leave the time component in the date then the user also has the option (via action->filter menu) to select a filter for "equals" and then this fails to find any records.
    I would like to keep the time component but also allow the filter for "equals a specific date".
    Greg

    adamt wrote:
    Thank you very much fac586!
    It's probably obvious I'm not very familiar with APEX (not HTML/CSS!) but managed to figure out a place to put what you said...If you are unfamiliar with the web technologies used in APEX, spend some time on the tutorials here: start with HTML, then XHTML, CSS, Javascript and the HTML DOM, and now HTML5.
    I appended the following in the template definition section for "Region without Buttons and Titles" and the Interactive Report looks how the users want now! I should probably take a copy of that template and only use it for the relevant IRs so that nothing else gets messed up.There are 3 ways to include CSS in web pages. The easiest is using an internal style sheet as you've done, but where you've put it is <a href="https://forums.oracle.com/forums/thread.jspa?messageID=10178616&#10178616">invalid according to the HTML specification</a>. The page HTML Header property in the APEX Page Attributes is the appropriate place for such style sheets. However ff you want to apply these styles globally across your application then that's not a scalable approach as it involves modifying every page with an IR. The standards-compliant approach is to modify the required page templates, either to include an external style sheet containing these overrides, or (more ambitiously and efficiently) copying and modifying the theme files in a different location and changing the page templates to reference them.
    <style type="text/css">
    .apexir_WORKSHEET_DATA th div {
    margin-left: 0;
    .apexir_WORKSHEET_DATA th,
    .apexir_WORKSHEET_DATA td {
    border: 1px solid #CCCCCC;
    </style>Always post code wrapped in tags<tt>\...\</tt> tags to preserve formatting and special characters.

  • Inventory key figure diffrent date filters

    Hello Experts,
    We have a report on Inventory Management where we have lots of diffrent key figures, we are executing report either on Calendar day or Calendar month. If we execute the report for one CALMONTH then output comes for one complete Calendar Month.
    Now there are two KF 1. Inventory On hand and 2. Morgue Inventory, for these two key figures user wants to see the data  from the inventory initialization to entered CALMONTH or CALDAY in filter.
    Please guide me to handle this requirment which is specific to two keyfigures.
    Regards,
    Chandrakant.

    Hi Durgesh,
    I have two golbal filters,
    1. Calendar Date
    2. Calendar Month
    Currently report is working based on filter condition, if user has enetered 12/2010 in Calmonth filter, then user will able to see the stock details for that perticular month. Thses filter is applied for all the keyfigures.
    Now the requirment is:
    If stock initialization month is 01/2008, for two keyfigures i.e. Inventory on hand and Morgue Inventory user wants to see the data from 01/2008 to 12/2010 (which is global filter value).
    Please let me know if you need more information.
    Regards,
    Chandrakant

  • SharePoint 2010 and SQL DateTime data filtering

    I have a SharePoint site that is using an external content type and external list to pull information from a view in SQL. One column of the contains Date/Time information. All of the information shows up fine in the SharePoint list, but as soon as I try
    to filter the Date/Time column for a specific Date range, nothing appears on the list or the list is unchanged. I have used the built in [Today] parameter in a filter such as "[Today]-30" (no quotes, and no spaces in the formula) which has worked
    for this filtering on other lists in SharePoint, but I always get the full list returned instead of a subset. Any help would be greaty appreciated.

    Hi,
    According to your description, the filter formula“[Today-30]” doesn’t work in the external list.
    I reproduce your issue in my environment. If I fill a certain date value like ‘7/1/2013’ or ‘[Today]’ , it works properly. But when I fill  the formula like ‘[Today]-30’,
    it fails to filter.
    As the limited resource we may got, I would suggest you open a ticket to MS Customer Support Services for a better solution:
    http://support.microsoft.com/
    Best regards
    Patrick Liang
    TechNet Community Support

  • Channel Data filters in DIAdem

    Hi All,
    I am having NI DIAdem installed in my system.
    I am having data to be analysed in .csv format and the same data i am able to see in DIAdem.
    There are number of channels in this data.
    There are Channel filters in DIAdem at the top right corner on Data Portal which can filter one channel within the entire channels in the data.
    Suppose in one channel, i am having date & time (time stamp) when a particular data record was recorded having different channels in it..
    Now, this channel is having say 1000 records/data corresponding time stamps.
    My question is can i filter entire data as per the selection of time stamp for one channel/channels(s).
    I did not found any tool in DIAdem to do this.
    Can anyone tell me.
    Samriddh Sarbalhi

    Hi Samriddh,
    Let me try to clarify your request.  Let's stay with the example of data channels with 1000 values in them.  Will each channel have one date/time value associated with it or 1000?  Will all the channels in one data file have the same date/time value?  Do you want to concatenate together all the channels which have date/time values in the correct range?  If so, will some of those channels to concatenate come from different files?
    I think we can use the DataFinder to tackle these issues, as long as you don't have 1000 different date/time values in each channel.  In that case we'll need to use a channel calculator or calculation manager session to filter the specific rows you want from one or more channels.
    Brad Turpin
    DIAde Product Support Engineer
    National Instruments

  • BD64 IDOC Data Filters

    Hi
    I have a IDOC (message type J3AGRI) in the ALE Distribution Model and this is working fine.
    But now I need to filter the IDOC - certain actions I do not want to send the IDOC.
    but I cannot see the Data Filter that I can see on other IDOCS in BD64.
    I have the field
    BD64 - Already set up but I need to filter J3AGRI on MSGFN.
    BD95 - done (field MSGFN was already there)
    BD59 - done
    MSGFN     E1J3AGC     3     MSGFN     0     3
    MSGFN     E1J3AGE     2     MSGFN     0     3
    MSGFN     E1J3GH1     1     MSGFN     0     3
    Why can't I see the Data Filter option against my message type in BD64

    hi,
    there are two fillterings are avilable
    1) IDOC filltering
    2) segment filltering .
    so which one u want ..
    IDOC filltering
    To filter materials for the basic idoc type MATMAS03
    Re: IDOC - Object filter setting
    segment filtering
    BD56..
    ~linganna

  • Report data filters depending on user

    I have web intelligence report returning data grouped by departments. Is it possible to filter report data by department for user logged in depending on user's department?
    Thanks
    Edited by: Denis Sapunkov on Aug 19, 2010 12:58 PM

    This can be achieved in 3 ways:
    1. In Web Intelligence
    Providing you have a table in your database that holds username and department you create a webi report where you select "Dept. Username", "Department" and all other objects you require for your report.
    - Run the Query
    - Create a new variable called CurrentUser => Formula: =CurrentUser()
    - Create a new variable called "Department Filter" => Formula: =If([CurrentUser] = "Dept. Username" ; "Yes" ; "No")
    - Create a new report filter: Department Filter = "Yes"
    This will only return the deprtment for the user that is currently logged on to BO.
    2. On universe level you could use access restrictions to achieve this
    3. If you require to schedule the report, you could create a group for each department and assign this group to a profile that filters on department.
    Hope this helps!

Maybe you are looking for

  • What precautions to b taken while selling my iphone??

    I'm gonna sell my iPhone4,,before wats the steps to be taken ?? i mean should i do RESET ALL in the settings,, if i do so? will all the contacts in my iphone ll b erased??

  • Color Laserjet 2600n: only red not printing properly, washed out on the left side

    Hello, Our HP2600 Color Laser printer does not print well whatever includes the color red. On a portrait layout the 2" from the left are washed out in red. We only use new HP cartridges, clean the machine regularly. Error happens with different compu

  • Error in Creating schema

    Hi, I'm trying to install Oracle webcenter poratl by following the below linked mentioned As per the guide am trying to create schema,, am getting the error mentioned below Error: Oracle Initialization Parameter 'PROCESSES' is too low. Cause: The Ora

  • MIRO: Changes in tax calculation

    Dear Experts, My requirement is regarding tax calculations (Basic Excise Duty, Edu. cess, Higher Edu. Cess) in MIRO transaction. We calculate all these duties in this transaction with a taxed code which is based on fixed percentages for combination o

  • Compressed tables with more than 255 columns

    hi, Would anyone have a sql to find out compressed tables with more than 255 columns. Thank you Jonu