+ Reply to Thread
Results 1 to 2 of 2

Export/Split data from DataModel to sheets

  1. #1
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Export/Split data from DataModel to sheets

    Hello,

    I have a data model in Excel with a couple dozen tabs, some of which have a couple million rows.

    What I am trying to do it move a table with 5 million rows, lets call it "InvoiceTable", into 20 different tabs, named InvoiceTable-1, InvoiceTable-2, InvoiceTable-3, and so on, each with 250k rows. I need to split them because Excel gets cranky when you try to post 5M rows into one tab.

    The way I think this will work is if I create a simple helper column in each table where row count will be an issue, something to the effect of =INT(ROW()/250000), and use that as the split-point and also as a value to concatenate onto the resulting tab names so there are no duplicate tabs.

    My question is; how would I go about Exporting tabs of data in DataModel into Excel sheets, while splitting them by the value I create with the formula?


    Thanks!
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  2. #2
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Export/Split data from DataModel to sheets

    marked as solved - I found another simpler way to do this. for anyone else looking to export data models into csv - I'm using DaxStudio with a simple EVALUATE TABLE_NAME query and using results to file as the output. Easy!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need Macro code to split data split in 7 sheets based on variable rows in column A
    By Alija_21 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-31-2015, 08:03 AM
  2. Export data to new sheet, name on sheets etc.
    By norway91 in forum Excel General
    Replies: 1
    Last Post: 03-21-2015, 01:13 AM
  3. Export data from several sheets to new sheet
    By Liran42 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2013, 05:32 AM
  4. Split and export Excel data to .txt files
    By Sparrow99 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2013, 03:02 AM
  5. Need to Print and export sheets with data only
    By stuartgentle in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-28-2013, 06:20 PM
  6. Split data from one excel spreadsheet and export to multiple text files
    By jmsavage in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-03-2012, 05:30 AM
  7. Export data to sheets based on value
    By Hywel in forum Excel General
    Replies: 10
    Last Post: 11-11-2005, 12:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1