PowerPivot for Sharepoint: can I update the data model?
I have an Excel file that contains a Power Pivot data model. After running some Power View analysis, I found out that my model was missing some relationships and hierarchies, so I wanted to edit my underlying data model, but I couldn't directly find a way..
What's the easiest way to do that? Is there even a way to do this?
Hi Jasper,
You can do this by opening the workbook from SharePoint in Excel on your desktop and then making the changes. When you save these changes they will be applied to the version in SharePoint.
If you manually download the workbook to a location of your choice, you can then make the changes but they won't automatically be applied to version in SharePoint when you save them. After making your changes to the copy, you can use the 'Upload Document'
option on the SharePoint ribbon to add it to the same location as the existing version. Ensure that the updated workbook has the same name as the current version and double check that the 'Add as a new version to existing files' option is ticked.
Regards,
Michael
Please remember to mark a post that answers your question as an answer...If a post doesn't answer your question but you've found it helpful, please remember to vote it as helpful :)
Website: nimblelearn.com, Blog:
nimblelearn.com/blog, Twitter:
@nimblelearn
Similar Messages
-
Can we update the data from SSRS report to any database ?
Hi Team,
Greetings !!!!
Can we update the data from SSRS report to any database ?
Thanks,
Anand Gavle.Nope SSRS doesnt have write back options. Its just a reporting tool
However one thing you can do is to link a webpage from SSRS report and do the changes through it
SSRS has the ability to navigate to web page through which you can capture any data inputs from users and save it to your db.
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Can we update the data of ztable by using the BAPI FM
Hi Experts,
Can we update the data of ztable by using BAPI FM 'BAPI_CUSTOMERCONTRACT_CHANGE'.
Can anyone help this issue.
regs
ramsHi Ramesh,
After the BAPI 'BAPI_CUSTOMERCONTRACT_CHANGE' is called, check the return message and use UPDATE <DBTABLE_NAME> command to update the ZTABLE.
Use COMMIT WORK after the call. If the BAPI is standard BAPI and not a customized BAPI, then it wont update Z Table direclty. You need to build the logic in program to update Z Table.
Best regards,
Prashant
PS : Please reward all helpful answers -
Can I Update The Old Model Like Torch 9800 to os10
Can I Update The Old Model Like Torch 9800 to os10
No, Os 10 is specifically for BB10 device.
Let me know if this help. -
I bought a 32gb Ipad 2 while visiting Las Vegas on 24/07/11, I am now back home in the UK and now think that the 64gb would be better for me, can I exchange the US model in the UK for the 64gb model and pay the differnce? Any help would be appreciated. Thanks
Thanks for your quick reply Klaus. I forgot to mention that I live in Northern Ireland but will be flying from Dublin in the Republic of Ireland so I'm not sure that this will be an issue as I don't hold an Irish passport, therefore how can they charge me their form of VAT? Maybe they can, I just don't know,
Pat -
Can't update the data of my credit card
My credit card information was changed. Now I can't update this data on my account since days. Any idea, why? the error message is 'Card is invalid, please check card details'. thanks
Hi up1975.
Please contact our chat support: http://helpx.adobe.com/x-productkb/policy-pricing/membership-subscription-troubleshooting- creative-cloud.html#Contact_us as they can provide you personalised experience in getting your issue fixed.
Regards,
Romit Sinha -
I recently purchased a MacBook Pro and transferred data from my MacBook using Migration Assistant via Ethernet cable. I was confused about consolidating my accounts, so I continued to use my old MacBook. Can I now update the data transfer using the same process and begin using my new MacBook Pro exclusively? How do I consolidate my existing accounts?
Thank you.Of course. It does everything it did before Yosemite. You just won't be able to send or receive SMS messages with it.
-
Can i copy the data model from report?
hi all
I use oracle reports 6i newlly
I want to make a copy of the data model in one report and paste it to an other report
as they have almost the same structure with little modifications
how can i do that ?
Regardshi all
I use oracle reports 6i newlly
I want to make a copy of the data model in one report
and paste it to an other report
as they have almost the same structure with little
modifications
how can i do that ?
RegardsCan't you save the Report1 as Report2 (by doing this you will have your Data Model and everything from Report1 will be copied to Report2) and do those little modifications in the Report2.
OR
Take the SQL statement from the Report1 and use that in the Report2. -
I have a data model with a single PowerPivot connection to an Oracle database. This model had eight tables in it which all use the same "Existing Connection". I can get the Query from the first Table connection using Command Text, however,
I do not know how to get the CommandText of each of the additional tables associated with the same connection.
With wsConnList
.Cells(lngRow, 1).Value = wbTarget.Connections("Conn").Name
.Cells(lngRow, 2).Value = wbTarget.Connections("Conn").OLEDBConnection.CommandText
End With
Thanks, BarbaraAny suggestions for the amazing Barbara on this topic?
Barbara, you can also ask the BI Advisors if we're not having luck here.
Thanks!
Ed Price, Azure & Power BI Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it! -
How can we update the date&time without refreshing the page
Hi friends,
I have a jsp page. In that there is Date and Time. The date and time should be updated for every one minute without refresh the page(dynamically).
Its urgent for me
Thanks
Mallikhello friend ru looking at date and time @ client side frm the server side if it is all about the client side date i don't think there is use of AJAX triggers and rendering the view by modifying the dom...
here is an example for you..
<%@ page language="java"%>
<HTML>
<HEAD>
<SCRIPT language="JavaScript">
function startclock()
var thetime=new Date();
var nhours=thetime.getHours();
var nmins=thetime.getMinutes();
var nsecn=thetime.getSeconds();
var nday=thetime.getDay();
var nmonth=thetime.getMonth();
var ntoday=thetime.getDate();
var nyear=thetime.getYear();
var AorP=" ";
if (nhours>=12)
AorP="P.M.";
else
AorP="A.M.";
if (nhours>=13)
nhours-=12;
if (nhours==0)
nhours=12;
if (nsecn<10)
nsecn="0"+nsecn;
if (nmins<10)
nmins="0"+nmins;
if (nday==0)
nday="Sunday";
if (nday==1)
nday="Monday";
if (nday==2)
nday="Tuesday";
if (nday==3)
nday="Wednesday";
if (nday==4)
nday="Thursday";
if (nday==5)
nday="Friday";
if (nday==6)
nday="Saturday";
nmonth+=1;
if (nyear<=99)
nyear= "19"+nyear;
if ((nyear>99) && (nyear<2000))
nyear+=1900;
this.document.getElementById("clockspot").innerHTML = "<b>"+nhours+": "+nmins+": "+nsecn+" "+AorP+" "+nday+", "+nmonth+"/"+ntoday+"/"+nyear+"</b>";
setTimeout('startclock()',1000);
</SCRIPT>
</HEAD>
<BODY>
<div id="clockspot"></div>
<SCRIPT language="JavaScript">
startclock();
</SCRIPT>
</BODY>
</HTML>hope this might help :)
REGARDS,
RaHuL -
i want to make my budget speadsheet update the month and date as it goes to the next month automatically, from sheet to sheet. is there any way to make this happen?
You could have a cell where you enter the month and year...
Or you could pull the month and year from the first entry in the date column. Like Barry I would want more information regarding your set up before proposing any other, more specific, ideas. -
Can you change the data model query dynamically based on its parent query
Hi
Question:
I have a data model query q1 and q2 is the child of q1
Say q1 returns 2 rows and and
for the first row
i want q2 to be select 1 from table1
for the second row
i want q2 to be select 1 from table2
Basically i want to build the q2 dynamically
for each row fetched in q1.
Can this be done?
If so where do i write the code to achieve this
Thanx in advance.
SureshOne simple (but not very realistic) example:
1. DATABASE TABLES AND DATA
CREATE TABLE dept_all (
deptno NUMBER (2),
dname VARCHAR2 (20),
in_usa CHAR (1) DEFAULT 'Y')
INSERT INTO dept_all VALUES (10, 'DEPT 10', 'Y');
INSERT INTO dept_all VALUES (20, 'DEPT 20', 'N');
INSERT INTO dept_all VALUES (30, 'DEPT 30', 'Y');
CREATE TABLE emp_usa (
empno NUMBER (4),
ename VARCHAR2 (20),
deptno NUMBER (2))
INSERT INTO emp_usa VALUES (1001, 'EMP 1001', 10);
INSERT INTO emp_usa VALUES (1002, 'EMP 1002', 10);
INSERT INTO emp_usa VALUES (3001, 'EMP 3001', 30);
INSERT INTO emp_usa VALUES (3002, 'EMP 3002', 30);
CREATE TABLE emp_non_usa (
empno NUMBER (4),
ename VARCHAR2 (20),
deptno NUMBER (2))
INSERT INTO emp_non_usa VALUES (2001, 'EMP 2001', 20);
INSERT INTO emp_non_usa VALUES (2002, 'EMP 2002', 20);
2. DATABASE PACKAGE
Note that Oracle Reports 3.0 / 6i needs 'static' ref cursor type for building Report Layout.
So, in package specification we must have both ref cursor types, static for Report Layout
and dynamic for ref cursor query.
CREATE OR REPLACE PACKAGE example IS
TYPE t_dept_static_rc IS REF CURSOR RETURN dept_all%ROWTYPE;
TYPE t_dept_rc IS REF CURSOR;
FUNCTION dept_query (p_where VARCHAR2) RETURN t_dept_rc;
TYPE t_emp_rec IS RECORD (
empno emp_usa.empno%TYPE,
ename emp_usa.ename%TYPE);
TYPE t_emp_static_rc IS REF CURSOR RETURN t_emp_rec;
TYPE t_emp_rc IS REF CURSOR;
FUNCTION emp_query (
p_in_usa dept_all.in_usa%TYPE,
p_deptno dept_all.deptno%TYPE)
RETURN t_emp_rc;
END;
CREATE OR REPLACE PACKAGE BODY example IS
FUNCTION dept_query (p_where VARCHAR2) RETURN t_dept_rc IS
l_dept_rc t_dept_rc;
BEGIN
OPEN l_dept_rc FOR
'SELECT * FROM dept_all WHERE ' || NVL (p_where, '1 = 1') || ' ORDER BY deptno';
RETURN l_dept_rc;
END;
FUNCTION emp_query (
p_in_usa dept_all.in_usa%TYPE,
p_deptno dept_all.deptno%TYPE)
RETURN t_emp_rc
IS
l_emp_rc t_emp_rc;
l_table VARCHAR2 (30);
BEGIN
IF p_in_usa = 'Y' THEN
l_table := 'emp_usa';
ELSE
l_table := 'emp_non_usa';
END IF;
OPEN l_emp_rc FOR
'SELECT * FROM ' || l_table || ' WHERE deptno = :p_deptno ORDER BY empno'
USING p_deptno;
RETURN l_emp_rc;
END;
END;
3. REPORT - QUERY FUNCTIONS AND DATA LINK
FUNCTION q_dept RETURN example.t_dept_static_rc IS
BEGIN
-- "p_where" is a User Parameter
RETURN example.dept_query (:p_where);
END;
FUNCTION q_emp RETURN example.t_emp_static_rc IS
BEGIN
-- "in_usa" and "deptno" are columns from Parent Group (G_DEPT)
RETURN example.emp_query (:in_usa, :deptno);
END;
Of course, we must create Data Link between Parent Group (G_DEPT) and Child Query (Q_EMP).
Regards
Zlatko Sirotic -
Powerpivot for sharepoint error: Unable to refresh data for a data connection in the workbook
Hello,
I have three errors when i try to use a simple powerpivot workbook published in sharepoint: (nothing on google has help me..)
1-Unable to refresh data for a data connection in the workbook.
Try again or contact your system administrator. The following connections failed to refresh:
PowerPivot Data
2-The embedded PowerPivot data in the workbook cannot be loaded due to a version mismatch
3-01/21/2012 17:26:47.08 w3wp.exe (0x1950) 0x0AD0 Excel Services Application Excel
Calculation Services bccc Medium Session.HandleTrimmedWorkbookReloading: userOperation ApplySlicerSelectionOperation requires BaseWorkbook: "http://crm2011:2020/Marketing%20Reports/test2_excel32bits.xlsx"
[0x409] [Saturday, 21 January 2012 09:40:18] [BaseWB ID: 2] to be untrimmed if it is currently trimmed. The workbook is currently NOT trimmed. fb614a65-e398-4b97-a98d-fb7b23eab39f
01/21/2012 17:26:47.08 w3wp.exe (0x1950) 0x0AD0 Excel Services Application Excel Calculation
Services f1va Medium CWorkbookWrapper::CWorkbookWrapper: Created with ID=4 fb614a65-e398-4b97-a98d-fb7b23eab39f
01/21/2012 17:26:47.09 w3wp.exe (0x1950) 0x0AD0 Excel Services Application Excel Calculation
Services eq3r Medium ConnectionRequest.ConnectionRequest: New connection request. SessionId=1.V21.4PI+fCwIq52LH++nOoMzs90.5.en-US5.en-US73.-0060#0000-10-00-05T03:00:00:0000#+0000#0000-03-00-05T02:00:00:0000#-006036.bfceb31b-7122-46ca-9e2a-ae52cefcfcaf1.N,
WorkbookVersion=ConnectionInfo.WorkbookVersion: Uri=http://crm2011:2020/Marketing Reports/test2_excel32bits.xlsx, Version=Saturday, 21 January 2012 09:40:18 fb614a65-e398-4b97-a98d-fb7b23eab39f
01/21/2012 17:26:47.12 w3wp.exe (0x1950) 0x0AD0 Excel Services Application Excel Calculation
Services aysl Medium Succeeded to initialize a chart. fb614a65-e398-4b97-a98d-fb7b23eab39f
01/21/2012 17:26:47.12 w3wp.exe (0x1950) 0x0AD0 Excel Services Application Excel Calculation
Services 8xk9 Medium ExternalSource.ExecuteOperation: We exhausted all available connection information. Exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException: Exception of type
'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException' was thrown. at Microsoft.Office.Excel.Server.CalculationServer.ConnectionInfoManager.GetConnectionInfo(Request request, String externalSourceName, Int32
externalSourceIndex, Boolean& shouldReportFailure) at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.ExecuteOperation(Request request, ExternalSourceStateInfo externalSourceStateInfo, ExternalSourceStateInfo prevExternalSourceStateInfo,
Int32 index, ConnectionInfoManager connectionInfoManager, ExternalDataScenario scenario, DataOperation dataOpe... fb614a65-e398-4b97-a98d-fb7b23eab39f
01/21/2012 17:26:47.12* w3wp.exe (0x1950) 0x0AD0 Excel Services Application Excel Calculation
Services 8xk9 Medium ...ration, Boolean verifyPreOperationConnection), Data Connection Name: PowerPivot Data, SessionId: 1.V21.4PI+fCwIq52LH++nOoMzs90.5.en-US5.en-US73.-0060#0000-10-00-05T03:00:00:0000#+0000#0000-03-00-05T02:00:00:0000#-006036.bfceb31b-7122-46ca-9e2a-ae52cefcfcaf1.N,
UserId: 0#.w|contoso\manager fb614a65-e398-4b97-a98d-fb7b23eab39f
My server and client olap versions are the same: MSOLAP.5, i used sql server 2008 R2 SP1 and sharepoint 2010 SP1 and reboot or iisreset have no effect
Thanks in advance for your helpHello Challen Fu
I would be so grateful if you could please help me out
I have been trying to find a solution to the same error message
In my case, the power pivot reports were working before on a regular team site , but then two things changed:
a) I created a toplevel site using the BI Center template. Now I am using a Business Intelligence template , created a power pivot gallery library and uploaded a few powerpivot reports
b) On the backend, the database instance was upgrated to SQL Server 2012
Front end Server VDSP01 remains SQL Server 2008 R 2 where Sharepoint 2010 was installed as a FARM
Now, the reports will display in sharepoing however they will not refresh. the error message i get is the same.
Scenario recap:
a- Server VDSP01 uses SQL Server 2008 R 2 where Sharepoint 2010 was installed as a FARM
b- On the back end, the database instance name was replaced with SQL 2012 Server:
from SQL Server 2008 R 2 (instance DBDEV-COTS\COTS)
to SQL Server 2012 ( instance VTSQL01\COTS)
c- I was told that:
From VDSP01, they ran
CliConfg.exe to create SQL Server Alias :
where BEFORE: vdsharepoint --> DBDEV-COTS\COTS
and AFTER : vdsharepoint --> VTSQL01\COTS
I appreciate in advance any help you can provide<v:shapetype coordsize="21600,21600" filled="f" id="_x0000_t75" o:preferrelative="t" o:spt="75" path="m@4@5l@4@11@9@11@9@5xe" stroked="f">
<v:stroke joinstyle="miter">
<v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0">
<v:f eqn="sum @0 1 0">
<v:f eqn="sum 0 0 @1">
<v:f eqn="prod @2 1 2">
<v:f eqn="prod @3 21600 pixelWidth">
<v:f eqn="prod @3 21600 pixelHeight">
<v:f eqn="sum @0 0 1">
<v:f eqn="prod @6 1 2">
<v:f eqn="prod @7 21600 pixelWidth">
<v:f eqn="sum @8 21600 0">
<v:f eqn="prod @7 21600 pixelHeight">
<v:f eqn="sum @10 21600 0">
</v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:formulas>
<v:path gradientshapeok="t" o:connecttype="rect" o:extrusionok="f">
<o:lock aspectratio="t" v:ext="edit">
</o:lock></v:path></v:stroke></v:shapetype> <v:shape alt="" id="Picture_x0020_2" o:spid="_x0000_i1025" style="width:630pt;height:475.5pt;" type="#_x0000_t75">
<v:imagedata o:href="cid:[email protected]" src="file:///C:\Users\wlarange\AppData\Local\Temp\msohtmlclip1\01\clip_image001.jpg">
</v:imagedata></v:shape>
wanda larangeira -
PowerPivot removed table replicated into the data model on refresh
Hey
I am facing the following problem which is absolutely persistent and annoying in nature. I am using a data model created with PowerPivot with connections to three different SQL servers and 25 tables. The bug is that every time I refresh my data, a table
that was initially added to the data model (and later removed) is replicated in equivalent number of tables that use this connection, which is currently around 12 tables, so I get 12 duplicates of the same unnecessary table on every refresh, named with the
name of the schema on the SQL server that is followed by a running number. Removing these from the data model on every refresh simply takes too much time on a daily basis. The additional undesired table which is created is what is defined in the SQL query
of the connection string of this connection.
I tried to solve this problem by zipping the Excel file and modifying this SQL statement present in the connection string in the connections.xml file in a way that it would not return anything, but this always leads into a corrupted workbook.
After encountering this I have managed to avoid this problem by making sure that the initial table I'm adding to the data model will remain in the model, but I really don't want to rebuild this current model. Is there any fix for this issue without
rebuilding the data model?
Thanks for all the help in advance!I am using 64-bit Office 2013 with the recent SP1 upgrade and the included PowerPivot plug-in on a Windows 8.1 machine.
I always create the connection by using "From SQL server" then fill in the server and log in details and use a ready SQL statement that I have written by using SQL Server Management Studio to import the initial table. For all the preceding tables
using the same server and schema, I always select it from existing connections and just paste the SQL queries required for any additional tables to the "Write a query that will specify the data to import", rather than using the table import tool.
I am not sure if it could have any effect that I've been using the type connection "From SQL server" although the database is really running on Azure (there is a possibility to select From Other sources > Microsoft SQL Azure, but the functionality
seems the same).
I don't really understand what I should edit from the existing connections section. Just to clarify, apparently the Connection String parameters can be edited from PowerPivot, but not the Command Text which can be viewed from Excel Data > Connections
> Properties, but is shown in gray with a message "Some properties cannot be changed because this connection was modified using the PowerPivot add-in."
In the data model I am using two sets of identical tables, but connected to two different servers that are running a database 1:1 in structure. Initially the problem considered only the other of these, but I accidentally reproduced it by, again, editing
the SQL query in the table that was initially imported when that connection was created (PowerPivot > Design > Table Properties). Now when refreshing I get tables that are structured as in what the "Connection Text" part of the connection would
produce, which replicated for the equivalent amount of additional tables using the same connection, so now I'm getting 12 tables (the number of tables using the same connection) each named "*schemaname1* Query", "*schemaname1* Query2",
"*schemaname1* Query3" "*schemaname2* Query" and so on.
Personally I can definitely see a pattern here. If there isn't a table matching what has been specified in the "Command Text" that was described when the connection was created, then it for some reason runs this query anyway on every table that
is using the connection. -
Update the data in user-defined table
Dear All,
Is there anyway we can insert / update the data in user-defined table in a batch instead of update it from the interface one by one? Our customer has 1,000+ data need to be imported.
They are on SAP2007A SP00 PL45, SQL 2005, CA localization. Thanks a lot.
Regards,
yukaDear Yuka,
If it is UDT, you may use any SQL query to insert, update it. It is not under SAP support anyway.
Thanks,
Gordon
Maybe you are looking for
-
Report S_BCE_68001398 and Object s_tcode
Hi Guys When running report S_BCE_68001398 with tcode suim i.e Tcode suim >>> Users>>> Users by complex selection criteria .. By transaction authorizations and Insert a tcode. I get a list of tcodes that are being used by users. When I do the same th
-
Has something changed with Static Files?
Here is a static file I uploaded last year: http://apex.oracle.com/pls/otn/wwv_flow_file_mgr.get_file?p_security_group_id=563610923303911988&p_fname=AskExpert.zip&p_inline=NO It can be downloaded by anyone. Here's one I uploaded this week: http://ape
-
I just purchased the GB Creative Zen V. I will be traveling next week with no access to a computer to charge it. I?would like to use a digital uni'versal ac adapter to charge it while I'm away. I understand I can purchase a charger from Creative but
-
Flash Player must be reinstalled every time I restart FireFox
I run Fire Fox (9.0) and I cannot get Flash to operate websites until I reinstall it (the latest version) and restart FF. Then the websites will work but only for that web session. When I restart FF the same issue reoccurs – Flash must be reinstall
-
Some touch buttons on ipad mini don't respond
Some touch buttons on my ipad mini do not respond?