Monthly Archives: January 2009

AdomdClient.CellSet 1:1 with MDX

MDX:SELECT  {[Measures].[Internet Sales Amount], Measures.y} ON 0,   [Date].[Calendar].[Month] .Members ON 1FROM [Adventure Works]WHERE  [Product].[Product Categories].[Product].members(0) The corresponding AdoMD.Client code:cst is Microsoft.AnalysisServices.AdomdClient.CellSet cst.Axes[0].Set.Tuples[0].Members[0].Caption : "Internet Sales Amount"cst.Axes[0].Set.Tuples[0].Members[1].Caption : "y" cst.Axes[1].Set.Tuples[0].Members[0].Caption : nameColumn of members at level month cst[0,0].FormattedValue  is the cell … Continue reading

Posted in Computers and Internet | Leave a comment

I really hate running

I really hate running, really, really hate it.  If I could live independently without running, I would quit running.  No matter how regularly I run, I still feel exhausted during my every-other-daily run.  But I know I have to run … Continue reading

Posted in Health and wellness | 1 Comment

Debunking the myth of MDX (Part 2) Work in progress

//Percent contribution //1. Postal code portion/State total WITH MEMBER [Measures].[stateSalesPortion] as ( [Measures].[Reseller Order Quantity], [Geography].[Geography].CurrentMember ) / ( [Measures].[Reseller Order Quantity], Ancestor ( [Geography].[Geography].CurrentMember, [Geography].[Geography].[State-Province] ) ), format_string = ‘#.##%’ SELECT { [Measures].[Reseller Order Quantity], [Measures].[Measures].[stateSalesPortion] } ON 0, … Continue reading

Posted in Computers and Internet | 2 Comments

Are you drinking the right tea? An intersting post

An interesting blog about tea-drinking from Are you drinking the right tea? 1. People who use their "brain" to work or students who study hard day and night.— should drink more chrysanthemum Tea. 2. People who need a lot of … Continue reading

Posted in Health and wellness | Leave a comment

What’s the equivalent of T-SQL WHERE in MDX

T-SQL: type 1: select * from tblA where column1 > 1000  –more like a measuretype 2: select * from tblA where column2 = ‘United States’ –more like a member of a dimension MDX: //this is for type 1 t-sql look-alikeSELECT … Continue reading

Posted in Computers and Internet | Leave a comment

菊花茶 chrysanthemum tea

Orginal article found here, translated by me. 很多人喜欢喝菊花茶,特别是常用电脑的上班族,这有什么特别的原因吗?Why many people, especially people who spend most of their time in front of a computer love to drink Chrysanthemum tea?   睡前喝太多的水,第二天早晨起床眼睛就会浮肿得像熊猫一样,民间有一方法:用绵花沾上菊花茶的茶汁,涂在眼睛四周,很快就能消除这种浮肿现象。 People who drink too much water before going to bed will … Continue reading

Posted in Food and drink | Leave a comment

Why Obama is winning the hearts and minds of Chinese people

I didn’t quite like Obama at first.  The more I know him the more I like him.  The all-inclusiveness in his background, black, black from an African country, white, white American, Asian.  He is the embodiment of the world.   Most … Continue reading

Posted in News and politics | Leave a comment

Debunking the myth of MDX hierarchy, level and member once and for all! (Part One)

I always believed that it’s not that you can’t learn but that the teacher can’t teach.  Bad teachers galore and it kills generations of intelligent minds and learning drives.  Looking back on my informative years, there were only two teachers … Continue reading

Posted in Computers and Internet | 5 Comments

MDX is exceedingly hard to grasp

I predict that understanding MDX will pose grave difficulty for non-English speakers because language is inadequate to describe MDX concepts.  Many a time, you just read what it says about a concept over and over again, still you can’t figure … Continue reading

Posted in Uncategorized | 1 Comment

Looks like iSoftStone is doing something right, but

iSoftStone 软通动力 is rated as the best outsourcing company to work for in China from seecoco.com.  I visited their website and found what I love to see. They have two career routes for employees, one up to expert, another up … Continue reading

Posted in Computers and Internet | Leave a comment