Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 64
Default Error Publishing PivotTable to MOSS.

We create an Excel 2007 PivotTable against a cube that contains KPIs, but we
do not include any KPI elements in the PivotTable itself. Excel Services
wont publish it, saying €˜The workbook that you selected cannot be opened.
The workbook may be in an unsupported file format, or may be corrupt.

If however we create the PivotTable against the same cube with KPIs
removed, everything works!

  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 64
Default Error Publishing PivotTable to MOSS.

When you publish an Excel Pivot Table to MOSS you get this error: "The
workbook that you selected cannot be opened. The workbook may be in an
unsupported format, or it may be corrupt. Would you like to try and open this
file in Excel?"

There is a Microsoft KB article that addresses this behavior (kb929766).
Also you can check the cube for any KPI's that use weighting. If the cube
that the PivotTable connects to has any KPI's present that use weighting then
you will get the error above. There are two ways to resolve the error.

1. Remove the weighting from the KPI using the Analysis Services Business
Intelligence Development Studio.

2. Edit the PivotTable cache to remove any values in the weighting tags of
the XML file. This can be done by renaming the .xlsx file to .zip and
extracting the zip file. Go to /xl/pivotCache/pivotCacheDefinition1.xml. You
can open this file with an XML Editor or notepad and make sure that "weight"
is not set to a value. At the end of the example below you will see that no
value is entered for weight.

<kpi uniqueName="Revenue 1st District Qtr 3 2007" caption="Revenue 1st
District Qtr 3 2007" displayFolder="" parent="Revenue All Districts Qtr 3
2007" value="[Measures].[Revenue 1st District Qtr 3 2007 Value]"
goal="[Measures].[Revenue 1st District Qtr 3 2007 Goal]"
status="[Measures].[Revenue 1st District Qtr 3 2007 Status]"
trend="[Measures].[Revenue 1st District Qtr 3 2007 Trend]" weight=""/




"MikeM" wrote:

We create an Excel 2007 PivotTable against a cube that contains KPIs, but we
do not include any KPI elements in the PivotTable itself. Excel Services
wont publish it, saying €˜The workbook that you selected cannot be opened.
The workbook may be in an unsupported file format, or may be corrupt.

If however we create the PivotTable against the same cube with KPIs
removed, everything works!

  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 64
Default Error Publishing PivotTable to MOSS.

Please note that it is best to remove the KPI weighting in the cube, rather
than editing the workbook file directly as I suggested earlier, since it may
get corrupted when you refresh the Excel client. Looking at the file
contents directly can assist in identifying the issue, but should actually be
fixed in the cube.

"MikeM" wrote:

When you publish an Excel Pivot Table to MOSS you get this error: "The
workbook that you selected cannot be opened. The workbook may be in an
unsupported format, or it may be corrupt. Would you like to try and open this
file in Excel?"

There is a Microsoft KB article that addresses this behavior (kb929766).
Also you can check the cube for any KPI's that use weighting. If the cube
that the PivotTable connects to has any KPI's present that use weighting then
you will get the error above. There are two ways to resolve the error.

1. Remove the weighting from the KPI using the Analysis Services Business
Intelligence Development Studio.

2. Edit the PivotTable cache to remove any values in the weighting tags of
the XML file. This can be done by renaming the .xlsx file to .zip and
extracting the zip file. Go to /xl/pivotCache/pivotCacheDefinition1.xml. You
can open this file with an XML Editor or notepad and make sure that "weight"
is not set to a value. At the end of the example below you will see that no
value is entered for weight.

<kpi uniqueName="Revenue 1st District Qtr 3 2007" caption="Revenue 1st
District Qtr 3 2007" displayFolder="" parent="Revenue All Districts Qtr 3
2007" value="[Measures].[Revenue 1st District Qtr 3 2007 Value]"
goal="[Measures].[Revenue 1st District Qtr 3 2007 Goal]"
status="[Measures].[Revenue 1st District Qtr 3 2007 Status]"
trend="[Measures].[Revenue 1st District Qtr 3 2007 Trend]" weight=""/




"MikeM" wrote:

We create an Excel 2007 PivotTable against a cube that contains KPIs, but we
do not include any KPI elements in the PivotTable itself. Excel Services
wont publish it, saying €˜The workbook that you selected cannot be opened.
The workbook may be in an unsupported file format, or may be corrupt.

If however we create the PivotTable against the same cube with KPIs
removed, everything works!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MOSS 2K7 and Excel 2007 GSwan Excel Discussion (Misc queries) 2 January 5th 07 04:59 PM
Error message when creating PivotTable Alexandre Excel Discussion (Misc queries) 1 November 27th 06 10:06 AM
Error ExportPicture in PivotTable [email protected] Excel Discussion (Misc queries) 0 February 2nd 06 02:06 AM
PivotTable Calculated Item error [email protected] Excel Discussion (Misc queries) 1 September 28th 05 09:32 AM
Pivottable Error mmwheeler Excel Discussion (Misc queries) 0 July 28th 05 01:19 PM


All times are GMT +1. The time now is 10:53 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"