2009-03-28

Word/Excel: Tips on moving objects

In word <=2003, to fine tune the object movement, hold the "Alt" key when moving objects.
However, It's seems that this feature was removed from word 2007. (Please correct me if it is wrong) Every tune treat as fine tune...

For excel, the "Alt" movement could be used to keep an object close to grid lines

When moving with holding the "shift" key , the objects will move in straight line (horizontally/vertically)

The "ctrl" key revering to copying the objects by dragging

Excel 2007: Multiple Object Selections


Where does the Object Select Pointer in Drawing gone?

It's here: [Home] > Find & Select > Select Objects


Since it allows multiple objects selection, it's my best friend in drawing with Word.
When the first time on using the Word, I just lost this old friend for a few hours...

2009-03-27

SSAS:EXCEL 2007: Data Filter in Pivot Table

If the filters in Excel 2007 SSAS Pivot Tables could not be found,
try installing the SP2 of the SQL05.
Yes, it's problem of SQL, not Excel.

However, the feature is solely for Excel 2007 (pivot table 12). if you save the format as <2003 (.doc format), the filter feature will be loss.

It's one of BI feature as "mentioned" technet library:
What's New in SQL Server 2005 SP2
http://technet.microsoft.com/en-us/library/bb283536(SQL.90).aspx
The 2007 version of Microsoft Office requires the installation of SQL Server 2005 Analysis Services SP2 to support all its business intelligence features

The BI features in Excel 2007 is highlighted under the Excel Team Blogs
http://blogs.msdn.com/excel/archive/2007/05/06/excel-2007-and-sql-server-analysis-services-2005-service-pack-2.aspx
following filter types are enabled in PivotTables connected to Analysis Services:

  • Label Filters, including the ability to filter based on member properties
  • Date Filters
  • Value Filters, including enhanced Top 10 Filters, evaluated in the context of the PivotTable (ex.: Top 5 customer list per year)
  • Expanding/collapsing items of attribute hierarchies placed next to each other on rows or columns

Just don't know why it's not mentioned in the specification of Excel or SQL...
I found this feature accidentally when trying the Performance Point Service(PPS). The PPS has a minimum requirement of SQL service pack 2.

2009-03-21

SSRS: SQL Function for handling multiple value parameter

CREATE FUNCTION dbo.fn_MVParam(@RepParam nvarchar(4000), @Delim char(1)= ',')RETURNS @Values TABLE (Param nvarchar(4000)) AS
BEGIN
DECLARE @chrind INT
DECLARE @Piece nvarchar(4000)
SELECT @chrind = 1
WHILE @chrind > 0
BEGIN
SELECT @chrind = CHARINDEX(@Delim,@RepParam)
IF @chrind > 0
SELECT @Piece = LEFT(@RepParam,@chrind - 1)
ELSE
SELECT @Piece = @RepParam
INSERT @Values(Param) VALUES(@Piece)
SELECT @RepParam = RIGHT(@RepParam,LEN(@RepParam) - @chrind)
IF LEN(@RepParam) = 0 BREAK
END
RETURN
END

For reference

From "Pro Sql Server 2008 Reporting Services"- APress

Excel XP/2003/2007 中文支援&簡繁轉換

EXCEL 2003簡繁轉換
Office 2003 簡繁轉換增益集 (也適用於 Access2003和 Powerpoint 2003)
安裝後會多出這個東西:

(中文Excel)

(英文Excel)


選好CELL,然後選"簡->繁" 或 "繁->簡"就ok
---------------------------------------------
EXCEL XP簡繁轉換
Office XP 簡繁轉換增益集
也是選好CELL,然後選"簡->繁" 或 "繁->簡"就ok

---------------------------------------------
EXCEL 2007簡繁轉換
選好CELL,然後在"校閱"(REVIEW)Tab下按上,"簡->繁" 或 "繁->簡"就完成

英文機方面,如果出現
"Word is unable to proceed. More than one file necessary to do TC/SC translation is missing",
就需要另行安裝中文Language Pack, 詳見此編

--------------------------------------------

Microsoft Office XP/2003/2007 Language Setting

如Excel內容出現亂碼情況(如繁/簡 問題), 可嘗試到這裡加設繁/簡支援,或設定預設語言:

程式集/所有程式->Microsoft Office->Microsoft Office 2003/2007 語言設定



最下方為預設語言