Refresh Data in an Excel Workbook from another Excel file

I have an Excel file that I need to use as a data source for a report that is generated from another Excel Workbook that I am using PowerPivot and PowerPivot with.
I make the connections and everything works fine, but the schedule to refresh doesn't work.  I found the below, and another Excel file isn't listed as a data source that is can automatically refresh from.  Doesn't that seem like an obvious miss?
Report data in an Excel workbook can come from many external data sources. You can schedule automatic data refreshes for these external sources:
•Power BI Cloud Service
*       Microsoft Azure SQL Database
*       SQL Server in Microsoft Azure Virtual Machines
*       OData
*       Basic authentication
*       Anonymous authentication
*       SP Lists
*       ProjectOnline feeds
•On-premises
*       SQL Server 2005 and above
*       Oracle 10g, 11g and 11gR2
A workbook accesses external data through an embedded connection string or URL you specify when you import the original data into the workbook. Data refresh reuses the original connection information stored in the workbook.
A workbook can have only one data refresh schedule. Typically, if you create the workbook you define the schedule.
http://office.microsoft.com/en-us/office365-sharepoint-online-enterprise-help/schedule-data-refresh-for-workbooks-in-power-bi-for-office-365-HA104180761.aspx 
Thanks,
Craig

It seems apart from mentioned sources no other source is supported, even I tried refreshing model having excel as source. 

Similar Messages

  • Call Workbook from another Workbook

    Hello,
    I want to call a Workbook from another Workbook just like calling a Query via Report-Report-Interface with restrictions from the selected line.
    Does anybody know, if this works in Excel?
    Thank you for your answers!
    Andreas

    Hi Andreas,
    San's response will open the workbook. If you want to also refresh the queries in the workbook, you have the option of setting workbook properties (see the Interaction tab in the BEx Workbook properties dialog) to refresh all queries when the workbook opens; or, use
    Run "sapbex.xla!SAPBEXrefresh", True
    But, you also mentioned restrictions (filters?) based on the line selected.  You can do this using
    ReturnValue = Run("SAPBEX.XLA!SAPBEXSetFilterValue", myFilter, "", myRange)
    I would suggest an entirely different approach, however.  I would suggest that you actually do use RRI; and, if you want to have the RRI query open a particular workbook (instead of in a blank workbook), you set the local properties to "Use permanent template" ... and define the workbook you want the RRI query to embed in as the "permanent template".  Then, after the RRI query refreshes and embeds, change the embed option back to whatever the user's default was before.
    Here is example code to achieve this:
    Sub jump2KPIODS()
    Dim myCell As Range, resultRng As Range
    Dim ws As Worksheet, myRange As Range
        Set myCell = ActiveCell
        Set ws = ActiveSheet
        If Not BExIsLoaded Then Exit Sub
        'ensure that user selected a cell within the query results table!
        On Error Resume Next
        Set resultRng = Range(ws.CodeName & "_results")
        If resultRng Is Nothing Then
            MsgBox "Unable to locate query results on " & ws.Name & ".", vbCritical, _
                "Unable to jump to KPI ODS query."
            Exit Sub
        End If
        Set myRange = Application.Intersect(myCell, resultRng)
        If myRange Is Nothing Then
            MsgBox "Please select a cell in the query results table.", vbCritical, _
                "Unable to jump to KPI ODS query."
            Exit Sub
        End If
        'set New Workbook on embed ... is based on Permanent Template
        Run "sapbex.xla!templatePermanent"
        'define the KPI ODS jump workbook as the Permanent Template
        wbID = Documentation.Range("M5")
        retVal = Run("sapbex.xla!rfcSetTemplate", wbID, "")
        'rfcSetTemplate function returns a Boolean
        If Not retVal Then
            MsgBox "Unable to set workbook for receiver query.", vbCritical, _
                "Unable to jump to KPI ODS query."
            Exit Sub
        End If
        'check that jump is valid
         retVal = Run("sapbex.xla!SAPBEXcheckContext", "BS01", myCell)
        If retVal <> 0 Then
            MsgBox "Please refresh query before attempting jump to details.", vbCritical, _
                "Unable to jump to KPI ODS query."
            Exit Sub
        End If
        'make the initial jump via RRI to QURY0001
        Run "SAPBEX.XLA!SAPBEXjump", "r", "QURY0001", myCell
        'set New Workbook on embed ... is selected from list
        Run "sapbex.xla!templateChoose"
    End Sub
    NOTE:  the RRI jump query will embed on top of the LAST query embedded in the "target" workbook.  So, if there is more than one query in the "target" workbook, be sure that the jump query is the LAST one embedded.
    - Pete

  • [Forum FAQ] How do I export each group data to separated Excel files in Reporting Services?

    Introduction
    There is a scenario that a report grouped by one field for some reasons, then the users want to export each group data to separated Excel files. By default, we can directly export only one file at a time on report server. Is there a way that we can split
    the report based on the group, then export each report to Excel file?
    Solution
    To achieve this requirement, we can add a parameter with the group values to filter the report based on the group, then create a data-driven subscription for the report which get File name and parameter from the group values.
    In the report, create a parameter named Name which use the Name field as Available Values (supposing the group grouped on Name field).
    Add a filter as below in the corresponding tablix:
    Expression: [Name]
    Operator: =
    Value: [@Name]
    Deploy the report. Then create a data-driven subscription with Windows File Share delivery extension for the report in Report Manager.
    During the data-driven subscription, in the step 3, specify a query that returns the Name field with the values as the group in the report.
    In the step 4 (Specify delivery extension settings for Report Server FileShare), below “File name”option, select “Get the value from the database”, then select Name field.
    Below ‘Render Format’ option, select Excel as the static value.
    In the step 5, we can configure parameter Name “Get the value from the database”, then select Name field. 
    Then specify the subscription execute only one time.
    References:
    Create a Data-Driven Subscription
    Windows File Share Delivery in Reporting Services
    Applies to
    Reporting Services 2005
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Thanks,
    Is this a supported scenario, or does it use unsupported features?
    For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
    in a supported way?
    Thanks! Josh

  • Help! Check data in MS Excel file(JDBC-ODBC)

    Hi guys,
    I wrote a program that can check data in MS Excel file.
    User can input a sentence like "1->2" ,"1->3" (one determine one), then the program can find the data which violate the integrity constrains(functional dependency).For example, if we have the functional dependency "TSeq_gi->TSeq_accver", the program looks for two or more tuples with the same "TSeq_gi" value but the different "TSeq_accver" value in Excel file. These tuples violate the integrity constraint. But now,I can't figure out how to modify this program to multiple determine one. (like 1 3->5 or 1 3 4 5->7) . 1 3 ->5 means: look for 1 and 3 have same value but 5 different. I get stuck. Can some experts help me?
    The code and Excel file are in below link. Download and play it! Thank you~~
    Karen.
    http://us.f1f.yahoofs.com/bc/665bbb4/bc/Java/code.zip?bf6cljAB_wgRYVQf
    PS: You need to set up JDBC ODBC driver in MS windows "Administrative Tools" first. Data Souce name is Test .
    Main logic class:
    class MyActionListener implements ActionListener{
    public void actionPerformed(ActionEvent e){
    if (e.getActionCommand()=="SEARCH")
         try{
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         con1= DriverManager.getConnection("jdbc:odbc:Test");
         stmt2= con1.createStatement();
    input1 = new String(pathTf.getText());     
         main_loop: while(true){
    if (input1.equals("0")){     
              // break out of while(1)
              break main_loop;
         st= new StringTokenizer(input1," ,-=>");          
              while(st.hasMoreTokens()){
                   // analyze the input stream.
                   // Attention, the program didn't do the input value check.
                   input1= st.nextToken();
                   input2= st.nextToken();               
              query= "select "+ schema[Integer.parseInt(input1)-1]+ ","+ schema[Integer.parseInt(input2)-1]+ " from [Sheet1$]";     
              rs2= stmt2.executeQuery(query);     
              rowCounter= 0;
              list1.clear();
              list2.clear();
              list3.clear();
              while(rs2.next()){
                   // increase the row counter
                   rowCounter++;
                   // initial the flag
                   col1= rs2.getString(1);
                   col2= rs2.getString(2);               
                   // for the initalization
                   if (list1.isEmpty()){
                   list1.addElement(col1);
                   list2.addElement(col2);
                   row="Row 2";
                   list3.addElement(row);     
                   // compare weather exist dependance
                   else
                   for (int i=0;i<list1.size();i++){
                        // if col1 match with the first part of value in the list
                        if (((String)list1.get(i)).equals(col1)){
                             // The independence pair match
                             if (((String)list2.get(i)).equals(col2)){
                                  break;
                             else
                                  textArea.append("\n"+"Violate Integrity Constraints Found : "+" Row "+ (rowCounter+1)+ " not match with "+ list3.get(i)+".");
                                  System.out.println("\n"+" Row "+ (rowCounter+1)+ " not match with "+ list3.get(i)+".");      
                                  break;                    
                        // if col1 not match with any value, add a new record in list
                        else
                             list1.addElement(col1);
                             list2.addElement(col2);
                             row="Row "+ (rowCounter+1);
                             list3.addElement(row);
                   }// end of for
                   }//end of else
    }//end of while
    }//end of while(1): main_loop
         }catch(Exception ex){
         //System.err.println(ex);

    sorry~~I am new here!
    class MyActionListener implements ActionListener{
             public void actionPerformed(ActionEvent e){
                  if (e.getActionCommand()=="SEARCH")
                 try{
                          Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                          con1= DriverManager.getConnection("jdbc:odbc:Test");
                          stmt2= con1.createStatement();
                          input1 = new String(pathTf.getText());
             main_loop: while(true){
                     if (input1.equals("0")){
                                 // break out of while(1)
                     break main_loop;
                      st= new StringTokenizer(input1," ,-=>");
                     while(st.hasMoreTokens()){
                                  // analyze the input stream.
                                     input1= st.nextToken();
                                     input2= st.nextToken();
                          query= "select "+ schema[Integer.parseInt(input1)-1]+ ","+ schema[Integer.parseInt(input2)-1]+ " from [Sheet1$]";
                     rs2= stmt2.executeQuery(query);
                     rowCounter= 0;
                     list1.clear();
                     list2.clear();
                     list3.clear();
                    while(rs2.next()){
                           // increase the row counter
                    rowCounter++;
                           // initial the flag
                    col1= rs2.getString(1);
                    col2= rs2.getString(2);
                           // for the initalization
                      if (list1.isEmpty()){
                          list1.addElement(col1);
                           list2.addElement(col2);
                            row="Row 2";
                          list3.addElement(row);
                        // compare weather exist dependance
                           else
                              for (int i=0;i<list1.size();i++){
                                // if col1 match with the first part of value in the list
                                     if (((String)list1.get(i)).equals(col1)){
                              // The independence pair match
                     if (((String)list2.get(i)).equals(col2)){
                         break;
                              else
                textArea.append("\n"+"Violate Integrity Constraints Found : "+" Row "+ (rowCounter+1)+ " not    match    with "+ list3.get(i)+".");
               System.out.println("\n"+" Row "+ (rowCounter+1)+ " not match with "+ list3.get(i)+".");
                            break;
                          // if col1 not match with any value, add a new record in list
                            else
                                 list1.addElement(col1);
                                 list2.addElement(col2);
                                 row="Row "+ (rowCounter+1);
                                 list3.addElement(row);
                       }// end of for
                   }//end of else
               }//end of while
            }//end of while(1): main_loop
                                 }catch(Exception ex){
                                     //System.err.println(ex);
                                     }

  • Trying to compile a .java file from another .java file

    Hello,
    I'm trying to compile a .java file from another .java file using Runtime.exec...
    String c[]=new String[3];
    c[0]="cmd.exe"; c[1]="/c" ; c[2]="javac Hello.java";
    Process p=Runtime.exec(c);
    If anyone can help me in atleast getting the command prompt when Runtime.exec("cmd.exe") is executed...that would be great...I tried out notepad.exe, calc, explorer instead of cmd.exe...all the commands display their respective windows..except cmd.exe...the command prompt doesnt appear...
    Please help me ASAP....
    Thanks for your help in advance...
    Regards.
    AKhila.

    try this. ur code will be compliled and will get .class file. but console won't appear. is it a must for u?
    public class Exec{
         public static void main(String a[]) throws Exception{
              String c[]=new String[3];
              c[0]="cmd.exe"; c[1]="/c" ; c[2]="javac Hello.java";
              Process p=Runtime.getRuntime().exec(c);
              // or Runtime.getRuntime().exec("javac Hello.java");

  • How do read the data of the excel file line by line to the waveform?

    hello:
          i am a beginner.so i hope that  you can give me a small example。the data of the excel  file i
     have given out.
    looking for your replys!!!
    Solved!
    Go to Solution.
    Attachments:
    数据.xls ‏14 KB

    try this. best of luck
    Gaurav k
    CLD Certified !!!!!
    Do not forget to Mark solution and to give Kudo if problem is solved.
    Attachments:
    Read column.zip ‏26 KB

  • Accessign webservice result from another mxml file

    HI,
    I have an mxml application that uses the <mx:webservice
    function to load a wsdl and get some values. I have tested the code
    and it works fine and i can get the result and fault methods
    correctly.
    I would now like to call this service from another mxml file
    and use access the result or fault string accordingly.
    example scenario would be that when i load my main page, i
    would like the lookup values obtained from using the webservice to
    be available.
    i tried the following but didnt get any luck. Here lookup is
    the mxml file which contains the webservice, which i am importing
    in this file. GetLookValuesWithAuth is the operation name.
    var l:lookup=new lookup;
    var s:AsyncToken=l.es.GetLookupValuesWithAuth.send();
    s.addResponder(new mx.rpc.Responder(onSResult,onSFault));
    public function onSResult(e:ResultEvent):void{
    Alert.show("value is");
    var xy:XMLList=XMLList(e.result);
    lplist=xy.descendants("LOOKUPVALUES");
    Alert.show("lookup is
    "+lplist.toXMLString()+xy.toXMLString());
    public function onSFault(e:FaultEvent):void
    Alert.show("Fault is "+e.toString());
    An example of the webservice call in lookup.mxml is shown
    below
    <mx:WebService id="e1" wsdl="{wsdl "
    result="resultHandler(event)"
    fault="mx.controls.Alert.show(event.fault.faultString.toString())>
    <mx:operation name="GetLookupValuesWithAuth"
    resultFormat="e4x">
    <mx:request>
    <databaseName>{database name}</databaseName>
    <userName>{username}</userName>
    <password>{password}</password>
    <lookupID>05855b98-75c7-4117-a91c-db59e9ea0204</lookupID>
    </mx:request>
    </mx:operation>
    Any suggestions?

    "amthekkel" <[email protected]> wrote in
    message
    news:g9ovt2$e63$[email protected]..
    > HI,
    > I have an mxml application that uses the
    <mx:webservice function to load a
    > wsdl and get some values. I have tested the code and it
    works fine and i
    > can
    > get the result and fault methods correctly.
    > I would now like to call this service from another mxml
    file and use
    > access
    > the result or fault string accordingly.
    > example scenario would be that when i load my main page,
    i would like the
    > lookup values obtained from using the webservice to be
    available.
    >
    > i tried the following but didnt get any luck. Here
    lookup is the mxml file
    > which contains the webservice, which i am importing in
    this file.
    > GetLookValuesWithAuth is the operation name.
    > {
    > var l:lookup=new lookup;
    > var s:AsyncToken=l.es.GetLookupValuesWithAuth.send();
    > s.addResponder(new
    mx.rpc.Responder(onSResult,onSFault));
    > }
    >
    > public function onSResult(e:ResultEvent):void{
    > Alert.show("value is");
    > var xy:XMLList=XMLList(e.result);
    > lplist=xy.descendants("LOOKUPVALUES");
    > Alert.show("lookup is
    "+lplist.toXMLString()+xy.toXMLString());
    > }
    >
    > public function onSFault(e:FaultEvent):void
    > {
    > Alert.show("Fault is "+e.toString());
    > }
    >
    > An example of the webservice call in lookup.mxml is
    shown below
    >
    > <mx:WebService id="e1" wsdl="{wsdl "
    result="resultHandler(event)"
    I have no idea about web services, but it seems to me you
    should have a
    closing curly bracket in the wdsl property.
    HTH;
    Amy

  • How to get result from another JSP file?

    I have to write a jsp (my.jsp) to get information from another jsp file (other.jsp).
    The other.jsp return integer value (0 / 1) so that user can tell if certain service is available or not. And in my.jsp I need to collect such result and other information from a text file to make up of a XML string.
    How can I call other.jsp to get the result? Thanks a lot.

    Hi, I think I didn't describe the problem clearly
    enough. In fact, there is a JSP file, and if our
    database is currently connected, the JSP will return
    value 1, otherwise, it will return 0. My java program
    need to get that result, and then form an XML string,
    and send the string back to the client. I'm just
    wonder how can I write such a program to read result
    from JSP file. Thanks a lot.Why is this function implemented as a JSP file? It should be implemented as a bean. It would be simple to get the information you require from that bean.

  • Report data download to excel file

    Hi experts,
       My requirement is report data download to excel file and that file should be an attachment to send email to specified people.
    first i want to to download data to excel file and that file should be an attachment.
    Regards
    V.Venu

    Hi venu,
    Before posting the question, just search for the related query, more number of post has been posted related to your query,
    any ways  check this below links, it will solve your problem.
    <<linkfarm removed>>
    Cheers
    NZAB
    Edited by: kishan P on Jan 10, 2012 4:51 PM

  • Is it possible to link a topic from another help file?

    I apologized if topic has been discussed/answered. I was
    wondering if it is possible to link a topic from another help file?
    So, basically my client has a help file .chm that was created by
    someone else. I am brought in to create another help file. so,
    basically for the help file that i'm creating a topic call vacation
    hours but this topic is already in the previous help file instead
    of including that in the new help file can i create some see also
    link to this topic in the previous help file and the topic vacation
    hours from the previous help file display once someone click on the
    link. please let me if this possible and how i can do this.
    thank in advance
    bob

    Hi, Bob, and welcome,
    Yes, you can create links from one .chm file to another. The
    HTML syntax is as follows:
    <a
    href="TargetHelpFile.chm::/path_to/TargetTopic.htm">Link
    text</a>
    For example:
    <a href="htmlhelp.chm::/topics/chmweb.htm">Click here
    for more information</a>
    To ensure that you're specifying exactly the right path
    information to the target topic:
    1) Open the target help file.
    2) Display the required topic.
    3) Right-click it and then, on the context menu, select
    Properties.
    In the resulting properties dialog box, you can copy the path
    information out of the Address field and abbreviate it
    appropriately (you need the name of the target .chm file and
    everything that follows it).
    For this type of link to work, the target help file must be
    in the same folder as your source help file or in the Windows Help
    folder, or it must be registered under the following key in the
    Windows registry:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\HTML Help
    Pete

  • Photoshop 10 can't open image CD's from another Photoshop file.

    My Windows 7 and Photoshop Elements 10 will not open image CD's downloaded from another Photoshop file. Could open them in a previosu Windows XP and older Photoshop. Now get message: &quot;This file does not have a program associated with it for performing action. Please install a program or, if one is already installed, create an association in the Default Program default control panel.&quot;
    There are hundreds of asscociation  files listed.  WHICH ONE DO I CHOOSE????

    Right-click on file and choose properties.
    To the right of “Opens With” click on the change button.
    In the Open With dialog click on the Browse button
    Navigate to:
    Program Files (X86)\Adobe\Photoshop Elements 10
    Select (highlight) PhotoshopElementsEditor.exe
    Click Apply
    Click OK

  • Executing .jar files from another .jar file.

    How would I run one .jar file from another .jar file. and is there anyway to call specific class arguments? Because I have one .jar file that reads a specified file and returns its contents.
    So how would I execute it and specify its arguments and how would I make it return something to the executing jar file?

    Because I have one .jar file that reads
    a specified file and returns its contents. Presumably you have a class that does that, and you have that class stored in a jar. And you want to know how to... um... do something with that class. I say "um..." because normally you don't execute a class, either, you either call its static methods or you create an instance of the class and call its instance methods.
    If you have been writing a whole lot of little classes each of which just has a static main method, then stop doing that. Write real Java classes instead. The tutorial is here:
    http://java.sun.com/docs/books/tutorial/java/index.html

  • How to refresh a JTable of a class from another thread class?

    there is an application, in server side ,there are four classes, one is a class called face class that create an JInternalFrame and on it screen a JTable, another is a class the a thread ,which accept socket from client, when it accept the client socket, it deal the data and insert into db,then notify the face class to refresh the JTable,but in the thread class I used JTable's revalidate() and updateUI() method, the JTable does not refresh ,how should i do, pls give me help ,thank you very much
    1,first file is a class that create a JInternalFrame,and on it there is a table
    public class OutFace{
    public JInternalFrame createOutFace(){
    JInternalFrame jf = new JInternalFram();
    TableModel tm = new MyTableModel();
    JTable jt = new JTable(tm);
    JScrollPane jsp = new JScrollPane();
    jsp.add(jt);
    jf.getContentPane().add(jsp);
    return jf;
    2,the second file is the main face ,there is a button,when press the button,screen the JInternalFrame. there is also a thread is beggining started .
    public class MainFace extends JFrame implements ActionListener,Runnable{
    JButton jb = new JButton("create JInternalFrame");
    jb.addActionListener(this);
    JFrame fram = new JFrame();
    public void performance(ActionEvent e){
    JInternalFrame jif = new OutFace().createOutFace(); frame.getContentPane().add(JInternalFrame,BorderLayout.CENTER);
    public static void main(String[] args){
    frame.getContentPane().add(jb,BorderLayout.NORTH);
    frame.pack();
    frame.setVisible(true);
    ServerSokct ss = new ServerSocket(10000);
    Socket skt = ss.accept()'
    new ServerThread(skt).start();
    3.the third file is a thread class, there is a serversoket ,and accept the client side data,and want to refresh the JTable of the JInternalFrame
    public class ServerThread extends Thread{
    private skt;
    public ServerThread(Sokcet skt){
    this.skt = skt;
    public void run(){
    OutputObjectStream oos = null;
    InputObjectStream ios = null;
    try{
    Boolean flag = flag;
    //here i want to refresh the JTable,how to write??
    catch(){}
    4.second is the TableModel
    public class MyTableModel{
    public TableModel createTableModel(){
    String[][] data = getData();
    TableModel tm = AbstractTableModel(
    return tm;
    public String[][] getData(){
    }

    Use the "code" formatting tags when posting code.
    Read this article on [url http://www.physci.org/codes/sscce.jsp]Creating a Simple Demo Program before posting any more code.
    Here is an example that updates a table from another thread:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=435487

  • Take data from another numbers file ?

    Let say I have a Numbers file called "FileA" and I want the Sum from another file called "fileB"that is in the same folder.
    Thanks in advance guys

    Very confusing for a newbye like me ..
    what is confusing, the script of the feature unavailability ?
    hope for the next version they will implement this simple feature
    Who told you that it's a simple feature?
    What is your knowledge in programming allowing you to state this kind of thing?
    _*Hoping is perfectly useless, Apple Engineers can't read your dreams.*_
    If you wish to get a new feature, use the dedicated channel:
    _Go to "Provide Numbers Feedback" in the "Numbers" menu_, describe what you wish.
    Then, cross your fingers, and wait _at least_ for iWork'10
    At this time, the easy workaround is to move the tables of document 2 into document 1.
    It's easy to grab datas from one table of document 1 to an other table of the same document.
    Yvan KOENIG (VALLAURIS, France) samedi 12 septembre 2009 21:02:01

  • Save multiple waveform graphs and data in one Excel File

    Hi there,
    I managed to save data from waveform graph into excel file and saving the plot into excel but individually. I'm aiming to save both the data and the plot in an excel file. May I know how do I do it? I've tried using the Write to Measurement File vi and also the invoke node of the waveform chart but it's still not giving me what I've wanted. 
    The above was only for one analog input channel and I have 2 analog inputs each with their respective sets of data and plot. Is there a way to execute the data and plot of one input in one worksheet and another set of data and plot in another worksheet, all in one excel file?

    Hi there;
    I would recommend using the Report Generation Toolkit; it is the easiest way.
    You can use either the Report Express VI or the Appi to save all your data in both formats
    Greetings

Maybe you are looking for