搜尋本站文章

顯示具有 SQL Server 2008 BI 標籤的文章。 顯示所有文章
顯示具有 SQL Server 2008 BI 標籤的文章。 顯示所有文章

2012-07-02

SQL Server 2012 SSRS 2012:Reporting Services 支援 xlsx、docx 檔案格式;不再有 xls 檔案受限於最大資料列: 65536 之問題



感謝 Alex Chuo 的通知:SSRS 2012:Reporting Services 支援 xlsx、docx 檔案格式;不再有 xls 檔案受限於最大資料列: 65536 之問題。




適用環境:
SQL Server 2012 版本。
Reporting Services 2012。

在 SQL Server 2012 Reporting Services 中,預設 Excel 轉譯器是與 Microsoft Excel 2007-2010 相容的版本。

在報表管理員和 SharePoint 清單的 [匯出] 功能表中,這就是 [Excel] 選項。

使用新版本 Excel 2007-2010 轉譯延伸模組有許多優點。

下表將比較 Excel 2003 與 Excel 轉譯器。

-- 00_使用新版本 Excel 2007-2010 轉譯延伸模組



改用新版本的 Excel 2007-2010(*.xlsx) 轉譯延伸模組:

(1) 可支援到 1,048,576 筆資料列。
(2) 可支援到 16,384 資料行。

也就是說,Excel 2007-2010 讓試算表的容量擴充到超過 1 百萬資料列和 1 萬 6 千資料行。





以下為使用 SSRS 2012 版本的畫面:

-- 01_SSRS_2012_檢視報表_另存新檔



-- 02_SSRS_2012_開啟或儲存Excel



-- 03_SSRS_2012_另存新檔_只能選xlsx



-- 04_SSRS_2012_超過65,536 列筆資料列







以下為使用 SSRS 2008 R2 版本的畫面:

-- 05_SSRS_2008_R2_檢視報表_另存新檔




但若是匯出的資料列筆數超過 65536,將會遭遇的錯誤訊息如下:

-- 06_SSRS_2008_R2_超過最大資料列_65536



'/Reports' 應用程式中發生伺服器錯誤。
--------------------------------------------------------------------------------

Excel 轉譯延伸模組 : 列數超過這種格式每個工作表的最大資料列限制; 需要的資料列: 113446,最大資料列: 65536 
描述: 在執行目前 Web 要求的過程中發生未處理的例外情形。請檢閱堆疊追蹤以取得錯誤的詳細資訊,以及在程式碼中產生的位置。 

例外詳細資訊: Microsoft.Reporting.WebForms.ReportServerException: Excel 轉譯延伸模組 : 列數超過這種格式每個工作表的最大資料列限制; 需要的資料列: 113446,最大資料列: 65536

原始程式錯誤: 

在執行目前 Web 要求期間,產生未處理的例外狀況。如需有關例外狀況來源與位置的資訊,可以使用下列的例外狀況堆疊追蹤取得。  

堆疊追蹤: 

[ReportServerException: Excel 轉譯延伸模組 : 列數超過這種格式每個工作表的最大資料列限制; 需要的資料列: 113446,最大資料列: 65536]

[ReportServerException: Excel 轉譯延伸模組 : 列數超過這種格式每個工作表的最大資料列限制; 需要的資料列: 113446,最大資料列: 65536 (rrRenderingError)]
   Microsoft.Reporting.WebForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension) +1018
   Microsoft.Reporting.WebForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension) +1329
   Microsoft.Reporting.WebForms.ServerModeSession.RenderReport(String format, Boolean allowInternalRenderers, String deviceInfo, NameValueCollection additionalParams, Boolean cacheSecondaryStreamsForHtml, String& mimeType, String& fileExtension) +209
   Microsoft.Reporting.WebForms.ExportOperation.PerformOperation(NameValueCollection urlQuery, HttpResponse response) +219
   Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context) +171
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +599
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171

--------------------------------------------------------------------------------
版本資訊: Microsoft .NET Framework 版本:2.0.50727.4927; ASP.NET 版本:2.0.50727.4927 






匯出至 Microsoft Excel (報表產生器及 SSRS)

在 SQL Server 2012 Reporting Services 中,預設 Excel 轉譯器是與 Microsoft Excel 2007-2010 相容的版本。

在報表管理員和 SharePoint 清單的 [匯出] 功能表中,這就是 [Excel] 選項。

與 Excel 2003 相容的舊版現在已命名為 Excel 2003,而且使用該名稱列於功能表上。
根據預設,系統不會顯示 [Excel 2003] 功能表選項,但是管理員可以透過更新 RSReportServer 組態檔,顯示此選項。

若要使用 Excel 2003 轉譯器,從 SQL Server Data Tools (SSDT) 匯出報表,請更新 RSReportDesigner 組態檔。

不過,讓 Excel 2003 轉譯器顯示並不適用於所有案例。
因為 RSReportServer 組態檔位於報表伺服器上,所以您從中匯出報表的工具或產品必須連接至報表伺服器,以便讀取組態檔。

如果您在中斷連接或本機模式中使用工具或產品,讓 Excel 2003 轉譯器顯示就沒有任何作用。
[Excel 2003] 功能表選項會維持無法使用的狀態。

如果您在 RSReportDesigner 組態檔中,讓 Excel 2003 轉譯器顯示,就一定可以在 SQL Server Data Tools (SSDT) 報表預覽中使用 [Excel 2003] 功能表選項。

使用新版本 Excel 2007-2010 轉譯延伸模組有許多優點。

改用新版本的 Excel 2007-2010(*.xlsx) 轉譯延伸模組:

(1) 可支援到 1,048,576 筆資料列。
(2) 可支援到 16,384 資料行。

(3) Excel 2007 讓試算表的容量擴充到超過 1 百萬資料列和 1 萬 6 千資料行。

Excel 轉譯延伸模組會將報表轉譯成 Microsoft Excel 2007-2010 的原生格式。
此格式為 Office Open XML。

此轉譯器所產生之檔案的內容類型為 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet 而檔案的副檔名為 .xlsx。

與 Microsoft Excel 2003 相容的舊版 Excel 轉譯延伸模組已重新命名為 Excel 2003。
根據預設,只能使用 Excel 轉譯延伸模組。

您必須更新 Reporting Services 組態檔,才能使用 Excel 2003 轉譯延伸模組。

此轉譯器所產生之檔案的內容類型為 application/vnd.ms-excel 而檔案的副檔名為 .xls。
此轉譯器可提供 Microsoft Excel 2003 的回溯相容性。

--
SQL Server 2012 中 SQL Server Reporting Services 已被取代的功能

(1) Microsoft Word 和 Microsoft Excel 1997-2003 轉譯
(2) Microsoft Word 和 Microsoft Excel 1997-2003 二進位交換檔案格式的 Reporting Services BIFF8 轉譯延伸模組 Reporting Services 報表。

SQL Server 2012 包含以 Microsoft Office 2007-2010 Open XML 格式轉譯的延伸模組。




參考資料

匯出至 Microsoft Excel (報表產生器及 SSRS)
http://msdn.microsoft.com/zh-tw/library/dd255234.aspx

SQL Server 2012 中 SQL Server Reporting Services 已被取代的功能
http://msdn.microsoft.com/zh-tw/library/ms143509.aspx

無法匯入超過 65,536 列是文字檔到 Excel 97、 Excel 2000、 Excel 2002 和 Excel 2003
http://support.microsoft.com/kb/120596/zh-tw

SQL Server 2008:SSIS 2008 與 Excel 2007(*.xlsx、*.xlsb)
http://sharedderrick.blogspot.com/2009/11/sql-server-2008ssis-2008-excel.html

SSIS 2005 與 Excel 2007 (*.xlsx , *.xlsb)
http://sharedderrick.blogspot.com/2008/01/ssis-excel-2007-xlsx-xlsb.html

使用 SSIS 將 SSRS 所產生 Excel 檔案,做適當的歸檔與分類
http://sharedderrick.blogspot.tw/2009/11/ssis-ssrs-excel.html

SQL Server Reporting Services (SSRS): Reporting Services in SQL Server 2012 (codename "Denali") will support XLSX, DOCX formats. Bye bye 65536 rows limit in XLS files ;)
http://blogs.msdn.com/b/farukcelik/archive/2012/02/01/sql-server-reporting-services-ssrs-reporting-services-in-sql-server-2012-codename-quot-denali-quot-will-support-xlsx-docx-formats-bye-bye-65536-rows-limit-in-xls-files.aspx

2012-03-19

新手學SQL Server 2008使用 OPENDATASOURCE、OPENROWSET 資料表函數或連結伺服器來連接 Oracle 資料庫

本文將討論三項主題,分別是:
使用 OPENDATASOURCE、OPENROWSET 資料表函數或連結伺服器(Linked Server) 來與 Oracle 執行個體連接的設定與相關注意事項。

示範環境:
1. Windows Server 2008 R2 x64 + SQL Server 2008 R2 SP1 x64 版本。
2. Oracle 11g R2 x64 版本。


請參考以下的網址:
新手學SQL Server 2008使用 OPENDATASOURCE、OPENROWSET 資料表函數或連結伺服器來連接 Oracle 資料庫


2012-03-06

SSIS:存取 Excel 的公式中之「名稱(Name)」、工作表(Worksheet)、具名範圍(Named Range)

在 Excel 上:

您可以使用「名稱(Name)」,讓公式更容易了解及維護。
您可以為儲存格範圍、函數、常數或資料表定義名稱。

一旦採取在活頁簿中使用名稱的做法以後,就可以輕鬆更新、稽核及管理這些名稱。
可以使用「公式(Formulas)」頁籤的「名稱管理員(Name Manager)」來管理與設計。


在 SSIS 的「Excel 來源」或「Excel 目的地」資料項目:

Excel 活頁簿中資料的來源可以是工作表 (必須附加 $ 符號,例如 Sheet1$) 或已「命名的範圍(Named range)」 (例如 MyRange)。

在 SQL 陳述式中,工作表的名稱必須加以分隔 (例如 [Sheet1$]),以避免 $ 符號造成的語法錯誤。

「查詢產生器」會自動加入這些分隔符號。

當您指定工作表或範圍時,驅動程式會讀取連續的資料格區塊,從工作表或範圍左上角的第一個非空白資料格開始。

因此,來源資料的資料列不可以空白,或標題或標頭資料列與資料列之間不可以有空白資料列。

在 Excel 中,工作表或範圍相當於資料表或檢視。

「Excel 來源」及「Excel 目的地」編輯器中的可用資料表清單,僅會顯示現有工作表 (以附加到工作表名稱的 $ 符號識別,例如 Sheet1$) 及具名範圍(Named range) (以沒有 $ 符號的方式識別,例如 MyRange)。


綜合前述

可以先在 Excel 上,利用「公式(Formulas)」頁籤的「名稱管理員(Name Manager)」來管理與設計資料的區域。

之後,在 SSIS 封裝上的「Excel 來源」或「Excel 目的地」上,就可以使用這些「名稱」來存取指定的資料區塊。



示範環境:
1. Excel 2010。
2. SSIS 2008。

以下是使用 Excel 上的「公式(Formulas)」頁籤的「名稱管理員(Name Manager)」來管理與設計資料之區域。

-- 01_設定好的名稱管理員_視窗



之後,在 SSIS 封裝上的「Excel 來源」或「Excel 目的地」上,就可以使用這些「名稱」來存取指定的資料區塊。

-- 02_Region_選擇指定工作表,點選「預覽」



-- 03_Shippers_選擇指定工作表,點選「預覽」



-- 04_選取整個「工作表」






參考資料:

定義及使用公式中的名稱
http://office.microsoft.com/zh-tw/excel-help/HA010147120.aspx

Excel 來源
http://msdn.microsoft.com/zh-tw/library/ms141683.aspx

Excel 目的地
http://msdn.microsoft.com/zh-tw/library/ms137643.aspx


SSIS:認識 Excel 公式的「名稱(Name)」、工作表(Worksheet)、具名範圍(Named Range) -- 圖文版本
http://sharedderrickref.blogspot.com/2012/03/ssis-excel-nameworksheetnamed-range.html

2011-11-30

Mission Critical 的關鍵首選:Microsoft SQL Server

日期:2011 年 11 月

在 Microsoft Taiwan 網站上,發佈一項消息:

Mission Critical 的關鍵首選 Microsoft SQL Server
http://www.microsoft.com/taiwan/promo/numbers/

提供了 6 項關鍵數字來說明為何要使用 SQL Server:

-- 01_Mission Critical 的關鍵首選 Microsoft SQL Server


整理如下:

(一) SQL Server 是最安全的主流資料庫平台:創下重大安全 0 弱點記錄

-- 02_創下重大安全0弱點記錄




原本在 Microsoft Taiwan 官方網頁寫的是:
「此數據係基於ITIC於2010年1月至2010年6月之統計。」

但參考連結的資料後,發覺應該是依據 National Institute of Standards and Technology (NIST) 的 security vulnerabilities(安全漏洞記錄) 所得出的統計資料。


統計日期是:由 2002 年到 2010 年 6 月。


文中說明:SQL Server 在這段期間,被發現有 49 個 vulnerabilities,是數量最少、最安全的資料庫系統。


與之相比起來,在 NIST 的安全漏洞記錄)上,Oracle 卻有 321 個安全漏洞,足足比最安全 SQL Server 多了 6  倍的安全漏洞。


而 IBM DB2 平台上,累計已經有 121 個安全漏洞。


資料來源:
ITIC: SQL Server Delivers Industry-Leading Security, Sept 2010

http://itic-corp.com/blog/2010/09/sql-server-most-secure-database-oracle-least-secure-database-since-2002/

-- 03_SQL Server Delivers Industry-Leading Security



其統計資料來源是:NIST 的 security vulnerabilities。

National Institute of Standards and Technology
http://www.nist.gov/index.html



(二) SQL Server 是為企業創造關鍵成本優勢:軟體授權費用可節省 84%

-- 04_軟體授權費用可節省84%



此數據微軟案例研究:
Naturally Fresh資訊系統總監Joe Stell提到「透過選擇SQL Server而非Oracle,節省了高達84%的軟體授權成本。….讓您可以立竿見影地節省短期和長期成本」;

資料來源:
SQL Server 2008:聚焦成本. Microsoft® SQL Server® 2008 協助企業降低成本的12 種方式.
http://download.microsoft.com/download/D/A/3/DA3F0BAB-40FC-44F9-ACF2-1B1F4E157802/New%20Folder/Twelve_Ways_to_Reduce_Costs_with_Microsoft_SQL_Server_2008.pdf


-- 05_透過選擇SQL Server而非Oracle,節省了高達84%的軟體授權成本





(三) SQL Server 是成本優勢遠勝 Oracle:資料庫年整體行政成本可減少 460%

-- 06_資料庫整體行政成本可減少460%



此數據係基於Alinean White Paper對於SQL Server與Oracle之比較研究。

資料來源:
Microsoft SQL Server and Oracle Database: A Comparative Study on Total Cost of Administration (TCA)
http://www.alinean.com/PDFs/Microsoft_SQL_Server_and_Oracle-Alinean_TCA_Study_2010.pdf

-- 07_A Comparative Study on Total Cost of Administration





(四) SQL Server 是備受頂尖企業肯定:商業智慧市場於 2010 年佔有率成長 23.6%

-- 08_商業智慧市場於2010年佔有率成長23.6%



此數據以2010年之營收數字計算。Gartner, Market Share: All Software Markets, Worldwide, 2010, March 30, 2011

資料來源:
Gartner, Market Share: All Software Markets, Worldwide, 2010, March 30, 2011
http://www.gartner.com/technology/media-products/reprints/microsoft/vol2/article16/article16.html

-- 09_Market Share All Software Markets





(五) SQL Server 是為企業搶占先機:資料庫轉移後停機時間減少 20%

-- 10_資料庫移轉後停機時間減少20%



此數據係有關從SAP ERP 環境遷移至SQL Server之案例研究

資料來源:
Microsoft SQL Server TCO Study for SAP ERP Customers
http://download.microsoft.com/download/1/4/0/140FC011-702E-44F6-BC43-2775BF3E89D5/Microsoft%20TCO%20Study%20for%20SAP%20ERP-Jan09.pdf

-- 11_TCO Study for SAP ERP Customers





(六) SQL Server 是穩定性業界最高:運作可用度可高達 99.9999%

-- 12_運作可用度可高達99.9999%



此數據係基於微軟案例研究

資料來源:
Microsoft Case Study: Stratus Technologies
http://www.microsoft.com/casestudies/Microsoft-SQL-Server-2008-R2-Enterprise/Stratus-Technologies/Protect-your-mission-critical-databases-from-downtime-and-data-loss-with-six-nines-uptime-availability/4000007136

-- 13_Protect your mission-critical databases from downtime and data loss – with six nines uptime availability





但是在美國總部的 Microsoft SQL Server 網站上,表列了 10 項理由,說明為何要選擇 SQL Server:


Top Reasons to Choose SQL Server
http://www.microsoft.com/sqlserver/en/us/product-info/why-sql-server.aspx

-- 14_Top Reasons to Choose SQL Server



整理與補充如下:



(七) 與 Oracle DBA 比較起來,Microsoft DBA 維護數量更多的關鍵任務資料庫系統

-- 15_Key Results_Mission critical databases



資料來源:
Microsoft SQL Server and Oracle Database: A Comparative Study on Total Cost of Administration (TCA)
http://www.alinean.com/PDFs/Microsoft_SQL_Server_and_Oracle-Alinean_TCA_Study_2010.pdf

-- 16_Database Profiles_ Mission Critical databases






(八) 在 TPC-E 效能評測標準上,SQL Server 是無可爭議的領導者

-- 17_TPC-E - Top Ten Performance Results



資料來源:
TPC-E Top Ten Performance Results
http://www.tpc.org/tpce/results/tpce_perf_results.asp



(九) SQL Server 在軟體授權收入上,已經超越 IBM DB2

-- 18_RDBMS Product Revenue By Top 10 Vendor nad Operating Environment, 2009



-- 19_RDBMS Product Revenue By Top 10 Vendor nad Operating Environment, 2009



-- 20_Wordwide RDBMS Software License Revenue By Top 10 Vendor, 2008 and 2009



-- 21_RDBMS Software License Revenue By Operating Environment



資料來源:
IDC WW RDBMS 2009 Vendor Analysis: Top 10 Vendor License Revenue by Operating environment, August 2010
http://idcdocserv.com/224350E

在 Table 2 中,在軟體授權收入上,已經超越 IBM DB2,並且接近 Oracle。
在 Table 3 中,在 RDBMS 在 Windows 作業系統平台上的成長率是第一名。



(十) PowerPivot 被 eWeek 評鑑為 2010 年十大科技之一

-- 22_2010 Products of the Year_Microsoft PowerPivot



資料來源:
eWeek 2010 Products of the Year: Messaging and Collaboration
http://www.eweek.com/c/a/Messaging-and-Collaboration/2010-Products-of-the-Year-857767/2/




參考資料:

Mission Critical 的關鍵首選 Microsoft SQL Server
http://www.microsoft.com/taiwan/promo/numbers/

Microsoft Mission Critical Enterprise 微軟關鍵任務
http://www.microsoft.com/taiwan/servers/missioncritical/Default.aspx

將 SAP/ERP 環境遷移至 SQL Server 可以將未規劃的停機時間減少超過 20%、IT 人力成本減少將近 25%,而持續性的軟體支援成本則減少達 85%
http://download.microsoft.com/download/5/0/B/50B12664-79EA-45A9-AF0C-271AE658FD17/WIP_MSSQLSAP_WP_layout_v10_CHT_Final.pdf

升級至 SQL Server 2008 的總體經濟影響
http://download.microsoft.com/download/5/0/B/50B12664-79EA-45A9-AF0C-271AE658FD17/TEI_of_SQL_Server_2008_Upgrade_CHT_Final.pdf

躍進 SQL Server 2008 與 Oracle 11g database 的比較
http://download.microsoft.com/download/e/e/b/eebb2b8a-984c-4c45-9940-436c3927f166/SQL2008_vs_Oracle11g_CHT.pdf

看看 Microsoft SQL Server 2008 如何勝出 Oracle
http://www.microsoft.com/taiwan/sql2008/prodinfo/compare-oracle.aspx

台灣微軟客戶案例分享 - 產品類別 - SQL Server
http://www.microsoft.com/taiwan/casestudies/products/sqlserver.aspx

Mission Critical 的關鍵首選 Microsoft SQL Server_資料來源出處
http://www.microsoft.com/taiwan/promo/numbers/source.htm

Microsoft SQL Server | Why You Should Choose SQL Server
http://www.microsoft.com/sqlserver/en/us/product-info/why-sql-server.aspx

2011-04-22

認識與安裝 PowerPivot for Excel:SQL Server 2008 R2

PowerPivot 是指應用程式服務的集合,它們會針對使用 Excel 和 SharePoint 建立及共用商務智慧,提供端對端的解決方案。

而這集合包含了:

(1) PowerPivot 活頁簿和 PowerPivot 資料

(2) PowerPivot for Excel

(3) PowerPivot for SharePoint

(4) SharePoint 整合模式下的 Analysis Services 服務

(5) PowerPivot 系統服務

(6) PowerPivot 服務應用程式

(7) PowerPivot 應用程式資料庫

(8) PowerPivot Web 服務和 PowerPivot Managed 延伸模組

(9) 自助式商務智慧

等應用程式與服務。



與其他 SQL Server 元件相較之下,PowerPivot 資料不會使用您用來建立其他 SQL Server 或 Analysis Services 資料來源的相同工具和應用程式來建立、檢視或管理。

若要建立 PowerPivot 資料,您必須使用 PowerPivot for Excel。

PowerPivot for Excel 是 Excel 2010 的增益,可用來組合 Excel 活頁簿內部的 PowerPivot 資料。

它是唯一用來建立或修改 PowerPivot 資料的用戶端應用程式。

Business Intelligence Development Studio 之類的其他撰寫工具,則無法用來建立或修改 PowerPivot 資料。

SQL Server PowerPivot for Excel 是 Excel 2010 的增益集,您可以從網頁上下載該增益集,並用來建立或檢視 PowerPivot 活頁簿。

此增益集包括下列元件:
(1) Excel 功能區中的 PowerPivot 功能表。

(2) 開啟在 Excel 之上方的 PowerPivot 視窗。它會提供設計介面和工具來加入資料,並將資料產生關聯以及使資料更豐富。

(3) 本機 Analysis Services VertiPaq 引擎,它會壓縮及載入資料,並將資料提供給工作表中的資料視覺化物件 (如樞紐分析表) 使用。

(4) 更新版本的 AMO、ADOMD.NET 和 Analysis Services OLE DB 提供者,可支援與 PowerPivot 資料之間的連接。

(5) ATOM 資料摘要提供者,可匯入及重新整理 ATOM 格式的資料。


Microsoft® PowerPivot for Microsoft® Excel 2010 提供突破性的技術。
例如,快速操作大型資料集 (通常包含數百萬個資料列)、簡化資料的整合,而且能夠透過 Microsoft® SharePoint 2010,輕鬆共用您的分析結果。

--01


--02



Microsoft® PowerPivot for Microsoft® Excel 2010 是一種資料分析工具,可以在使用者已經熟知而且喜愛的軟體 Microsoft® Excel 中直接提供強大的運算能力。

您可以使用驚人的速度,將大量資料轉換為有意義的資訊,以便在幾秒內得到您需要的答案。

您可以毫不費力地與其他人分享您發現的事物。

您可以:
(1) 處理大型資料集 (通常包含數百萬個資料列) 的效能相當於運用 PowerPivot 記憶體中的引擎與有效的壓縮演算法處理數百個資料列的效能

(2) 使用 PowerPivot 直接從 Windows Azure Marketplace 的 DataMarket 部分存取受信任的進階及公用網域資料

(3) 從大量來源 (包括企業資料庫、試算表、報表、文字檔和網際網路資料摘要) 整合資料

(4) 超越標準 Excel 運算式並使用 PowerPivot 的 Data Analysis Expressions (DAX) 語言來執行功能強大的資料操作。

如同在資料庫一樣,遵循資料表間的關聯性,並使用熟悉並且直覺式的運算式定義複雜的計算

(5) 以互動方式瀏覽、分析與建立報表,而不依賴使用原生 Excel 2010 功能 (例如樞紐分析表、交叉分析篩選器和其他熟悉的分析功能) 的專業知識和專門訓練


Excel 版本需求

建立包含 PowerPivot 資料的 Excel 活頁簿同時需要 Excel 2010 和 PowerPivot for Excel 增益集。

在您建立活頁簿後,可以將它發行到 SharePoint Server 2010 伺服陣列,這個伺服陣列具有 Excel Services 與 SQL Server PowerPivot for SharePoint 的部署。

您可以在 Excel 2007 中開啟 PowerPivot 活頁簿。

但是,Excel 2007 不能用來建立或修改 PowerPivot 資料,或是與使用 PowerPivot 資料的樞紐分析表或樞紐分析圖互動。

您必須使用 Excel 2010 來取得所有 PowerPivot 功能的完整存取權。

若要使用 PowerPivot for Excel 的完整功能,您必須具備 Excel 2010 的 64 位元版本。

在 Windows 平台上,64 位元的作業系統與用戶端應用程式提供更多可定址的記憶體,以便您建立包含數百萬個資料列的活頁簿。


在用戶端上載入及計算 PowerPivot 資料

PowerPivot for Excel 包含在 Excel 中於同處理序 (In-Process) 執行的 Analysis Services VertiPaq 引擎

用戶端應用程式會使用 AMO 和 ADOMD.NET,接著使用 Analysis Services OLE DB 提供者,以連接及查詢活頁簿內的 PowerPivot 資料。

Analysis Services VertiPaq 引擎會在工作站上發出查詢,然後從不同的資料來源接收資料,包括關聯式或多維度資料庫、文件、公用資料存放區或 Web 服務。

在資料匯入和用戶端資料重新整理期間,對外部來源的所有資料存取都是透過在 Excel 處理序內執行的 Analysis Services VertiPaq 引擎。

下圖說明從 Excel 進行 PowerPivot 資料存取。圖中顯示支援資料處理的元件。
如需有關支援的資料來源及建立 PowerPivot 資料的詳細資訊,請參閱隨著 PowerPivot for Excel 增益集一起安裝的說明。

--0201



如果您要將包含 PowerPivot 資料的 Excel 活頁簿發行到 SharePoint 文件庫,當您想要從 SharePoint 網站檢視活頁簿時,您必須擁有 PowerPivot for SharePoint。

雖然 PowerPivot 資料在 Excel 中是以視覺化方式呈現,其實在內部,資料是由 PowerPivot 系統服務從活頁簿擷取的 Analysis Services 多維度資料。

該資料是由 Analysis Services 伺服器執行個體載入伺服器記憶體中,以供在伺服陣列中快速進行資料分析。


安裝前的事項:

(1) 如果您要在 Windows 伺服器作業系統上安裝 Excel 和 PowerPivot for Excel,請加入 NET Framework 3.5.1 功能,然後再加入桌面體驗功能。 加入這些功能之後需要重新開機。

(2) 如果安裝 32 位元版本的 Excel,您必須使用 32 位元版本的 PowerPivot。

(3) 如果安裝 64 位元版本的 Excel,則必須使用 64 位元版本的 PowerPivot。



下載與安裝 PowerPivot for Microsoft® Excel

--03



--04


--05 若是版本不同,將會遇到以下的錯誤:






--06


--07



--08



--09


--10



執行 PowerPivot for Excel

--11


--12


--13



參考資料:

PowerPivot 概念
http://msdn.microsoft.com/zh-tw/library/ee210629.aspx

如何:安裝 PowerPivot for Excel
http://msdn.microsoft.com/zh-tw/library/ee210599.aspx

下載 PowerPivot for Excel
http://www.microsoft.com/downloads/details.aspx?FamilyId=e081c894-e4ab-42df-8c87-4b99c1f3c49b&displaylang=zh-tw

PowerPivot for Excel
http://msdn.microsoft.com/zh-tw/library/ee210644.aspx

在 Excel 中建立 PowerPivot 活頁簿
http://msdn.microsoft.com/zh-tw/library/ee210641.aspx

PowerPivot | Home
http://www.powerpivot.com/index.aspx

PowerPivot | Demo
http://www.powerpivot.com/demo.aspx