Need flexibility on using Excel as datasource

I found this tutorial: http://blogs.oracle.com/dataintegration/2010/03/connecting_to_microsoft_excel.html
Is it just me or there simply no flexibility if you need to predefine data area (named range) before hand? Most use cases you'd want to automate ETL, and thus data source must support varying number of entries (rows) at the very least.
Is there any work around for this?
TIA

For Excel this are the steps.
Look into this link -http://odiexperts.com/step-by-step-procedure-to-read-excel-xls
1. Create a DSN in ODBC
2. Create a connection in Data server (topology) using sun odbc-jdbc driver
3. Reverse the Excel using the selective reverse. While handling multiple sheets ODI defines them like a table (datastore) and names are populated based on sheet name say if sheet1 then Sheet1$ ,Sheet2$ and so on.
Now you can use them as Source Datasource and use it in the interface as we do with other RDBMS datastore.

Similar Messages

  • Using Excel as  Datasource in Crystal Reports 8.5

    I have never used Excel as a source for Crystal data and I am having a bit of an issue I believe. I have an Excel file on my desktop that I am using as the datasource. Eventually it will be out on a network drive. I set up all my reports as blank reports so I do that. When it brings up the Data Explorer pop up I choose ODBC ---> then Excel Files and choose the file. I then add the sheet to the report, close the data explorer window and start designing my report. I drag the fields I want on there, but when I go and preview I don't see any data at all. I have also tried it with the Report Wizard, no go there either.  Is there something special I need to get the data to show up on there? Does it need to be formatted a certain way? Is it just easier to convert it over to an Access database? Any help anyone could suggest would be wonderful!
    Thanks
    Jami Benson

    I just checked something out and I figured out what I was doing wrong myself. It would seem that I was choosing the wrong sheet. One of the sheets, sheet 1, appears twice in the list. Once with the name of the whole spreadsheet, and once as just sheet 1. I was using the one with the name. It has the headings just no data. The other has the data and headings, just no name. Once I choose it, all seems to be well. '
    Jami

  • Using Excel as a Datasource

    I created a report that will use Excel as a datasource. The report runs fine from my desktop. I would like to place this report on the Business Objects Server. Can anyone tell me what I would need to do in regards to the excel file.
    In addition to this issue, when I moved the excel file to a shared folder and reconfigured the system dsn, the report would not run. I received an error message: could not decrypt data. Any help would be appreicated. Thanks.

    Hi
    Put the excel file on a network drive which is accessible by the server.
    Create a Crystal Report using the Access/Excel DAO connection based on the above excel file.
    Save it to the enterprise.
    Hope this helps!!
    Regards
    Sourashree

  • Using Excel with Visual C++ 6.0 (need a graph control that behaves as much like the one in CVI as possible)

    I hate to beat this to death but I was unable to find a
    clear answer to this question.  Does NI provide Excel control from within
    Visual C++ 6.0? 
    I read that NI supports the ANSI-C library only for Visual C++ 6.0 users:
    Thread : "Re: Benifits of using measurment
    studio for VC++ 6.0?"
    NI REP : drohacek
    Quote  : "we made the decision to support Visual
    C++ 6.0 users only through the ANSI-C interface and not through the Measurement
    Studio MFC-based class libraries."
    If there is a suggested way of controlling Excel from within Measurement Studio
    for Visual C++ 6.0 then I’d love to know it. 
    If not, can a plain statement be made basically stating that if you want
    to control Excel you can’t use a Visual C++ 6.0 environment even with Measurement
    Studio support?
    With .NET of course you can just decide to have Excel support added during
    project creation.  CVI can act as an ActiveX server and easily control
    Excel just by building off the examples shipped with CVI.  I see that
    there is support, using the Measurement Studio for Visual C++ 6.0 Project Wizard,
    for taking existing CVI projects and converting them to Visual C++ 6.0 projects
    or for calling CVI libraries from a .dll from within Visual C++ 6.0.  I suppose I could do the work
    in CVI and then convert the project but I'm so deeply tied into all my MFC calls that I don't see
    how I can cleanly include the CVI libraries into my existing VC++ 6.0 projects.
    What I'm really after here is a visual graph control like the one in CVI that I
    can use from Visual C++ 6.0.  I purchased a 3rd party graph control for use
    in VC++ 6.0 that works well but isn't really visual.  I mean you can't
    enter any values in it until you run the program and fill it out programmatically. 
    Then you can see which columns are two narrow, quit the program, adjust the
    column width of your now empty control, and repeat, until you get the thing
    looking the way you want.  If I could call into Excel from within Visual
    C++ 6.0  the way I do from within .NET
    then I could use Excel to hold the table and just read in the values into my table
    control at run time.  Basically I'd use Excel as a visual development tool
    for all my tables.
    I do all my coding from within CVI and Measurement Studio for Visual C++
    6.0.  I'd use CVI for everything if I didn't depend so heavily on certain
    outside controlled C++ .dll's.  Could you please suggest then what I can
    do to get Excel support for Visual C++ 6.0?
    Last question :
    Is there any plan to ever have a NI table control like the CVI table control for
    use in Visual Studio?  One that you can
    completely set up before you do any compiling? 
    I imagine that the way Microsoft sets up their environment makes this idea impossible.  Otherwise someone would
    have come up with a truly “visual” table control before now.
    Thanks,
    Grant
    Grant M. Johnson
    Project Engineer
    LECO Corporation

    Hello Grant
    You can most certainly use Excel with VC++ 6.0. Measurement Studio won't provided you with any classes to talk to Excel in VC++ 6.0. This is because Excel allows control via Automation and you can use its automation API to do anything you need with Excel. This is what CVI uses as well.
    You can see this MSDN article on how to set this up. This mentions VC.NET, but it should work the same way.
    Here is one that talks about VC 6.0 and Excel.
    Here is a code project article about this.
    Even with .NET, you have to do thru the Excel Automation support. Excel started shipping with Primary Interop Assemblies (PIA) which are .NET wrappers about the Excel Automation object model. C++ Automation is definetely not as nice as .NET, BTW
    See this document for more information about the Excel object model.
    I would not recommend using the CVI Excel libraries if all you want to use them for is Excel automation. You will end up creating un-necessary dependencies and go through extra layers that way. You can make calls straight to Excel from VC++ without requiring CVI.
    One quick observation about your excel approach. If you decide to use Excel as your table, you might be requiring everyone who uses your application to have Excel installed on their machines. Just wanted to make sure this was acceptable to you.
    Have you looked at the Datagrid Activex control, which is one of the common controls that ships with Visual Studio? You can add it to Visual Studio by right-clicking and picking it from the list of installed activex control. If you have not already, you should check it out.
    Microsoft has made significant improvements in the number of controls they provide with .NET. They have a Datagrid control that seems to be what you need.
    Measurement Studio did add some high level classes for Excel and Word Automation that simplify some common tasks, but these exists for VS 2003 C++ and VS 2005 C++, not for VC 6.0. Underneath, we end up using the same Excel automation classes, so you can easily setup something similar for VC 6.0. Plus you can find alot of references online on how to use the Excel Automation object model with C++.
    We currently have no plans in Measurement Studio to create a table control unfortunately. I am assuming when you said graph, you actually meant table, since Measurement Studio already  provides a ActiveX graph controls for VC++ 6.0 that is very similar to the CVI graph.
    On a side note, VC++ 6.0 is really really old. Have you considered upgrading?
    To summarize
    - Yes, you can use Excel with Vc++ 6.0 without mstudio.
    - Try using the Datagrid Activex control if you just need a table.
    - Measurement Studio provides high-level excel and word classes for VC++ 6.0
    - Measurement Studio provides a graph control for VC++ 6.0 which is very similar to the CVI graph.
    - Measuremnt Studio does not have a table control.
    - VC++ 6.0 is really really old. Have you considered upgrading?
    Bilal Durrani
    NI

  • Need to generate the excel file with diffrent sheets using utl_file package

    Hi,
    Sorry for previous message in which I had missed the usage of " UTL_FILE " package
    I need to generate the excel file with diffrent sheets . Currently I am generating the data in three diffrent excel files using
    " UTL_File " package and my requirement is to generate this in a single excel file with diffrent sheets.
    Please help on this
    Thanks & Regards,
    Krishna Vyavahare

    Hello 10866107,
    at Re: How to save a query result and export it to, say excell? you can find links to different solutions. At least the packages behind second and fourth link support more than one worksheet.
    Regards
    Marcus

  • Using Excel 2008 for a Mac in my laptop and part of toolbar has disappeared (windows, help, view, etc) and Need to to freeze column headings

    Using Excel 2008 for a Mac on my laptop
    Part of toolbar has disappeared (windows, help, view, etc) --- want to restore
    Need to freeze column headings but freezing option was not working prior to disappearance of tool bar

    Hi Alveretta,
    Thanks for posting in MSDN forum.
    This forum is for developers discussing developing issues on Windows platform. I suggest to get more effective response from
    Office for mac forum.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or
    learn from your interaction with us.
    Thanks for your understanding.
    Best regards
    Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Import data using Excel and Oracle SQL Developer - I need some help

    Dear friends,
    I'm using Oracle SQL Developer 1.5.1 and I need to import an Excel file into a database table. If I try to import this file in XLS format, fields and headers are correctly being shown and separated, but if I press "Next" button, it simply doesn't do anything - it stays stopped.
    I did some search here in this forum and it seems to me that, when you try to import a file via XLS format, SQL Developer has bugs. Is this correct?
    If I save the same file in CSV format and try to import the same file, it goes ahead, but SQL Developer is not separating fields and headers correctly. It combines all CSV fields into one - let's say Column0 and fields 1;TEST;01/01/2000 below the same Column0.
    Saving the file in CSV format is not a problem, taking a very little time. But I don't know how to make SQL Developer import it correctly. Could somebody please help me? Thanks in advance.
    Best regards,
    Franklin

    Hello K,
    yes, you're right. I found the following topic after posting this question here.
    Re: After update to 1.5.1, import from Excel fails
    I downloaded version 1.5.0 and I'll use it whenever I import data from Excel.
    Thanks,
    Franklin

  • Error using Excel as a DataSource for Report Builder 3.0 - ODBC connection

    Hi,
    I'm getting this error message below while trying to use excel as a datasource within Report Builder 3.0.  I can see the columns and rows but unable to display/run the report.  Using Excel 32 bit and have the driver and user dsn created under c:/windows/syswow64/odbcad32.
    ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

    Hi Cherise,
    Vishal's link looks good.
    I have commercial experience in migrating Crystal Reports to SSRS. When performing any type of migration it is always wise for the business requirements to be revisited. It is likely that the business requirements may have changed since the Crystal reports
    were initially developed, etc.
    I've done some research for you and the following link looks quiet impressive and offers a cheap trial, in terms of a direct migration. Please tell me how you get on; - 
    http://www.sqlcircuit.com/2013/08/ssrs-how-to-create-report-using-excel.html
    I emphasis again I have commercial experience of lots of migration projects and it would be very unwise to not revisit the business requirements as part of the migration process.
    Kind Regards,
    Kieran.
    Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/

  • I need to open and use Excel and Word files on my iPad, which software need to get?

    I need to open and use Excel and Word files on my iPad, which software need to get?

    The options include :
    Apple's Pages app for Word docs and Numbers for Excel spreadsheets
    There are also third-party apps which support both word and excel in the one app e.g.Documents To Go and QuickOffice HD

  • How to use excel api in java?

    I need to use excel api in Java to generate data in excel format. Can any one tell any of the use ful Excel api that we can down load from net? i have read about Apache's POi-hssf-Java api. But the jar i downloaaded from Apache site is not working ? Can anybody please send me the jar for taht Api ?

    Hi,
    In fact i was not clear about whcih jar file to download from the apache site. i found one folder structure like this
    -parent
    -bin
    -src
    All these folders contained some zip files. i took the zip files and extracted them. And i set teh class path also . But when i tried to import in java programs ,these jar files are giving compilation errors

  • Retrieving sample basic using  Excel add in

    Hi I am having problems accessing the sample basic database using excel, I see the sample basic in Application/Database and I get an error which states that "Unable to load database[Basic]". I get this error for all the the sample databases. The system administrator said the databases were installed with the essbase, but I still can't retrieve them. Anyone has any suggestions as to why this may be occurring.Thanks,

    It's not a problem with the Add-In.The database was not Installed correctly. You need to rebuild the Sample Basic application. Can you check to see if all the DB files were installed.Look in the C:\essbase\app\Sample\Basic directory you should see these files, or atleast the outline.Basic.otlBasic.indBasic.esmBasic.tctEss000001.INDEss000001.PAGDo you know how to do this? If you want e-mail me and I'll walk you through it.Regards,Corey BidmeadClarity [email protected]

  • Using Excel VBA to save PDF file as a text (plain) file?

    I'm using 8.0 Acrobat Pro.
    Third party apps are not an option (I'm restricted from installing anything on my office PC).
    I could simply save each PDF manually, but given the number of files this would not be practical.
    The text it will output does not have to be pretty by any means (and I'm aware it won't be).
    As long as I can get the PDF files in a text file format, there would be no further obstacles for me - because I would then be able to get Excel to gather-import all the data and consolidate-clean-organize everything accordingly at that point.
    What's in these PDF files are simply names, numbers, and email addresses (basic office text type data stuff simple).
    I wish to save them all as text files, and then use Excel to suck all the data from those newly created text files and consolidate-organize them accordingly.
    The VBA module I've seen referrenced around the web is the following beneath; however, I am having no luck with it.
    I keep getting the error message:
    ActiveX component can't create object or  return reference to this object (Error 429)
    I am running Microsoft Office 2010 | Excel (and using Adobe Acrobat Pro 8.0).
    Any help is extremely appreciated.
    Here is the VB code in Excel I'm having trouble with:  What this is supposed to do is simply find the specified PDF file and save it as a Plain Txt File.
    Sub Convert_PDF_To_Text_File()
    Dim AcroXApp As Object
    Dim AcroXAVDoc As Object
    Dim AcroXPDDoc As Object
    Set AcroXApp = CreateObject("AcroExch.App")
    AcroXApp.Hide
    Set AcroXAVDoc = CreateObject("AcroExch.AVDoc")
    AcroXAVDoc.Open strPDFPath, "Acrobat"
    AcroXAVDoc.BringToFront
    Set AcroXPDDoc = AcroXAVDoc.GetPDDoc
    Dim jsObj As Object
    Set jsObj = AcroXPDDoc.GetJSObject
    jsObj.SaveAs strOutputFile, "com.adobe.acrobat.plain-text"
    AcroXAVDoc.Close False
    AcroXApp.Exit
    End Sub

    one other thought is that you can create text files with a batch process inside of acrobat.  Advanced ---> Document Processing ----> Batch Processing.
    Choose new sequence, give it a name
    Step 1: Select Commands ----> Choose "execute javascript", then hit "Add."  Click on "Execute Javascript" that was just added on the right, then hit the edit button and toss in the script below that I grabbed from the javascript samples (also, if your docs have multiple pages you'll need to embed the for loop into another for loop that cycles through each page).  You'd also want to change the name of the saved txt file to the name of pdf you're doing it to.  It shouldn't be that hard, but I'm guessing you're probably alot more familiar with VBA then javascript which is why you're choosing to do it from excel.  I'm kind of in the same boat of having written a bunch of VBA, but not much javascript.  I highly recommend investing some time into learning acrobat scripting b/c VB does have it's limitations when it comes to messing with PDF's.
    * function to extract the text content of the current page and save to a file.
    try  {
    var p = this.pageNum;
    var n = this.getPageNumWords(p);
    app.alert("Number of words in the page: " + n);
    var str = "";
    for(var i=0;i<n;i++) {
    var wd = this.getPageNthWord(p, i, false);  
    if(wd != "") str = str + wd;  
    // save the string into a data object
    this.createDataObject("whatever.txt",str); 
    // pop up a file selection box to export the data
    this.exportDataObject("whatever.txt");
    // clean up
    this.removeDataObject("whatever.txt");
    } catch (e)  { 
    app.alert(e)

  • CAn you use excel connection manager to connect to a folder that is protected with a username and password?

    I have folder on my server that my ssis package needs to get into. I have an excel file that I am connecting to using Excel Connection Manager. My ssis package is unable to connect to the folder. How do I get this to work. Thank you

    Hi RythmMusic,
    I am not sure how the folder is protected with username and password, Are you talking about folder is at restricted access and rest it ask you to punch window credential. In that case you need to run the ssis package with account which have access to that
    folder or use a proxy account to run under.
    If it protected from third party software then it need to decrypted by that third party software only. SSIS won;t be able to help here.
    Regards Harsh

  • Error while designing Deski reports using excel 2010(xslx) as data source

    Hi All
    We are using BOXI R3.3 on Windows 2003 Server.
    When we are trying to create DESKTOP INTELLIGENCE REPORTS using EXCEL 2010(xlsx) format prompting with below error.
    "Cannot update.Database or object is read only(3207) "
    Could you please clarify whether BOXI supports MS EXCEL 2010 version(xslx) version or not?
    If not what is the work around for this?
    Regards
    bose

    Here is what Supported Platforms Guide says : Microsoft Office 2010 (starting with FP 3.4)**
    As you are on FP3.3, Office 2010 is not supported in your implementation.
    You need to either upgrade, or use pre-Office 2010 formats.

  • Performance issue in browsing SSAS cube using Excel for first time after cube refresh

    Hello Group Members,
    This is a continuation of my earlier blog question -
    https://social.msdn.microsoft.com/Forums/en-US/a1e424a2-f102-4165-a597-f464cf03ebb5/cache-and-performance-issue-in-browsing-ssas-cube-using-excel-for-first-time?forum=sqlanalysisservices
    As that thread is marked as answer, but my issue is not resolved, I am creating a new thread.
    I am facing a cache and performance issue for the first time when I try to open a SSAS cube connection using Excel (using Data tab  -> From Other Sources --> From Analysis Services) after daily cube refresh. In end users system (8 GB RAM but around
    4GB available RAM), for the first time, it takes 10 minutes to open the cube. From next run onwards, its open up quickly within 10 secs.
    We have daily ETL process running in high end servers. The configuration of dedicated SSAS cube server is 8 core, 64GB RAM. In total we have 4 cube DB - out of which for 3 is full cube refresh and 1 is incremental refresh. We have seen after daily cube
    refresh, it takes 10 odd minutes to open the cube in end users system. From next time onwards, it opens up really fast with 10 secs. After cube refresh, in server systems (32 GB RAM, around 4GB available RAM), it takes 2 odd minutes to open the cube.
    Is there, any way we could reduce the time taken for first attempt ?
    As mentioned in my previous thread, we have already implemented a cube wraming cache. But, there is no improvement.
    Currently, the cumulative size of the all 4 cube DB are more than 9 GB in Production and each cube DB having 4 individual cubes in average with highest cube DB size is 3.5 GB. Now, the question is how excel works with SSAS cube after
    daily cube refresh?
    Is it Excel creates a cache of the schema and data after each time cube is refreshed and in doing so it need to download the cube schema in Excel's memory? Now to download the the schema and data of each cube database from server to client, it will take
    a significant time based on the bandwidth of the network and connection.
    Is it anyway dependent to client system RAM ? Today the bigest cube DB size is 3.5 GB, tomorrow it will be 5-6 GB. Now, though client system RAM is 8 GB, the available or free RAM would be around 4 GB. So, what will happen then ?
    Best Regards, Arka Mitra.

    Could you run the following two DMV queries filling in the name of the cube you're connecting to. Then please post back the row count returned from each of them (by copying them into Excel and counting the rows).
    I want to see if this is an issue I've run across before with thousands of dimension attributes and MDSCHEMA_CUBES performance.
    select [HIERARCHY_UNIQUE_NAME]
    from $system.mdschema_hierarchies
    where CUBE_NAME = 'YourCubeName'
    select [LEVEL_UNIQUE_NAME]
    from $system.mdschema_levels
    where CUBE_NAME = 'YourCubeName'
    Also, what version of Analysis Services is it? If you connect Object Explorer in Management Studio to SSAS, what's the exact version number it says on the top server node?
    http://artisconsulting.com/Blogs/GregGalloway

Maybe you are looking for