Add varchar column in to Time Series Algorithm

i created a time series algoritham using numeric columns, but i need to add text columns so what we do?
plz share to me if possible to add.

Hi,
Thanks a lot, it's really help...don't know why I didn't see this customized point before in SPRO.
But I have an other issue, my new fields is added in the CATS screen and now I'm trying to put default value by using the user exit of extension CATS0009.
When I complete the value of my new fields in structure CATSD_IMP, there are not taking into account and the CATS screen doesn't display the value.
Am I using the wrong table ? wrong user-exit ? or my code ..
Thansk a lot again for your help.
Fanny GROUX

Similar Messages

  • SAP HANA One and Predictive Analysis Desktop - Time Series Algorithms

    I have been working on a Proof-of-Concept project linking the SAP Predictive Analysis Desktop application to the SAP HANA One environment.
    I have modeled that data using SAP HANA Studio -- created Analytic views, Hierarchies, etc. -- following the HANA Academy videos.  This has worked very well in order to perform the historical analysis and reporting through the Desktop Application. 
    However, I cannot get the Predictive Analysis algorithms -- specifically the Time Series algorithms -- to work appropriately using the Desktop tool. It always errors out and points to the IndexTrace for more information, but it is difficult to pinpoint the exact cause of the issue.  The HANA Academy only has videos on Time Series Algorithms using SQL statements which will not work for my user community since they will have to constantly tweak the data and algorithm configuration. 
    In my experience so far with Predictive Analysis desktop and the Predictive Algorithms, there is a drastic difference between working with Local .CSV / Excel files and connecting to a HANA instance.  The configuration options for using the Time Series Algorithms are different depending upon the data source, which seems to be causing the issue.  For instance, when working with a local file, the Triple Exponential Smoothing configuration allows for the specification of which Date field to use for the calculation.  Once the data source is switched to HANA, it no longer allows for the Date field to be specified.  Using the exact same data set, the Algorithm using the local file works but the HANA one fails. 
    From my research thus far, everyone seems to be using PA for local files or running the Predictive Algorithms directly in HANA using SQL.  I can not find much of anything useful related to combing PA Desktop to HANA. 
    Does anyone have any experience utilizing the Time Series Algorithms in PA Desktop with a HANA instance?   Is there any documentation of how to structure the data in HANA so that it can be properly utilized in PA desktop? 
    HANA Info:
    HANA One Version: Rev 52.1
    HANA Version: 1.00.66.382664
    Predictive Analysis Desktop Info:
    Version: 1.0.11
    Build: 708
    Thanks in advance --
    Brian

    Hi,
    If you use CSV or XLS data source you will be using Native Algorithm or R
    Algorithm in SAP Predictive Analysis.
    When you connect HANA, SAP Predictive Analysis uses PAL Algorithm which runs
    on HANA server.
    Coming to your question regarding difference,
    In SAP PA Native Algorithm, we could provide the Data variable, Algorithm
    picks the seasonal information from the Data column. Both R and SAP HANA PAL
    does not support Date Column. We need configure seasonal information in
    Algorithm properties.
    R Properties
    1) Period : you need to mention the periodicity of the Data
    Monthly : (12)
    Quarter : (4)
    Custom : you can use it for week or Daily or hourly.
    2) Start Year: need to mention Start year.
    Start year is not used by algorithm for calculating Time series, but it helps
    PA to generate Visualization ( Time series chart) by simulating year and
    periodicity information.
    3) Starting Period:
    if your data is Quarterly and you have data recordings from Q2, mention 2 in
    start period.
    Example.
    If the data periodicity is Monthy and my data starts from Feb 1979, we need to provide following information,
    Period: 12
    Start year: 1979
    start Period: 2
    PAL Properties. : Same as properties defined in R.
    Thanks
    Ashok
    [email protected]

  • Drilldowns on measure columns based on time series functions.

    Guys,
    I am new to OBIEE and i need your Help!! I have a dashbaord report which shows the sales USD for the colums below.
    REGION , PRIOR MONTH , CURRENT MONTH PRIOR YEAR , CURRENT MONTH PRIOR YEAR MTD , CURRENT MTD , ACTUALS YTD.
    All the measures are logical columns caluculated in the RPD using the Time Series Functions. The dasboard report has a Prompt Calender Date and all the measure values are caluclated based on the date entered in the prompt.
    For example if the Calender Date on the prompt is 5/31/2011 then the value for the PRIOR MONTH will the sales for APR-2011 and the value for CURRENT MONTH PRIOR YEAR will be MAY-2010 and so on.
    The business requirement is to provide the drill down capability on these measure columns. When i click the sales number on the prior month column it should give me all the detailed transactions for the month of APR-2011 considering the prompt for calender date is 31-MAY-2011.
    I have provided drilldowns based on the Navigation using the column interatcion but i am unable to understand how to provide the drilldown on the measure columns using the time series functions to caluclate the sales for PRIOR MONTH. CURRENT MONTH PRIOR YEAR...etc.
    Please Help!!!
    Thanks,
    Sandeep.

    1. Create an alias fact table (Year Ago) to pull last year value.
    2. Extend your fact table to store another measure (last year sales)
    3. Based on volume of granular data and query pattern on year ago measures, you may create aggregate fact tables.
    hope this helps.

  • Time Series algorithm problem

    Hi,
    problem-In Time Series Algorithm predication  is wrong if Sales value is negative
    i  have data for more than  3 years  ,
    sample data like
    Year/Month
    Zone-1 Sales
    201001
    -5467.66
    201002
    2345.88
    201003
    -7895.33
    201004
    2345.65
    201005
    120.2333
    Due to negative value my prediction for next month is wrong. Please tell me how I can handle this problem. Negative values come due to sales return in zone.

    Hi Leo,
    Thanks a lot for replay.
    but using  help of this blog also this problem not solve.
    is this problem can we  solve using  "Seasonal Decomposition of Time Series by Loess".
    Regards,
    Manish

  • How to add customized column in the time sheet CATS (transaction CAT2) ?

    Hello,
    I need to be able to add some columns in the time sheet CAT2 containing:
    - the name and first name of the person (in addition of the number), in display mode in the CATS time sheet.
    - a  text that I will found by reading some tables and values...
    Does anyone have any idea how to do so ? and if it's possible or not?
    Thanks a lot in advance for your help.
    Best regards
    Fanny GROUX

    Hi,
    Thanks a lot, it's really help...don't know why I didn't see this customized point before in SPRO.
    But I have an other issue, my new fields is added in the CATS screen and now I'm trying to put default value by using the user exit of extension CATS0009.
    When I complete the value of my new fields in structure CATSD_IMP, there are not taking into account and the CATS screen doesn't display the value.
    Am I using the wrong table ? wrong user-exit ? or my code ..
    Thansk a lot again for your help.
    Fanny GROUX

  • Last Year MTD/YTD Column Without Using Time Series Function

    I need to calculate MTD and YTD of last year without using time series function.
    My requirement is like:
    We are working on Fiscal year.
    Suppose user will select a date: 15-Jan-2013

    Use a period table with Period Ago attributes and join these to an alias of your fact table. In other words, use a period table (let's say Day is grain) that would have
    WAgo, QAgo, YAgo, (etc.) attributes for each day. Join this table to aliases of the fact tables on these columns.
    Thanks.

  • How do I add moving averages to my time series graph is there a function on numbers on tr iMac?

    I've created a time series graph on numbers on my iMac but I need to add moving averages. Is there a function an if so where is it and if not is there a way to get around it

    Badunit,
    Here is an example plot, data sorted from most recent data at top of the table...
    You can see the moving average (of 20) is plotted from right to left.
    The Moving Average calculation is now wrong, and should have been calculated and presented from oldest to most recent.
    Here is the same data, with table sorted from oldest data at the top of the table.
    The moving average is also plotted from right to left, and shows the correct Moving Average for the most recent data.
    That is, it is calculated from oldest to most recent, with the last Moving Average data point plotted on "todays" date.
    What I want to see is my table displayed from most recent at the top (the top table), and moving average calculated and displayed as per the bottom graph.
    Edit: So, think about this some more,
    I need an option to tell Numbers to do the Moving Average calculation from the bottom of the table up, not from the top of the table down.

  • How prepare Query for time series algorithm?

    Hi every one, 
    i want next 6 month prediction, how prepare the Query ,
    I have Date column,Crime column,Incidents Column,I going with next 6 month so how we get date columns month wise or date wise,
    if month wise means,How split the Year and month from date colum??
    Please i need some help.....waiting for reply.....
    pandiyan

    Hi Leo,
    Thanks a lot for replay.
    but using  help of this blog also this problem not solve.
    is this problem can we  solve using  "Seasonal Decomposition of Time Series by Loess".
    Regards,
    Manish

  • Next 4 hour prediction in time series algorithm

    I am Sucessed next 7 days prediction,
    but now i need to Create next 24 hour Prediction,
    how to prepare Data, plz kindly give some suggestion.....
    Thanks
    Pandiyan
    pandiyan

    Hi Leo,
    Thanks a lot for replay.
    but using  help of this blog also this problem not solve.
    is this problem can we  solve using  "Seasonal Decomposition of Time Series by Loess".
    Regards,
    Manish

  • How to add new past in mining model and how to update the previous data in the minin model of time series algorithm?

    hello,
    I creata a mining model and trained it with some data using the sql table.Now I want that when ever I make any Changes in sqltable record. Then I have to chane the data of mining model also.Please provide help.
    Thanks in Advance
    Shalini Rathore

    Hi, thanks for the reply!
    Just to follow up for what we did to disable the delete function for maintaining table records. We hided the Delete button by adding a "MODULE disable_delete" code in Screen Painter. So now only adding records to the table is allowed.
    Thanks,
    Jenny

  • How to add varchar which is in time format

    Hello Team,
    can you please help me for the below request?
    I have two columns (start and End) which is in varchar type and value is in time format as below. now I wanted to do some addition/subtraction based on condition. while adding or subtracting, it should be considered as time. Thanks in advance.
    if start>end then start-End
    else end-start
    end if
      start                End
    23:20:03            00:20:01 
    23:37:15            00:37:13 
    23:20:26            00:00:02 
    23:47:06            00:10:26
    00:13:23            00:07:31 
    01:23:02            00:52:25

    with
    times as
    (select '23:20:03' start_time,'00:20:01' end_time from dual union all
    select '23:37:15','00:37:13' from dual union all
    select '23:20:26','00:00:02' from dual union all
    select '23:47:06','00:10:26' from dual union all
    select '00:13:23','00:07:31' from dual union all
    select '01:23:02','00:52:25' from dual
    select start_time,end_time,
           to_char(trunc(sysdate) + case when to_date(start_time,'hh24:mi:ss') >= to_date(end_time,'hh24:mi:ss')
                                         then to_date(start_time,'hh24:mi:ss') - to_date(end_time,'hh24:mi:ss')
                                         else to_date(end_time,'hh24:mi:ss') - to_date(start_time,'hh24:mi:ss')
                                    end,
                   'hh24:mi:ss'
                  ) diff      
      from times
    START_TIME
    END_TIME
    DIFF
    23:20:03
    00:20:01
    23:00:02
    23:37:15
    00:37:13
    23:00:02
    23:20:26
    00:00:02
    23:20:24
    23:47:06
    00:10:26
    23:36:40
    00:13:23
    00:07:31
    00:05:52
    01:23:02
    00:52:25
    00:30:37
    Regards
    Etbin
    Oops! Should have looked before posting.

  • Time Series using different keys

    Hi, i'm currently using the time series algorithm to do some forecasting on some data.
    My data looks like this :
    Date                     City               CustomerID         Sales
    2003-12-01       New York              12346               45
    If i only specify the date as a key time. I can forecast the total sales.(because i am using a cube who aggregates all the data)
    But my goal is to forecast sales for each city and/or for each customer.
    I tryed to make a cube with date and customer id as keys, but time series isn't compatible with that type of data as a key sequence.
    I tryed doing nested tables not working(altough i might do something wrong).
    How can use the field date as a key sequence and specify a key like customer id to do forecast the sales / customers?

    Hi O G-M,
    Each model must contain one numeric or date column that is used as the case series, which defines the time slices that the model will use. The data type for the key time column can be either a datetime data type or a numeric data type. However, the column must
    contain continuous values, and the values must be unique for each series. The case series for a time series model cannot be stored in two columns, such as a Year column and a Month column. For more information about it, please see:
    http://msdn.microsoft.com/en-us/library/ms174923(v=sql.100).aspx
    Thanks,
    Eileen
    Eileen Zhao
    TechNet Community Support

  • How to apply time series function on physical columns in OBIEE RPD

    Hi,
    I know a way to apply time series function(Ago and ToDate) by using existing logical columns as the source. I have set the chronological key and created time dimension. In the expressiion builder for the same Time Dimension appears at the Top so that we can use its level.
    But I couldn't apply a time series function when i have to create a logical column using physical columns. In the expression builder for the same, Time dimension does not appear in the list. Neither can i use any column from the time dimension. Please let me know a way to do it.
    Thanks.

    Time series functions are - by design and purpose - only valid for derived logical columns and not useable inside physical mappings.
    If you want / need to do it on a physical level, then abandon the time series functions and do it the old-school way with multiple LTS instances.

  • Add Audit Columns to the Dimension and Fact tables (Created & modified date Time)

    Hi All,
    I am new to SSIS , I have to Add Audit Columns to the Dimension and Fact tables (Created & modified date Time) of the package.
    Please let me know the best and easy way through which I can implement the same.
    If possible suggest some real time example or link where I can find the same
    Regards,
    Vipin jha
    Thankx & regards, Vipin jha MCP

    You can simply use ALTER TABLE ADD.. syntax to add the columns if the tables already exist.
    You can generate a single script for all tables using INFORMATION_SCHEMA.TABLES view
    You can make then of NOT NULL type and set the default value to GETDATE()
    In addition you can also have a Audit Trail trigger for UPDATE to make sure Modified date gets updated correctly on each update if not passed explicitly.
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Max Number of Time Series and Other Columns?

    What are the ceilings on the number of Time Series and Other Columns that BOP can handle?
    I can not find this very basic info anywhere but I have a client that I think has hit it.

    @ cfr:
    I googled. But I opened this thread the July 25th and I'd forgot about that link and the fact that my problem could be Firefox fault. Silly me. -_-
    I'm trying to surf w/ Chromium right now (I don't like very much Opera and other browsers based on Webkit don't read much stuff on the web) to check if issue returns. If so I'll try to check log.
    Edit:
    I found that I don't even like Chromium as well. So I think I'll use W3m and Elinks for "normal browsing" and FireFox just when I need to write a mail with my damned Hotmail account.
    Edit (2012-10-08):
    the issue still presist, even without Firefox.
    Last edited by rix (2012-10-08 20:16:25)

Maybe you are looking for