Multi fact columns to Single fact column

Hi,
We have fact table which stored the data in monthly wise fact columns.
Ex:
Jan
Feb
Mar
Apr
May
Jun
July
Aug
Sep
Oct
Nov
Dec
100
200
150
250
223
1212
171
12123
31123
112
2113
1123
150
223
222
142
1354
1567
452
763
41733
441
1211
1213
333
222
55
256
455
445
752
4752
45214
114
8122
4555
My requirement, We have convert all month fact columns into a single month fact column.
How to achive this. Kindly Let me know.

It rather seems that you don't understand his input or the concept of LTSs.
You create 12 LTS, each using the same physical table as a source.
Then you create one single column called "Monthly Value"
Then you map the "Jan" column from the first LTS into the column
Then "Feb" from the second LTS
etc.
Bob's your uncle

Similar Messages

  • Multi-fact Query

    Hi all,
    Our software group is looking at creating a tool that will query multi-fact star schema environment. What are my options?
    So far, we have 7 fact tables and 6 dimensions (all shared by the facts). There are no aggregate tables.
    My first thought was one large aggregate table, however the dimensions are all normalized to their particular fact table. So, a customer dimension (for instance) would repeat customers if they fall into multiple fact tables. The dimensions are more complicated than that, but you get the idea. There are only two that are truly normalized...and yes one is TIME. :)

    If you have data that shares all the same dimensions, it almost always makes sense to keep it together in a single fact table. The general guideline is only to split out a new fact table if the dimensionality of the data is different.
    Unions and joins typically just end up slowing things down.
    The only exception I've really seen to this rule is when one set of facts has orders of magnitude more data points then the others. I.e. if you have actuals data that has 100 million rows, but budget data (with the same dimensionality) with only 200,000 rows. This doesn't happen often, but I suppose it could potentially occur.
    Scott

  • Set multi user column with PowerShell used to work in 2010 but no longer works in 2013

    In SharePoint 2010 I used PowerShell to set the value of multi user people columns and it worked really well.  I attempt to use the same PowerShell to set the same column type in SharePoint 2013 and it fails.
    here is the PowerShell that I use in 2010:
    $web = Get-SPWeb "http://intranet"
    $list = $web.lists["TestList"]
    $item = $list.items.add()
    $item["Title"] = "Test multi user column"
    $users = @("Domain\user1", "Domain\user2")
    $userList = new-object Microsoft.SharePoint.SPFieldUserValueCollection
    foreach($user in $users)
    $spUser = $web.EnsureUser($user)
    $userValue = new-object Microsoft.SharePoint.SPFieldUserValue($web, $spUser.ID, $spUser.Name)
    $userList.Add($userValue)
    $item["MultiUserColumn"] = $userList
    $item.update()
    I have used this on three SharePoint 2013 farms with differing results.  On two of them I receive an error when running $item.update(): Exception calling "Update" with "0" argument(s): "Invalid look-up value.  A look-up
    field contains invalid data. Please check the value and try again."
    If I take one of the users out of the $users list then it works fine, but it will not allow multiple users to be set with PowerShell.  I can use the GUI to add more than one user but not PowerShell.
    Does anyone know if these methods have changed in 2013? I haven't been able to find anyone else with this issue.
    mmm... coffee...

    Not sure but maybe something to do with casting. Below is the code snippet from one of the blogs. Try modifying your script like below and see if still you get the error
    [Microsoft.SharePoint.SPFieldUserValueCollection]$lotsofpeople = New-Object Microsoft.SharePoint.SPFieldUserValueCollection
    $user1 = $w.EnsureUser("domain\user1");
    $user1Value = New-Object Microsoft.SharePoint.SPFieldUserValue($w, $user1.Id, $user1.LoginName)
    $user2 = $w.EnsureUser("domain\user2");
    $user2Value = New-Object Microsoft.SharePoint.SPFieldUserValue($w, $user2.Id, $user2.LoginName);
    $lotsofpeople.Add($user1Value);
    $lotsofpeople.Add($user2Value);
    $i["lotsofpeoplefield"] = $lotsofpeople;
    $i.Update();
    #-or-
    $l.Fields["lotsofpeoplefield"].ParseAndSetValue($i,$lotsofpeople);
    $i.Update();
    Reference to the link
    http://social.technet.microsoft.com/wiki/contents/articles/20831.sharepoint-a-complete-guide-to-getting-and-setting-fields-using-powershell.aspx
    Geetanjali Arora | My blogs |

  • Multi row column table

    Hi i would like a multi row column table in ADF .Is the possible.
    The below is what i would like
    Ex
    Col A ColB
    1 a
    b
    2 a
    Edited by: 806913 on Nov 29, 2010 6:48 PM
    Edited by: 806913 on Nov 29, 2010 6:48 PM

    Use pivotTable
    Look out for some samples at http://jdevadf.oracle.com/adf-richclient-demo/faces/components/index.jspx
    component: pivotTable
    Documentation:
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31973/dv_crosstab.htm
    Thanks,
    Navaneeth

  • How to create multi-folders in a single folder in numbers

    how do you create multi-folders in a single folders. I have multi files orginized by month, but now i need to group it into a single folder by year.

    See this link:
    http://apex.oracle.com/pls/otn/f?p=31517:107
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Multi Fact RPD with Compatibility Error

    All,
    I was wondering if you can help with this issue.  Here is a picture of my RPD model in Oracle OBIEE 11g BI Administrator:
    http://scottysols.files.wordpress.com/2013/09/multi_fact_model.png?w=908
    It is in the format D1 <-- F1 --> D2 <-- F2 --> D3.
    In the picture you can also see the Logical Level settings for one of the Logical Table Sources and one of the Measure columns.
    When I try to create a report in OBIEE, OBIEE throws a SQL error.  It doesn't understand how to relate D1 to D3.  My requirement is to build an RPD that supports a report like this:
    D1 Column | F1 Measure Aggregated | D2 Column | F2 Measure Aggregated | D3 Column
    minus any cartesians.  I haven't even gotten to the cartesian error (which would be a good sign I am on the right track), i just get the error:
    None of the fact tables are compatible with the query request AWARD_SUMMARY_DIM.AWARD_NUMBER
    We have also tried smashing F1 and F2 together into a single Fact within Business Model and Mapping with the same results.
    Thanks,
    S.

    Srini,
    First, thanks for your support.
    Second, I went into F1, then sources, then the Logical Table Source properties General tab and added D2, then F2.  After updating the Presentation layer and restarting OBIEE, my report still returns the same error.
    I tried to force the join on F2 next.  Same as above, but in reverse.  I added D2, then F1 as sources for F2.  Same error remains:
    None of the fact tables are compatible with the query request AWARD_SUMMARY_DIM.AWARD_NUMBER (D1).
    - S.

  • Power Query and multi-selection columns

    I have a power query pulling data from a sharepoint list some of the list columns allow multiple selections.
    The power query seems to only be pulling in one value instead of all the selected ones in the columns.
    Thanks,
    Eric

    Hi Eric,
    Just to add a bit more detail to what is going.
    In Power Query, SharePoint List columns with multiple selection choices are represented as nested tables with a single column called "Value". Each row of these nested tables will represent a selected choice for the list item. You can examine this by clicking
    on "Table" under the "Options" column on one of the rows.
    By clicking on the "Expand" icon of a column, you are making use of the Table.ExpandTableColumn function. That function will take each row in the table and do a cross product with the rows of the nested tables of the selected column. This means that each
    row will be duplicated as many times as there rows in the nested columns.
    In this specific case, each item in the SharePoint list will become duplicated as many times as there are selected choices for the item. This can be very useful in some cases, but I think that in your case this is not the operation that you're looking for.
    If you want to simply create a column that combines all the selected choices as a single text value, there's a simpler alternative to Alejandro's solution:
    = Table.AddColumn(RemovedColumns, "Options 2", each Text.Combine([Options][Value], ", "))
    You can simply paste the above as a blank step by clicking on the "Fx" icon next to the formula bar. Here we're creating a new column called "Options 2" that combines the text values in the "Value" column of the nested table of the Options column and separate
    each entry by ", ".
    -Tristan

  • Column Header Text not displaying for multi-set column block

    Hello,
    I have assigned a key figure set to a column block in a report writer report in ECC 6 using table FAGLFLEXT with both additional text functionality use and without use of additional text.
    I can't get the column headings text for these key figure sets in the column block to appear on a report writer report.
    Your assistance in getting the column headings text to appear will be greatly appreciated.
    Thanks,
    Michael Hamp

    For more clarity, and to make sure that the error is not in my database or series query, I have replicated the error online here:
    http://apex.oracle.com/pls/apex/f?p=27270:4
    I plotted 3 series in the first region, including one series with no data for one period.
    I plotted the fourth series in the second region, which has no data for 2 months. When I try to plot this in the first chart, nothing is displayed.
    I can't understand why this is happening, I hope that there is a solution for this. I can share the workspace password where the above application is, if some one wants to take a look.

  • Multi line column JTable

    Hi,
    I am working on JTable and I am using DefaultTableModel.
    I have a requirement that in one of the cells I need to show a multi line text which may contain 10 to 50 lines of text.I need to show all the text even on resizing the table.
    Can anyone give me suggessions regarding this.
    Thanks,
    Bussa.

    Hi,
    Write your custom JTableCellEditor and Renderer to install a JTextArea on the cell you want.
    You can set the size of the larger row separately via
    JTable.setRowHeight(int row, int value); To display the full text you should set
    JTextArea.setLineWrap(true);
    JTextArea.setWrapStyleWord(true);and set the width of the JTextArea static.
    after this calculate the height of the JTextArea and set it to the table.
    Olek

  • Regarding ssis - splitting multi value columns in multiple records

    Hi,
    I have table like this
    Sno
    Sname
    1,2
    Sreenivas
    3,4
    Reddy
    5,6
    Raja
    7,8
    Reddy
     I want like the following table
    Sno
    Sname
    1
    Sreenivas
    2
    Sreenivas
    3
    Reddy
    4
    Reddy
    5
    Raja
    6
    Raja
    7
    Reddy
    8
    Reddy

    Hi,
     in source table data having like this
    Eno
    Ename
    Esloc
    Deptno
    1
    Sreenu
    Hyd
    10,20,30,40,50
    I want like this
    Eno
    Ename
    Esloc
    Deptno
    1
    Sreenu
    Hyd
    10
    1
    Sreenu
    Hyd
    20
    1
    Sreenu
    Hyd
    30
    1
    Sreenu
    Hyd
    40
    1
    Sreenu
    Hyd
    50
     How to do this?

  • Regarding ssis - split multi value column into multiple records

    Hi,
    I have one scenario
    Table
    Col1. Col2
    1. A,b,c,df,ghf
    2. C,b
    3. B
    Output should be
    Col1. Col2
    1. A
    1. B
    1. C
    1. Df
    1. Ghf
    2. C
    2. B
    3. B
    please help

    Try the below:
    Create TVF as below:
    CREATE FUNCTION [dbo].[split]
    ( @String NVARCHAR(4000), @Delimiter NCHAR(1) )
    RETURNS TABLE
    AS
    RETURN
    With Split(stpos, endpos)
    AS (
    SELECT 0 AS stpos, CHARINDEX(@Delimiter, @String) AS endpos
    UNION ALL
    SELECT endpos + 1, CHARINDEX(@Delimiter, @String, endpos + 1)
    FROM Split
    WHERE endpos > 0
    SELECT 'Id' = ROW_NUMBER() OVER (ORDER BY (SELECT 1)),
    'Data' = SUBSTRING(@String, stpos, COALESCE(NULLIF(endpos,0), LEN(@String)+1)-stpos)
    FROM Split
    Test script:
    create Table Test_Table(id int, data varchar(4000))
    Insert into Test_Table Values(1,'a,F,c, G'),(2,'LASD,wer,yy')
    Select A.id,upper(Left(b.Data,1)) + lower(Right(b.data, Len(b.data) - 1)) From Test_Table A
    Cross Apply dbo.split(A.data,',') B
    Drop table Test_Table

  • Multi-date range within single report

    I'm hoping you all find this a very basic question.  I have two columns of data which I want to review for 2 different time periods on the same report.  In this case I am looking at individuals scores in two performance metrics for the prior 6 weeks and then for the current week.  I would like to have the 4 culumns total displayed side by side for each individual.  I hope I am making sense.  Can anyone give me some guidance on this?
    Nevermind, My late night brain forgot about dual-query reports and I was able to do just what I wanted.
    Edited by: Sarah Negovetich on Aug 7, 2008 11:28 PM

    Yet another method...
    <cfset start_date = DateFormat('01/01/2007',
    'mm/dd/yyyy')>
    <cfset end_date = DateFormat('09/30/2009',
    'mm/dd/yyyy')>
    <cfset start_year = DatePart('yyyy', start_date)>
    <cfset end_year = DatePart('yyyy', end_date)>
    <cfset schoolyear_start = '09/01/'>
    <cfset schoolyear_end = '06/30/'>
    <cfset count = 0>
    <cfloop index="rec" from="#start_year#"
    to="#end_year#">
    <cfset tmp_start = DateFormat('#schoolyear_start##rec#',
    'mm/dd/yyyy')>
    <cfset tmp_end = DateFormat('#schoolyear_end##rec + 1#',
    'mm/dd/yyyy')>
    <cfif DateCompare(tmp_start,start_date) gt -1 and
    DateCompare(tmp_end, end_date) eq -1>
    <cfset count = count + 1>
    </cfif>
    </cfloop>
    <cfoutput>
    <br>There are #count# school year periods between
    #start_date# and #end_date#
    </cfoutput>

  • Helps!:How to start multi process in a single java program?

    I wanna to test the querying performance of a Database
    connection poll,and here,not only multi threads,but also multi process I need to start in the same java program cause i have only one PC available.....
    Does that possible?

    In pure java this is not possible.
    A java program with all its thread run in a single
    jvm,
    which is just one process.However, you can have multiple instances of the jvm, I've done it w/ I needed to test some row locking in my database app. If you are in windows and want 3 copies of you program just make a bat file that looks likejavaw.exe -classpath "classesGoHere" MainClass
    javaw.exe -classpath "classesGoHere" MainClass
    javaw.exe -classpath "classesGoHere" MainClassThat will create 3 instances of the jvm and thus three instances of your application. I'm sure the same can be done on multiple platforms.
    Peter

  • Multi-Processor Systems vs Single Processor systems

    In general, is it better to run Weblogic on a fast single processor system
    or on a multi-processor system where the individual cpus are less powerful?
    I am assuming that the platforms are WINTEL and all other things (memory,
    disk channels etc) are equal.
    What are the licensing implications of one philosophy over the other?

    Jim Ewing wrote:
    >
    In general, is it better to run Weblogic on a fast single processor system
    or on a multi-processor system where the individual cpus are less powerful?
    I am assuming that the platforms are WINTEL and all other things (memory,
    disk channels etc) are equal.You'll hate me for saying this, but it depends on your application and
    your client load.
    I'd suggest that you run a load test against both systems and compare
    the results.
    >
    What are the licensing implications of one philosophy over the other?You pay for WLS by the number of CPUs.
    -- Rob
    Coming Soon: Building J2EE Applications & BEA WebLogic Server
    by Michael Girdley, Rob Woollen, and Sandra Emerson
    http://learnweblogic.com

  • Multi user access in Single application file

    Hi,
    Is it possible to work Single application but multi-user access in Indesign CS6.
    If yes, Please let me know how to access.
    Thansk,
    Uvaraj S

    I'm not sure exactly what you are asking. InDesign files can be edited by only a single user at one time, but any user can open a file not already in use.

Maybe you are looking for

  • How do I use the parental control of my dlink router over firefox?

    I have a Dlink DIR-605L router which has parental control. I tried restricting certain websites but it doesnt seem to affect Mozilla Firefox. How do I go about this?

  • Question mark help please (? in Finder window Toolbar)

    Hi there Since my upgrade to Snow Leopard, I have the following question mark in open windows (see pic below): Anyone know what it is, or how to make it vanish? Thanks, Francis

  • How do you Batch change TV Shows/Movies/Music Videos?

    Hi, I have a bunch of short films in my iTunes library that I want to change to TV Shows, the only way i have found that I can do this is going one by one and changing them. My question is whether or not there is a 3rd party applescript of applicatio

  • Camera Raw synchronization not working

    I'm using camera raw 8.1 in photoshop cs6 extended.  When I select several images in bridge to synchronize the settings camera raw will not change all of the files.  It will work occassionally when I select only 1 file to sync.  This was working in t

  • Drop Down Menus on different browsers

    Hi. I am a teacher and I'm making a website for my school. I just learned how to create drop down menus using html code. I checked the website on Firefox, Safari, and even Opera. Everything looks great, except for Internet Explorer. The menu at the t