How to build semantic model table from excel 2013 budget table?

I have an excel 2013 budget table produced by finance department. The title of the table is <<Year 2015 Resource Budget>> with columns such as (Item, Budget). There is line of business app which tracks daily usage. It is SQL database which
I can access. The SQL table has columns such as Date, Item, Usage. I am asked to produce some PowerView reports using DAX.
I am thinking about using Excel 2013 PowerPivot. The following is the step of my plan.
Add excel 2013 Budget table to PowerPivot
Transform the budget table using DAX to a new table with includes date. For each item budget, the value can be evenly divided by 365. I don't know if this is possible with DAX and need advice from you
Import daily usage from SQL database into PowerPivot
Merge the imported SQL daily usage table with the transformed budget table with daily breakdown.  The output table has 4 columns (Date, Item, ValueType, Value). The ValueType can be either Budget and Usage. (I also do not know if it is possible to
use DAX to merge two PowerPivot table into anther table with added new columns. If it is possible, I would love to hear from you on how to do this)
Finally, I can produce BI reports based on the newly merged table
Update: Here are more sample data.
Input Budget
<<Year 2014 Resource Budget>>
Item
Budge
Pen
365
Paper
1095
<<Year 2015 Resource Budget>>
Item
Budge
Pen
1825
Paper
1095
Bag
365
I am thinking to expand the Budget as follow but I don't how to use DAX to do it
Date
Item
Budge
31/12/2014
Pen
1
31/12/2014
Paper
3
1/01/2015
Pen
5
1/01/2015
Paper
3
1/01/2015
Bag
1
Here is the Daily Usage table
Date
Item
Usage
31/12/2014
Paper
2
31/12/2014
Pen
6
1/01/2015
Paper
10
1/01/2015
Pen
2
1/01/2015
Bag
1
I was thinking to merge the expanded Daily Budget and Daily Usage as follow for BI reporting. This was my thinking, may not a good solution using DAX
Date
Item
Type
Value
31/12/2014
Paper
Usage
2
31/12/2014
Pen
Usage
6
1/01/2015
Paper
Usage
10
1/01/2015
Pen
Usage
2
1/01/2015
Bag
Usage
1
31/12/2014
Pen
Budget
1
31/12/2014
Paper
Budget
3
1/01/2015
Pen
Budget
5
1/01/2015
Paper
Budget
3
1/01/2015
Bag
Budget
1
Off course, I need to build dimension tables for Date, Item, Item Category, and Value Type
jl

Hi JL,
Just for consideration, I'd:
Keep budget and actuals separately - create Fact_Y2015Budget and Fact_Actuals;
Hook both tables to same dimesnions (time; if there is no time for budget, assign it all to the first day of your 2015; line item etc. - whatever you are asked to report about)
If you can, pull usage not only for 2015, but for prior year(s) too
Create measures like [Usage Budget Atteinment YTD]:=TotalYTD(SUM([Usage]),your_time)/([Budget]*PriorYear(TotaYTD(SUM([Usage]),you_time)/CALCULATE(SUM([Usage]),DATESBETWEEN(your_first_day_of_year2015,your_last_day_of_2015))))
The calculation in #4 compares actual ("usage") to portion of budget that would have been used up if 2015 had the same seasonality as 2014... If you couldmshare specific sample, I'd buuild exact formula...
Daniel

Similar Messages

  • How do i import a table from excel into dw8?

    I want to import a table from excel into a table in dw8, i
    just want the data inside the excel table to be imported to the
    table in dw8.
    The tables has the same stracture - number of rows and
    columns.
    is it possible?
    btw special paste is no good, since it copies the stracture
    of the table from excel which contains <td height="17">,
    which is not good coding - td doesn't support the height
    option.

    table without special paste:
    <table width="90%" border="1">
    <tr>
    <th scope="col"> </th>
    <th scope="col"> </th>
    <th scope="col"> </th>
    <th scope="col"> </th>
    <th scope="col"> </th>
    <th scope="col"> </th>
    <th scope="col"> </th>
    <th scope="col"> </th>
    <th scope="col"> </th>
    </tr>
    <tr>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    </tr>
    </table>
    table with special paste(Text with structure):
    <table width="90%" border="1">
    <tr height="17">
    <td height="17" dir="rtl"
    align="right"> </td>
    <td dir="rtl" align="right"> </td>
    <td dir="rtl" align="right"> </td>
    <td dir="rtl" align="right"> </td>
    <td dir="rtl" align="right"> </td>
    <td dir="rtl" align="right"> </td>
    <td dir="rtl" align="right"> </td>
    <td dir="rtl" align="right"> </td>
    <td> </td>
    </tr>
    <tr height="17">
    <td height="17" align="right"> </td>
    <td align="right"> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    </tr>
    <tr height="17">
    <td height="17" align="right"> </td>
    <td align="right"> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    </tr>
    <tr height="17">
    <td height="17" align="right"> </td>
    <td align="right"> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    </tr>
    <tr height="17">
    <td height="17" align="right"> </td>
    <td align="right"> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    </tr>
    <tr height="17">
    <td height="17" align="right"> </td>
    <td align="right"> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    </tr>
    <tr height="18">
    <td height="18" align="right"> </td>
    <td align="right"> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    </tr>
    </table>

  • How  to load the data from excel  file  into table in oracle using UTL_FI

    How to load the data from excel file into table in oracle
    and from table to excel file
    using UTL_FILE package
    Please give me some example

    This is something i tried in oracle apex
    http://avdeo.com/2008/05/21/uploading-excel-sheet-using-oracle-application-express-apex/
    Regards,
    CKLP

  • In SRM How to upload data from Excel to Internal Table

    Hello Experts,
    As seen the Function Module 'ALSM_EXCEL_TO_INTERNAL_TABLE' does not exists in SRM.
    Is there any alternative to upload the data direct from excel to Internal table using any other FM. As seach did't get any relevant FM.
    Please advice..
    Thanks..

    did u try this
    TEXT_CONVERT_XLS_TO_SAP
    in this manner
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
        EXPORTING
          i_line_header              = 'X'
          i_tab_raw_data             = lt_raw
          i_filename                 = p_path
        TABLES
          i_tab_converted_data       = gt_output
        EXCEPTIONS
          conversion_failed          = 1
          OTHERS                     = 2.
    this FM works on DOI
    so
    SAP document about DOI:
    http://help.sap.com/saphelp_nw2004s/helpdata/EN/e9/0be775408e11d1893b0000e8323c4f/frameset.htm
    SAP Demo Program about DOI: SAPRDEMOEXCELINTEGRATION.
    the fm you mentioned works on OLE
    so you could refer,
    SAP document about OLE:
    http://help.sap.com/saphelp_46c/helpdata/EN/59/ae3c98488f11d189490000e829fbbd/frameset.htm
    Also you can refer this post
    Download of SRM Contracts in Excel - Unit of Measurement Missing
    Let me know if this works ..
    Regards
    Manthan.
    Edited by: Manthan_R on Feb 23, 2010 12:18 PM

  • How to update (add new data in different tab) existing table from Excel

    i've an existing table, for instance User Profile table, it consists of few tab in the table which contains different data... recently i've added new tab to the existing table and i would like to upload a particular data for this new tab... is there any way to upload (insert new data for the tab on existing data) this particular data into the existing table from Excel file?
    could it be done by using lsmw?
    Edited by: Yeong Kang Liew on Apr 5, 2010 4:35 AM

    Check HELP on MODIFY & UPDATE statements.

  • Upload data from Excel to Internal table in ECC

    Hello SDN,
    Here I am facing a problem for uploading the data from excel sheet to internal table in ECC6.0
    Main problem is we don't have any FM ALSM_EXCEL_TO_INTERNAL_TABLE.
    Please provide me the solution how to upload the data from excel to internal table through class. If possible please provide me the sample code so that it will be very helpful for me.
    Waitingfor your valuable response.
    Thanks & Regards,
    Kumar.

    Hi,
    you can use OLE to acces (not only) excel, but this will only work in dialog processing.
    regards,
    Hans

  • Data from Excel to ADF table

    Hi,
    I need to export data from excel to ADF table and edit the data and finally send it back to database.
    Would you kindly let me know how to proceed in this?
    Many thanks in advance
    Regards

    This depends on your excel file structure.
    You can use ADF Desktop Integration or
    something like this(for simple excel files):
    for excel -> adf table
    http://technology.amis.nl/2010/09/16/adf-11g-import-from-excel-into-an-adf-table/
    For adf table -> excel:
    http://www.baigzeeshan.com/2010/04/exporting-table-to-excel-in-oracle-adf.html
    http://adfreusablecode.blogspot.com/2012/07/export-to-excel-with-styles.html
    Dario

  • How to upload 3 more columns from excel to SAP with exiting BDC program

    Dear ABAPers,
    Three more columns are added to the existing excel sheet(new columns are Consignment DP, Consignment Value, Total Consignment Value).
    Actual program is :The program is to upload the TXT data from MLM Solution
    Transaction code syntax is in bdc prog: call transaction 'VF01' using bdcdata update 'S' mode 'N'  messages into i_bill_return.
    i am new to BDC concepts, please give me the complete details, how can i upload.
    Thanks in advance.
    Hari

    Hi Hari,
    How is your input structure define, (data from excel to internal table). If you have the fields defined in it...
    1.you need to change the input structure first in your program....
    2. If your business needs any validation to these new fields????
    3.you need to modify the BDC population code for the new fields and populate the BDC structure....
    If the hint is useful… Say thanks by reward….
    Regards,
    Prabhu Rajesh

  • How do i print to pdf from excel? I am using Windows 8.1 and Office 365 (new)

    How do i print to pdf from excel? I am using Windows 8.1 and Office 365 (new)

    Please see Huge lag in games on bootcamp as a reference. The linked thread is for a GT750m.
    Since there are no mid-2013 Retina models (as per Apple - Support - Technical Specifications), assuming this is your Mac - MacBook Pro (Retina, 15-inch, Late 2013) - Technical Specifications - the same should work for you.

  • Upload data from excel to oracle table

    Hi,
    if i'm user and using an application and i want to upload data from excel to oracle table on button click . Is it possible by using sql loader.
    If yes then please clarify it .
    is it possible from client end.
    thanks
    kam

    Yes it is possible using SQL*LDR, External tables and ORCL Export Utility. Though I didn't try Export Utility to load the external files.
    SQLLdr sysntax:
    Create a control file.
    It looks like this
    Load data
    Infile 'source.dat' 
    Into Table tablename
    Fields terminated by ',' optionally enclosed by '"'
    {code}
    then use sqlldr command from your OS.
    {code}
    sqlldr userid/password@sid control = filename.ctl, data = source.dat, log = logname.log, bad = badname.log, discard = discardname.discard
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • To upload data from excel to internal table

    hi
    in excel sheet it contains 4 tabs.to upload data from excel to internal table i have used this fm
    text_convert_xls_to_sap .but error wil comeing.that error in tables parameter.iternal table does not contain data.ple help me.(v 6.0) ple give me one example with coding

    Hello,
    Take a look on this: [ABAP - Upload data from Excel to Sap using OO|https://wiki.sdn.sap.com/wiki/x/xOw].
    Regards.

  • How to upload the invocie verify from excel file?

    How to upload the invocie verify from excel file?
    there is more items requied to input.
    refer to MIR7
    thanks

    How to upload the invocie verify from excel file?
    there is more items requied to input.
    refer to MIR7
    thanks

  • I am creating a catalog and need a way to mass import tables from excel into indesign.  Any ideas?

    I am creating a catalog and need a way to mass import tables from excel into indesign.  Any ideas?

    Third-party plugins for InDesign can automate the process. Here's a thread from InDesignSecrets.com forums:
    http://indesignsecrets.com/topic/plugins-for-automating-catalog-production

  • Importing tables from Excel

    Hi,
    Hope you had a nice weekend.
    When I import a table from Excel, for some reason I'm not getting the header row text in my second column (the whole thing has two columns) and the border on all the cells like I have in Excel.
    Is there a way to make sure it imports the spreadsheet with the border and the header row text in the second column?
    Thanks!

    I'd check the cell range specified when you import, and perhaps tick the 'include hidden cells'  option.
    Might be worth saving your Excel file back to an older version too, as long as no required features are lost.
    You can't bring Excel border styles over, though you can specify an InD table style on import...

  • How shall I delete the data from R/3 setup tables

    Hi Experts,
    How shall I delete the data from R/3 setup tables
    Regards
    Sailekha

    Hi Sailekha , to delete the set up table in r/3 either u can go to tcode LBWG as already mentioned or u can also delete the same from tcode SBIW
    Settings for Application-Specific DataSources (PI)  -
    Logistics -
    Managing Extract Structures -
    Initialization -
    Delete the Contents of the Setup Tables .
    Just click the clock there then u hace toi juct give the application component name like for Inventory 3 , then execute it , it will delete the set up table for inventory ..
    Regards..

Maybe you are looking for

  • Easiest way to add a double stroke to text / or object in  Illustrator 10

    New to the forum and wondered if someone can help me find a solution in adding a double stroke to text or an object? I have illustrator 10 (Mac). Thanks Also, should I be in a different forum section or is this correct?

  • Audit files and folders

    Hi folks, I'm collecting all security events of one share folder in file server (Windows Server 2008 R2) with SCOM (System Center Operations Manager). SCOM stores all security events in a SQL database. The challenge here is create a logic with combin

  • Sun.awt.shell.ShellFolder

    who can tell me how to get the source code for sun.awt.shell.ShellFolder?? Thanks a lot !!!

  • IDM connected with GRC

    Hi All, Would like to check a question with you. As I know SAP IDM can be connected with SAP GRC for risk analysis during user request. Does anyone know if there are any other IDM solutions (other than SAP IDM) which can be connected with SAP GRC and

  • Re: Satellite Pro A200 - Screen goes black after BIOS screen

    Hi, I'm new to the forum and have quite a big problem. So any help is welcome and appreciated. My Satellite Pro A200 goes black after the BIOS screen and a black screen with a blinking cursor. Also just before the screen goes black a bleep can be hea