Related to calculation of value from two source files

Hi, we have two files based on volume and costs
Time,Item,site,ASM,Retail are dimensions..
The volume one is:
May-09     item 1     Site 1     ASM 1     Retail     VOL     100
May-09     item 2     Site 1     ASM 1     Retail     VOL     150
May-09     item 3     Site 1     ASM 1     Retail     VOL     130
May-09     item 4     Site 1     ASM 1     Retail     VOL     120
May-09     item 4     Site 1     ASM 2     Retail     VOL     150
May-09     item 4     Site 2     ASM 3     Retail     VOL     100
The Cost one is:
May-09     item 1     Site 1     1.2
May-09     item 2     Site 1     1.3
May-09     item 3     Site 1     1.1
May-09     item 4     Site 2     1.3
May-09     item 4     Site 1     1.5
note that in the second file site,ASM are missing (this was the problem for us from source file)
Here in essbase we need to calculate VALUE = VOL * COST with respect to item and site,such that in selection critera
the value must be represented with respect to ASM and Retail dimension also.
Psl post the approach and the sollution how to load this and how to calculate..

Hi,
You would have to transform the second file to include the ASM and Retail dimension members. It is essential that you have one to one relationship between Site, ASM and Retail. You can maintain the mapping in a separate file and then read the cost file and get values for ASM and Retail from mapping file.
Otherwise in the load rule, you will have to specify one single member from each dimension - ASM, Retail in the header definition.
Once you have the data in the system, you can run a calculation to calculate the value of VALUE. Or else, you can also define a formula on VALUE.
Let me know if it helps.
Cheers
RS

Similar Messages

  • From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    Hi,
    Use NVL or COALESCE:
    NVL (col_a, col_b)
    Returns col_a if col_a is not NULL; otherwise, it returns col_b.
    Col_a and col_b must have similar (if not identical) datatypes; for example, if col_a is a DATE, then col_b can be another DATE or it can be a TIMESTAMP, but it can't be a VARCHAR2.
    For more about NVL and COALESCE, see the SQL Language manual: http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions119.htm#sthref1310
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • Need of SQL query in selecting distinct values from two tables

    hi,
    I need a query for selecting distinct values from two tables with one condition.
    for eg:
    there are two tables a & b.
    in table a there are values like age,sex,name,empno and in table b valuses are such as age,salary,DOJ,empno.
    here what i need is with the help of empno as unique field,i need to select distinct values from two tables (ie) except age.
    can anybody please help me.
    Thanks in advance,
    Ratheesh

    Not sure what you mean either, but perhaps this will start a dialog:
    SELECT DISTINCT a.empno,
                    a.name,
                    a.sex,
                    b.salary,
                    b.doj
    FROM    a,
            b
    WHERE   a.empno = b.empno;Greg

  • Need to merge similar charecterstics comming from two sources

    Hi Experts,
    I have a requirement to upload data into BI from Two sources. one from ECC is business Sellout history data and from flat file is market sellout history data. Now one source has fields
    CALMONTH, Market, Sales Organization, Segment, Super Model, Model, Country Standard, Model Year, ZCOL, Power, Material No., Location, APO Version, Sell-Out History, UNIT
    Other source has fields
    Market,Model,Type Of Model.
    I need to upload this data to BI and merge Market, Model, as these fields are common in both the sources and display Type of model for the respective Market and Model.
    Can any one advice me how to proceed desgining this.
    Thanks in advance ...
    Santhosh.

    Hi
    An alternative to the above solutions, Create two DSOs and fields of the dsos should like below :
    DSO ECC :
    CALMONTH, Market, Sales Organization, Segment, Super Model, Model, Country Standard, Model Year, ZCOL, Power, Material No., Location, APO Version, Sell-Out History, UNIT, Type of Model
    Bold fields exists in DSO Flat file fields as well.
    DSO Flat file :
    Market,Model,Type Of Model.
    1. First load the data to the flat file DSO.
    2. while loading data to the DSO ECC you can populate the model type by writing an end routine to look up flat file DSO to find out the type of model using the condition DSO ECC- market = DSO-Flatfile- market & DSO ECC-Model = DSO-flatfile-Model.
    DSO ECC will have the merged data and DSO Flat file is used as a look up table in the end routine of the transformation.
    Also note that you can also cube in place DSO ECC if you dont want to stage data.
    Hope it helps.
    Regards
    Sadeesh

  • Streaming from two sources

    Hi:
    I need streaming to Flash Media Server from two sources (microphone and sound tarjet)in my pc with FME.
    Streaming from microphone connect and start correctly (config stream=streaming1), but streaming from sound tarjet (config stream=streaming2) connect but doesn't start.
    Why?
    Regards.

    Hello,
    It is possible that you are seeing the consequences of LabVIEW compiling code written in parallel. More specifically, if you have code in parallel (not connected by dataflow, but in the same block diagram) LabVIEW will split execution time between those parts of your code. Previously you were likely manually starting two separate programs, which inherently adds a delay between the start of the programs, allowing the first program to get sufficiently far in its execution; we could be seeing the consequence of this. It would help if you could be more specific about the details of your setup and code (such as 1. which instruments are connected to which ports? 2. are you writing a command to your instruments and then receiving data as a response? 3. do you rec
    eive any errors? 4. if you do receive errors, which errors do you see and where in your code do you first see them?).
    Repost with some more information (perhaps a screen shot or your code) and we can get a more definitive answer!
    Thank you,
    Regards,
    JLS
    Applications Engineer
    National Instruments
    Best,
    JLS
    Sixclear

  • [MDX]can't get the value from two variables (@FromDimTimeFiscalYearMonthWeekLastDateDay &(@ToDimTimeFiscalYearMonthWeekLastDateDay

    can't get the value from two variables when execute MDX : Anyone who can help ?
    ================================
    with member [Measures].[APGC Replied Volume] as
     ([Measures].[Question],[Dim Replied By].[Replied By].&[APGC])
    member [Measures].[APGC Moderated Volume] as
     ([Measures].[DashBoard Thread Number],[Dim Moderated By].[Moderated By].&[APGC])
    member [Measures].[APGC Answered Volume] as
     ([Measures].[Question],[Dim Answered By].[Answered By].&[APGC])
     SELECT
     NON EMPTY
     [Measures].[Forum Thread Number],
     [Measures].[Reply In24 Hour],
     [Measures].[Question],
     [Measures].[Deliverale Minute],
     [Measures].[Working minutes],
     [Measures].[Answered],
     [Measures].[1D Answer],
     [Measures].[2D Answer],
     [Measures].[7D Answer],
     [Measures].[APGC Replied Volume],
     [Measures].[APGC Moderated Volume],
     [Measures].[APGC Answered Volume],
    [Measures].[Avg HTR],
    [Measures].[Avg HTA],
     [Measures].[Total Labor]
     } ON COLUMNS, 
     NON EMPTY { ([Dim Engineer].[SubGroup-Alias].[Alias].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS
    FROM (
     SELECT ( STRTOMEMBER(@FromDimTimeFiscalYearMonthWeekLastDateDay, CONSTRAINED) : STRTOMEMBER(@ToDimTimeFiscalYearMonthWeekLastDateDay,
    CONSTRAINED) ) ON COLUMNS
    FROM [O365]) CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS

    Hi Ada,
    According to your description, you can't get the member when using the strtomember() function in your MDX. Right?
    In Analysis Services, while the member name string provided contains a valid MDX member expression that resolves to a qualified member name, the CONSTRAINED flag requires qualified or unqualified member names in the member name string. Please check if the
    variable is a Multidimensional Expressions (MDX)–formatted string.
    Reference:
    StrToMember (MDX)
    If you have any question, please feel free to ask.
    Simon Hou
    TechNet Community Support

  • CSM 12 hour stickiness from two source addresses

    We have an environment where the traffic only originates from two source IP addresses (shared port forwarders). The server group need a 12 hour stickiness window for the Citrix sessions to be hitting the same server.
    If we have two servers, ServerA and ServerB, this is the problem.
    When maintenance is performed on ServerA. All traffic is sent to ServerB. When ServerA is back in operation the traffic does not use this server due to the sticky timeout of 720 minutes.
    Is there anyway to clear the connections from one source on the CSM so the processing of packets will spread the load between the two servers?
    Thanks.

    Ben,
    clearing the connections without clearing the sticky table is useless. Because the sticky entry will simply forward the new connections back to the same server.
    Also, there is no way to clear a particular sticky entry.
    Finally, I think the solution for you would be to create static sticky entry.
    You can force a client ip to go to a specific server.
    If the server is down for maintenance, the CSM will simply select another one but will go back to the initial one if available.
    To configure static entries, use the following commands
    sticky 66 netmask /32
    static client source x.x.x.x real x.x.x.x
    Gilles.

  • I have two editors working on FCPX in two different cities. Here is the question: How can a project timeline be shared if they are working from mirrored source files?

    I have two editors working on FCPX in two different cities. Here is the question: How can a project timeline be shared if they are working from mirrored source files? Is there any easy way to share a project time line?

    There an episode of MacBreak Studio where Steve Martin explains exactly how to share a project, while having two separate copies of footage and events:
    http://www.youtube.com/watch?v=Hu-ga7fxKh8

  • Loading consolodated data from two excel files / cube into one infocube

    Hi Friends,
    I am receiving data from two sources:
    Source 1:
    Customer Product  Location                          Keyfig(Budget)
    C1            P1          L1                                     100
    C2            P1         L1                                      200
    C1           P2          L1                                      300
    Source 2:
    Product     Location                        KeyFig (Actual)
    P1               L1                                           320
    P2               L1                                           350
    I want to combinedata from two sources (or cubes) into one cube as follows:
    Customer      PRoduct       location          Budget            Actual
    C1                 P1                 L1                  100                 320
    C2                 P1                L1                   200                 320
    C1                P2                L1                   300                   350
    I tried by creating multiple data sources / infosources / transformations / updates rules and also tried with both DSO and cube. But the records are always getting updated as follows:
    Customer      PRoduct       location          Budget            Actual
    C1                 P1                 L1                  100                 320
    C2                 P1                L1                   200                 320
    C1                P2                L1                   300                   350
                        P1               L1                                           320
                       P2               L1                                           350
    Can you help me figure out if this is possible? If yes, how can I do it.
    Thanks a lot in advance.

    Hi,
    Please use the below approach.
    Load the budget data in ODS1.
    Load the actual data in ODS2.
    Create a ODS3 with same structure as ODS1 with additional key figure for Actuals,which will get data from ODS1. Here add a look up based product and location to populate actuals.
    Start Routine
    SELECT * FROM ODS2 into ITAB
    FOR ALL ENTRIES in SOURCE_PACKAGE.
    Transformation Routine:
    Read table ITAB  into WATAB
    with key location = <source_fields>-Location
    product =  <source_fields>-Product.
    If sy-subrc = 0.
    RESULT = WATAB-ACTUAL.
    ENDIF.
    -Vikram

  • Documentation generator directly from C source files

    Hello,
    Is there any tool to generate HTML documentation directly from C sources files using Documentation Tags like "/// HIFN "?
    I know we can generate documentation with function panels documentation generator but that's not what I'm looking for. I'm looking for something like doxygen or javadoc with NI documentation tags support. 
    Regards,
    Aurélien.

    Hello AReeves!
    LabWindows/CVI features a documentation generation tool able to output HTML and XML format documentation from your C source files.
    You can use the source code documentation tags (e.g. HIFN, HIPAR, etc) to document your functions in the source code, similar to doxygen.
    The option is located in Build » Target Settings » Generate source code documentation. There you can select your output format.
    Here is a useful link related to generating documentation from source files using CVI:
    http://zone.ni.com/reference/en-XX/help/370051T-01/cvi/usermanual/tagsforsourcecode/
    Regards,
    - Johannes

  • Separating values from an excel file and plotting

    Hello,
    I am using the read excel table vi to read the values from an excel file.I see the data in the output.
    I wanted to take the first two columns and multiply each value with 20m and then plot it in a XY graph. 
    I am attaching the files below.
    Thanks in advance 
    Solved!
    Go to Solution.
    Attachments:
    test data.xls ‏436 KB
    ReadExcelTable[1].vi ‏23 KB

    Hello,
    i acheived the multiplication in a different way but i have another problem.I am only considering two columns in the above excel sheet.After multiplying each value with 0.02  i get another array for the two columns with values say a,b,c,d and a1,b1,c1,d1 and so on.
    The plot i require is of (a,a1)   (a+b,a1+b1)  (a+b+c,a1+b1+c1) and so on.
    Any ideas that might help me.I am attaching the VI that solves the problem till multiplication.
    Thanks in advance.
    Attachments:
    INS_plot.vi ‏59 KB
    test data.txt ‏246 KB

  • How can i get the all values from the Property file to Hashtable?

    how can i get the all values from the Property file to Hashtable?
    ok,consider my property file name is pro.PROPERTIES
    and it contain
    8326=sun developer
    4306=sun java developer
    3943=java developer
    how can i get the all keys & values from the pro.PROPERTIES to hashtable
    plz help guys..............

    The Properties class is already a subclass of Hashtable. So if you have a Properties object, you already have a Hashtable. So all you need to do is the first part of that:Properties props = new Properties();
    InputStream is = new FileInputStream("tivoli.properties");
    props.load(is);

  • Windows Easy Transfer (WET) Issues with External Hard Drive - "Can't read from the source file or disk"

    I work for Office Depot, in the tech department. Basically, one of our associates was supposed to do a data backup, and re-install Windows 7, then transfer the files back. He used Windows Easy Transfer and compacted everything into a 163 GB file. 
    Now comes the hard part. When we try to put it back on his computer ((drag-and-drop to the desktop) which has been wiped back to factory settings using the recovery partition), it stops at 79.5 GB remaining (you know how it doesn't give you a % of completion,
    it just shows how many GB are remaining) and then says "Can't read from the source file or disk" and gives you an option to try again, or cancel. It gets hung up on the same point each time.
    Normally, this wouldn't be a huge issue, but the contents on the drive are his wife's architect blueprints and interior design stuff, along with wedding photos, etc, which are the only copies they have. On top of those, they have court documents and other
    important files that we are unable to access now.
    I wasn't involved with this transfer, so I'm trying to clean up the mess as best I can. I remembered that the customer's wife was Russian, and had some files typed with a Russian keyboard, so on and so forth. I wonder if that's the issue? If not, I really
    have no idea how to manually extract things from a ".mig" file, or how to diagnose what area is potentially corrupted.
    In light of this situation, we tried using "Recuva" to recover the files post-wipe, but everything was corrupted or unable to be opened, and it also extracted and recovered all of the "useless" photos, such as the skype logos, up and
    down arrows for browsers, etc (it was 160,000+ photos).
    Trying to avoid a potential lawsuit, unhappy customer, and costing the company lots of money to see if professionals can get into this external hard drive.
    Other relevant information:
    We used a Toshiba 500 GB (465 GB) external hard drive.
    Customer's computer is an HP Pavilion P6000 Series (Model No. p6520y) running Windows 7 Home Premium 64-bit Service Pack 1.
    Any other information that is needed can be provided, thanks in advance, and hopefully we can find a solution to this issue quickly!
    -John

    I think there's a lack of understanding somewhere.
    "If you even can't start the process, please unplug it from your new PC. Then head back to your new computer and plug
    the external drive back in to your new computer. "
    Unplug from new, head back to new, plug it back in? That doesn't make much sense! Haha.
    I knew what you meant though, somewhat. When I search through the drives after clicking yes (Has windows easy transfer
    already saved your files blah blah blah) I click on the transfer file and it says "Windows Easy Transfer could not open the file".
    Rather than drag-and-drop the file to the desktop, I now tried to double-click on the file itself while it was plugged
    into the computer. It opened, and it started transferring until it was about 70% completed, and then an error popped up saying "WET can't open the easy transfer file, make sure your USB device is plugged in or check your internet connection". 
    I checked, and the USB hard drive's light wasn't on. Now, I unplug it and plug it back in, and the light comes back on,
    so I click Retry, and it resets the bar back to nothing and says "Transfer time: 1 minute".
    Rather than continue trying, I clicked "Cancel" instead of Retry, and it says "Your transfer did not complete successfully."
    It says to click "view report" for more information, but there's no "view report button".
    At the moment, I am scanning the External Drive for bad sectors using the check disk tool in properties. It's frozen
    at "0 USN bytes processed".

  • Any Tutorial / Sample to create Single PDF from multiple source files using PDF assembler in a watched folder process.

    Any Tutorial / Sample to create Single PDF from multiple source files using PDF assembler in a watched folder process. I have a client application which will prepare number of source files and some meta data information (in .XML) which will be used in header/footer. Is it possible to put a run time generated DDX file in the watch folder and use it in Process. If possible how can I pass the file names in the DDX. Any sample Process will be very helpful.

    If possible, make use of Assembler API in your client application instead of doing this using watched folder. Here are the Assembler samples :  LiveCycle ES2.5 * Programming with LiveCycle ES2.5
    Watched folder can accept zip files (sample : Configuring a watched folder to handle multiple input files and write results to a single folder | Adobe LiveCycle Blog ). You can also use execute script to create the DDX at runtime : LiveCycle ES2 * Application Development Using LiveCycle Workbench ES2
    Thanks
    Wasil

  • Cannot read from the source file or disk

    I had to get a new hard drive for my Satellite A665 old one kept freezing up; had a recovey disk from Geek Squad when I got it but they did not work.  So I ordered a Recovery Disc set from Toshiba. 
    A few minutes after I insert the 3nd disc, I get the following message:
    Cannot read from the source file or disk
    PREINST14.SWM
    Type: SWM File
    Size:  670 MB
    Modified: 10/29/2010 11:24pm
    Clicking [Try Again] or [Skip] clicked try again twice. Gave same message so clicked skip. Got another message.
    Cannot read from the source file or disk
    PREINST18.SWM
    Type: SWM File
    Size:  372 MB
    Modified: 10/29/2010 11:24pm
    Clicking [Try Again] or [Skip] clicked try again twice. Gave same message so clicked skip after checking do it for next one. Got error message.
    An error has occurred.
    Error:  10-FC06-0002
    Recovery Error.
    Please press [OK] to turn off the computer.
    I tried erasing the disk, then running the Recovery Wizard again, but wind up in the same place.

    It's hard to know exactly what the problem is. You might want to contact customer support because it could just be a faulty disc.
    - Peter

Maybe you are looking for

  • How to share an array among members of a package

    I need to share the value of h among members of a package. The values for Byte h are generated by button events in the other program in the package [ sample below ]. That is transformed into ASCII code, h, which ideally should go through SerialWriter

  • Java install on Ubuntu

    Hi all, I downloaded the latest j2se1.4 (test purposes). I have followed the install instructions, i have even added the following to my /etc/profile. export JAVA_HOME=/opt/j2sdk1.4.2_07 export CLASSPATH=. export PATH=$PATH:$JAVA_HOME/bin I am only a

  • Crashes At Startup!

    During the initializing type engine on start up, I now get After Effects error: Crash in progress. Last logged message was: <960> <AppDirs> <5> Required Dir=        C:\ProgramFiles\Adobe\Adobe After Effects CS4\Support Files\Required. After clicking

  • Converting 3.5 Workbooks to 7.x

    Hi, I have the 7.x Migration Book from SAP Press and nowhere in the book does it mention anything about converting BEx Workbooks to 7.x.   Do we or should we convert the Workbooks as well to 7.x? What is the Benefit of converting Workbooks to 7.x? Th

  • TO ANN154 can't reply to discussion

    I posted in regards to Smartphones and 80.00 plan.   Cannot reply to posts (so answering here). Ann154;  yes, I am looking for Smartphones that are compatible with the 80.00 plan.  <Duplicate post.  Please see Smartphones and $80 plan for any replies