Data Modeling - Creating a multipling factor for a year

We have a need on a report to adjust the result by a percent based on the year.  i.e. if the value is 100 and it is in year 2007 we might add 1% making the end result 101.  But if the value is 100 and it is in year 2006 we might want to subtract 2% making the end result 98.
My first thought was to create this percent as an attribute on 0CALYEAR, but it is not possible to place attributes on time charateristics.  Does anyone have any suggestions for me to consider on how we might model this?
Thanks,
Chris

Hello Chris very simple suggestion for you copy from 'value' field 2 new value  fields in query one for 2006 and filter this with calyear 2006 and multiply with .98 and one for 2007 and filter with calyear 2007 and multiply with 1.01. Show them in columns.
Don't worry about records for 2006 the 'value 2007' will be 0 and records for 2007 'value 2007' will be 0 
Simple one
Sarhan.

Similar Messages

  • Consumption of data model created using Screen Scraping

    Dear All,
    I have created a GW Data Model for recording a standard SAP transaction and subsequently created its GW Consumption Model in SAP Netweaver Gateway.This will return a REST service.This REST service supports 'CRUD'
    (CREATE,READ,UPDATE.DELETE) operations as per the documentation .While using this REST service I am facing two
    problems.
    Case 1:
    I created a GW Comsumption Model by recording transaction 'TZ60' for READ operation,created QUERY operation
    and 'TZ90' for UPDATE operation. I can use the READ operation successfully in Dot Net Application but how can I use
    the UPDATE operation in Dot Net Application ?
    Case 2:
    Can wev create Screen Scraping Data Model for complex transactions involving Multiple Screens/Tabstrips and ALVs.
    Please reply to this thread as soon as possible.Thankyou.

    hi Chris
    Before you might want to start refactoring a copy of what you already have, you could consider this ...
    "Fear for renaming (refactoring) ADF BC objects in JDeveloper 10.1.3.3 is not unfounded by Frank Houweling"
    http://technology.amis.nl/blog/?p=2859
    success
    Jan Vervecken

  • SQL Developer Data Modeling-- Creating Image

    Hi All,
    I am trying to create JPG/BMP images in SQL Developer Data Modeling tool. My problem is as follows.
    Problem :-
    I have more than 1000+ tables and i have to create single ER diagram for that. I tried to create but after making some ER diagrams its unable to create.
    Could you please any one tell me how can i create ER diagram for the same ?
    Regards
    Shivraj

    Hello,
    you can create sequences and triggers in Oracle physical model - you can find triggers under table node (physical model).
    However it'll be better for you to do development of triggers in SQL Developer. After development of triggers is over you can put your triggers in data modeling physical model.
    Best regards,
    Philip

  • Data modeling , creating dimention

    hi ,
    i have a relational DB in Oracle 11g ,i am going to make a data warehouse using OWB , i want to do data modeling , which tools i can use for data modeling ?
    also i want to make dimention , how i can make it ?
    pls guid me urgent
    regards
    Padideh

    Analytics Workspace Manager is the administration tool of the OLAP Server (MOLAP) from the Oracle Database.
    You can build an Olap cube with it.
    http://www.oracle.com/technology/obe/11gr1_db/otn_all_db11gr1.html#olap
    But you can also do it with OWB. And you can do with OWB all what you need to build a datawarehouse.
    Try to go through the tutorials. It's the best way to learn.
    If you have problem to define measure and fact (which is a big subject), the best way is that you buy this book :
    http://www.amazon.com/Data-Warehouse-Toolkit-Complete-Dimensional/dp/0471200247/ref=pd_sim_b_3
    You will find on it all what you want with a clear language (It's the bible for modelling)
    Good luck
    Nico

  • SQL Developer Data Modeler-  Creating super/subtype relationship

    The User's Guide does not tell you how to create super/subtype relationship.
    To create super/subtype relationship in a logical model, you must already have the two candidate entities; one to be the supertype, the other subtype.
    - on the logical model diagram, right click the candidate subtype and select Properties
    - on the Entity Properties dialog box, select the candidate supertype from the Super Entity drop-down list, then OK
    Depending on whether you enable or disable the Box-in-box Presentation on your logical diagram, the subtype would be shown inside or outside its supertype entity, respectively

    Hi Peter,
    When I examine an XML file for a relation converted from version 2.0, the XML elements "nameOnSource" and "nameOnTarget" are missing in the converted 3.0 EA1 versionthey are not loaded during "open" of older design. If you define them they will go into XML file.
    Philip

  • Master data update bringing in multiple records for single entry

    Hello,
    I found that if I deleted and reloaded data in a master data object, it was showing me correct number of records. However, just a full update was not overwriting it with correct number of data records. there were always 1 or 2 extra blank records. I thought master data update should overwrite previous records and we need not delete and reload it.
    Why would this happen?
    Thanks!

    Hi there,
    Are you refering to time dependent master data? From to values are present?
    If so, that's the correct situation, since BW (OLAP) instead of R/3 (OLTP) allows you to mantain historical data, i.e., a material can be valid from a specific time period with several attributes and other attributes can be valid for the same material in another time space.
    Diogo.

  • CANNOT RUN TEST DATA MODEL CREATED WITH TUTORIAL

    Perform the steps as set out in the Oracle Tutorial:
    Build a Web Application with JDeveloper 11g Using EJB, JPA and JavaServer Faces
    What is this ?
    [EJB 3.0]: Assigning default-data-source=jdbc/MyneDS, specified in projects EJB 3.0
    properties
    [Starting Embedded OC4J Server using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\Documents and Settings\dxs1216\Application Data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config>
    C:\JDeveloper\jdk\bin\javaw.exe -client -classpath
    C:\JDeveloper\j2ee\home\oc4j.jar;C:\JDeveloper\jdev\lib\jdev-oc4j-embedded.jar
    -Xverify:none -XX:MaxPermSize=512m -Ddisable.checkForUpdate=true
    -Doracle.application.environment=development
    -Doracle.j2ee.dont.use.memory.archive=true
    -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false
    "-Djava.security.policy=C:\Documents and Settings\dxs1216\Application
    Data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\java2.policy
    " oracle.oc4j.loader.boot.BootStrap -config "C:\Documents and
    Settings\dxs1216\Application
    Data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\server.xml"
    [waiting for the server to complete its initialization...]
    Apr 23, 2008 3:08:43 PM oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    Apr 23, 2008 3:08:44 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    08/04/23 15:08:50 WARNING: ApplicationServer.enableOC4JDocumentChangeNotifier Alternate
    DocumentChangeNotifier in use!
    08/04/23 15:08:51 JMS server will listen on port 9227.
    08/04/23 15:08:52 oracle.j2ee.jms.oc4j.JMSServer startup complete
    Apr 23, 2008 3:08:52 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Apr 23, 2008 3:08:53 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Apr 23, 2008 3:08:58 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Apr 23, 2008 3:08:58 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Apr 23, 2008 3:09:00 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Apr 23, 2008 3:09:00 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Apr 23, 2008 3:09:00 PM oracle.j2ee.util.AnnotatedLogger logWithThrowable
    WARNING: J2EE JNDI-00002
    Apr 23, 2008 3:09:00 PM oracle.j2ee.util.AnnotatedLogger log
    WARNING: No javax.jms.ConnectionFactory found at null
    Apr 23, 2008 3:09:00 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Apr 23, 2008 3:09:00 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: System user is not available from Credential Store.
    Apr 23, 2008 3:09:03 PM oracle.j2ee.jmsrouter.util.JmsRouterMessages
    logException
    WARNING: oracle.j2ee.jmsrouter.RouterException: JMS Destination, {0}, does not exist
    Ready message received from Oc4jNotifier.
    Embedded OC4J Server startup time: 32703 ms.

    I've the same problem. Here is the what I got:
    [EJB 3.0]: Assigning default-data-source=jdbc/HRConnDS, specified in projects EJB 3.0 properties
    [Starting Embedded OC4J Server using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\Documents and Settings\msastry\Application Data\JDeveloper\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j\config>
    C:\Java\Jdev11gPrev4\jdk\bin\javaw.exe -client -classpath C:\Java\Jdev11gPrev4\j2ee\home\oc4j.jar;C:\Java\Jdev11gPrev4\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=512m -Ddisable.checkForUpdate=true -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false "-Djava.security.policy=C:\Documents and Settings\msastry\Application Data\JDeveloper\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j\config\java2.policy" oracle.oc4j.loader.boot.BootStrap -config "C:\Documents and Settings\msastry\Application Data\JDeveloper\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j\config\server.xml"
    [waiting for the server to complete its initialization...]
    May 6, 2008 3:30:26 PM oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    08/05/06 15:30:29 SEVERE: AbstractInfo.getAnnotation oracle.webservices.annotations.async.AsyncWebService cannot be found in the given classpath.
    08/05/06 15:30:29 SEVERE: AbstractInfo.getAnnotation oracle.webservices.annotations.async.AsyncWebService cannot be found in the given classpath.
    May 6, 2008 3:30:32 PM oracle.j2ee.util.AnnotatedLogger logWithThrowable
    WARNING: J2EE JNDI-00002
    May 6, 2008 3:30:32 PM oracle.j2ee.util.AnnotatedLogger log
    WARNING: No javax.jms.ConnectionFactory found at null
    Ready message received from Oc4jNotifier.
    Embedded OC4J Server startup time: 14547 ms.
    =======
    In the log I'm supposed to see:
    firstName = Payam
    lastName = Kaufling and so on.
    It is true that the OC4J server is running. But I don't see the expected output.
    Thanks for your help.

  • How to create an Apple ID for 10 year old? and retrieve old contacts?

    Hi, my daughter and I have just got our new iPhones but I can´t create and Apple ID för her so she can´t use the ICloud service. So I tried using the one I created for myself resulting in that all my contacts apeared in her phone. What should we do?
    Apple how about letting parents confirm the Apple ID for their kid but it should be created with the kids name and birthday how difficult can it be? am I the first mum who bought and Iphone for my kid?
    And by the way how do we get access to all the old contacts stored on the SIM card from our preIPhone time? I thought that everything just work with Apple but I am beginning to think that I should have choosen and Android... I mean changing brand of phone doesn´t exactly mean that you want to cut contact with all your old friends...are there a solution that I havn´t figured out?
    Maybe someone could make an App that emulates a SonyEricsson or Nokia so that you can retrive your old data?

    You can delete the iCloud account from her phone by going to Settings>iCloud, scroll to the bottom and choose Delete Account.  I believe you will get a prompt asking if you want to remove or keep the data on the phone; if you don't want your contacts on her phone choose delete.  As far as the contact on your old SIM card, if it is the same size as the iPhone SIM card you can put it in the iPhone and import the contacts (see http://support.apple.com/kb/HT4994).  If the SIM card won't fit, then you would need to either export the contacts to your computer using appropriate software, upload your contacts to a cloud service so you can download them to your computer, or in some cases take it and your iPhone to your retailer and ask them if they can do the transfer for you.  (It's also possible to cut a SIM card down to fit but it can be tricky to get it right.  There are articles on this if you search with Google.)  This video might help: http://www.youtube.com/watch?v=ypZpYNpfa9E.

  • Why has the "date received" has been the same for two years?

    On my mail programme, all email sent and received has used the date I first set up Mail two years ago. Anyone else had this problem? Is it curable?

    The date & time that Mail shows in the Date Received column is the date & time that appears in the latest (topmost) message’s Received header (which you can see doing View > Message > Long Headers), and is set by the recipient’s incoming mail server.
    The date & time that Mail shows in the Date Sent column is the date & time that appears in the message’s Date header and is set by the sender’s mail client.
    Isn’t that what you observe?

  • How to know if the data model qry is not returning any data

    Hi
    If my report doesn't have data (meaning if the data model qry doesn't retreive any data), I wan't to show this text: "There is no data returned."
    My question is how would I know that the qry is not returning any data. I know I can create a text field, and write a trigger on it, to set it True or False depending on the fact that data is being returned or not.
    Thanks
    Shalu

    Hi,
    In Data Model create a summary column for function=count on one of your columns.
    Then for BeforeReport trigger you can write
    function BeforeReport return boolean is
    begin
    if :CS_RPT_NODATA > 0 then
    return (TRUE);
    end if;
    SRW.MESSAGE(300,'There is no data');
    return (FALSE);
    end;
    Regards, Gicu

  • Issue in creating a custom data model from BP

    Hi Team
    We have a requirement to create a custom data model by copying data model BP. I have successfully created new data model ZP . I have copied the UI for searching from BP. Issue is when i search a business partner  ideally it should not display any entries because i have just created the data model, But it is taking entries from BP and getting displayed. Please let me know how to map data model to search UI. I dont see option USMD_MODEL here

    Hi Imran,
    actually that is not an issue but a designed feature. I'm afraid that you need to re-think your whole project. The explanations is rather simple:
    Data model BP in MDG is a so called Re-Use Area data modell. This means that active data (records that are currently not stored in a change request) are saved in existing SAP ERP data base tables like BUT000 for the business partner master data and LFA1 or KNA1 for Vendor or Customer master data.
    If you copy data model BP to ZP you still refer to the same active area. You will always find the same active objects - no matter which data model you are actually using for the user interface. The only difference wil occur for objects being currently processed in a change request. In that case a separation between BP and ZP is possible. But this won't help to solve your issue.
    From SAP side I can only recommend not to copy BP but to find a different way of integrating your project needs into BP.
    Best regards
    Michael

  • Data Model best Practices for Large Data Models

    We are currently rolling out Hyperion IR 11.1.x and are trying to establish best practces for BQYs and how to display these models to our end users.
    So far, we have created an OCE file that limits the selectable tables to only those that are within the model.
    Then, we created a BQY that brings in the tables to a data model, created metatopics for the main tables and integrated the descriptions via lookups in the meta topics.
    This seems to be ok, however, anytime I try to add items to a query, as soon as i add columns from different tables, the app freezes up, hogs a bunch of memory and then closes itself.
    Obviously, this isnt' acceptable to be given to our end users like this, so i'm asking for suggestions.
    Are there settings I can change to get around this memory sucking issue? Do I need to use a smaller model?
    and in general, how are you all deploying this tool to your users? Our users are accustomed to a pre built data model so they can just click and add the fields they want and hit submit. How do I get close to that ideal with this tool?
    thanks for any help/advice.

    I answered my own question. in the case of the large data model, the tool by default was attempting to calculate every possible join path to get from Table A to Table B (even though there is a direct join between them).
    in the data model options, I changed the join setting to use the join path with the least number of topics. This skipped the extraneous steps and allowed me to proceed as normal.
    hope this helps anyone else who may bump into this issue.

  • How to create multiple nodes for single activity in workflow.

    Hi Gurus,
    I am developing the PR workflow. and in that I want to create 2 different nodes for signle activity.
    how can I create those multiple outcomes for signel activity in workflow.
    Thanks in Advcance.
    Vinod

    Hi ,
    You can use Outcomes tab in your workflow step...
    What is the step... is it related to release...
    what is that you want to do...
    Regards
    Gautam

  • Data modeling in endeca information discovery

    I want to know the data modeling in EID and how the Endeca server wil generate the model. Where can I get it, I need description with exmple please share if any one knows
    Thanks in advance
    Bhaskar

    Bhaskar,
    In one word, "denormalized" summarizes how data is modeled into the Endeca Server. In this case, during data ingestion, we join data together from disparate sources into an Endeca record. The Endeca Server does not model the data that is passed to it, it merely serves it and supplies search and faceted filtering as mechanisms to query it. The Endeca Server is a common record store containing self-describing records. I typically think of a chain of name-value pairs when I think of an Endeca record, where each record shares attributes and their values in common which help power the guided navigation experience.
    When consuming records from a database, we typically create a database view that denormalizes the data ahead of time, before it is pushed into the Endeca Server. From a data warehousing perspective, you can think of creating a database view that joins the dimension tables onto the fact table.
    Plenty of related topics are often brought up when discussing Endeca data modeling: picking the right "grain" for the Endeca record, ingesting multiple denormalized "record types" into the Endeca Server, etc. Do you have a particular question or are you just looking to understand it better? If the latter you might want to check out some of the resources below:
    http://www.youtube.com/user/OracleEID?feature=watch
    http://branchbird.com/blog/pivoting-in-endeca/
    http://www.oracle.com/us/solutions/ent-performance-bi/oeid-tech-overview-1674380.pdf
    HTH,
    Dan
    http://branchbird.com

  • PowerPivot removed table replicated into the data model on refresh

    Hey
    I am facing the following problem which is absolutely persistent and annoying in nature. I am using a data model created with PowerPivot with connections to three different SQL servers and 25 tables. The bug is that every time I refresh my data, a table
    that was initially added to the data model (and later removed) is replicated in equivalent number of tables that use this connection, which is currently around 12 tables, so I get 12 duplicates of the same unnecessary table on every refresh, named with the
    name of the schema on the SQL server that is followed by a running number. Removing these from the data model on every refresh simply takes too much time on a daily basis. The additional undesired table which is created is what is defined in the SQL query
    of the connection string of this connection.
    I tried to solve this problem by zipping the Excel file and modifying this SQL statement present in the connection string in the connections.xml file in a way that it would not return anything, but this always leads into a corrupted workbook.
    After encountering this I have managed to avoid this problem by making sure that the initial table I'm adding to the data model will remain in the model, but I really don't want to rebuild this current model. Is there any fix for this issue without
    rebuilding the data model?
    Thanks for all the help in advance!

    I am using 64-bit Office 2013 with the recent SP1 upgrade and the included PowerPivot plug-in on a Windows 8.1 machine.
    I always create the connection by using "From SQL server" then fill in the server and log in details and use a ready SQL statement that I have written by using SQL Server Management Studio to import the initial table. For all the preceding tables
    using the same server and schema, I always select it from existing connections and just paste the SQL queries required for any additional tables to the "Write a query that will specify the data to import", rather than using the table import tool.
    I am not sure if it could have any effect that I've been using the type connection "From SQL server" although the database is really running on Azure (there is a possibility to select From Other sources > Microsoft SQL Azure, but the functionality
    seems the same).
    I don't really understand what I should edit from the existing connections section. Just to clarify, apparently the Connection String parameters can be edited from PowerPivot, but not the Command Text which can be viewed from Excel Data > Connections
    > Properties, but is shown in gray with a message "Some properties cannot be changed because this connection was modified using the PowerPivot add-in."
    In the data model I am using two sets of identical tables, but connected to two different servers that are running a database 1:1 in structure. Initially the problem considered only the other of these, but I accidentally reproduced it by, again, editing
    the SQL query in the table that was initially imported when that connection was created (PowerPivot > Design > Table Properties). Now when refreshing I get tables that are structured as in what the "Connection Text" part of the connection would
    produce, which replicated for the equivalent amount of additional tables using the same connection, so now I'm getting 12 tables (the number of tables using the same connection) each named "*schemaname1* Query", "*schemaname1* Query2",
    "*schemaname1* Query3" "*schemaname2* Query" and so on.
    Personally I can definitely see a pattern here. If there isn't a table matching what has been specified in the "Command Text" that was described when the connection was created, then it for some reason runs this query anyway on every table that
    is using the connection.

Maybe you are looking for

  • Can you determine which songs are not authorized . . .

    without having to try and play every song? I've got about 2600 songs and just restored my iPod and there are 10 that did not transfer. It's only a small percentage but it would be nice to know which ones did not transfer. Thanks in advance.

  • How to change the incoming xml to a different namespace

    I have a xml file coming into XI (file ->XI)without namespace. I would like to change the root elment with ns tag add the namespace values with it. ie., Coming in as <Vendor> </Vendor> I would like to change it to <ns:Vendor xmlns:ns="urn:group01:leg

  • 1607 error in itunes--further question. pls. help me

    hello! after going through a lot of troubles and a whole bunch of errors, I managed to get through the ipod set up process ...and i'm now trying to install itunes and it gives me the 1607 error...so i'm trying to follow the instructions (from one of

  • I'm trying to install Photoshop Elements 11

    I'm trying to install photoshop elements 11 and when I go to enter the serial numbers, the alphabetical letters wont enter...only the numerals...what's up?

  • How to create a container class for 2 object?

    I use JDK to create 2 objects, one is Customer and one is Book. I need to enqueue these 2 objects, but they canot share the same queue class. Some one told me that I can create a container class for these 2 objects but I don't know how to create it.