摘要: Map和Reduce两个处理阶段 每个阶段都以“键值对”作为输入和输出 Map函数提取年份和气温信息,获得如下数据: (1950,0) (1950,22) (1950,-11) (1949,111) (1949,78) map函数的输出经由MapReduce框架处理后,最后发送到reduce函数 这 阅读全文
posted @ 2018-04-26 21:26 chunshen 阅读(184) 评论(0) 推荐(0) 编辑
摘要: Python列表函数&方法 Python包含以下函数: Python包含以下方法: 阅读全文
posted @ 2016-10-31 16:12 chunshen 阅读(11872) 评论(1) 推荐(0) 编辑
摘要: 网上电子报税软件最新调整内容: 1、[2016年5月31日] 1、公告:营业税改征增值税相关申报表已调整:《关于全面推开营业税改征增值税试点后增值税纳税申报有关事项的公告》(国家税务总局公告2016年第13号)、《关于调整增值税纳税申报有关事项的公告》(国家税务总局公告2016年第27号)、《关于营 阅读全文
posted @ 2016-06-04 20:03 chunshen 阅读(131) 评论(0) 推荐(0) 编辑
摘要: FYI 阅读全文
posted @ 2016-05-28 06:55 chunshen 阅读(198) 评论(3) 推荐(0) 编辑
摘要: 因为要安装php-7.0.6-Win32-VC14-x64,需要先安装vcredist2015_x64_14.0.23026.0。 之前安装了Windows Server 2012 R2后,一直无法成功安装vcredist2015_x64_14.0.23026.0。 据说是因为没有打几个补丁。但是一 阅读全文
posted @ 2016-05-19 20:03 chunshen 阅读(1381) 评论(1) 推荐(0) 编辑
摘要: SQL Server数据库允许通过数据库驱动程序连接各类数据库并进行操作。以下是在SQL Server 2012 R2中建立SQLite的链接服务器。 一、下载SQLite数据库的ODBC驱动程序: 下载地址:http://www.ch-werner.de/sqliteodbc/ 安装过程一路nex 阅读全文
posted @ 2016-04-25 10:34 chunshen 阅读(1612) 评论(0) 推荐(0) 编辑
摘要: 把HighChart嵌入到博客中。 // <![CDATA[ $(function () { $('#container').highcharts({ chart: { type: 'column' }, title: { text: 'Chunshen first Highcharts chart 阅读全文
posted @ 2016-04-06 17:52 chunshen 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 集锦 阅读全文
posted @ 2016-04-03 22:21 chunshen 阅读(157) 评论(10) 推荐(0) 编辑
摘要: 在多维表达式 (MDX) 中,下列语句用于管理 MDX 脚本中的上下文、作用域和流控制。主题说明calculate语句计算子多维数据集,还可以确定子多维数据集中所包含的求解次序case语句允许有条件地从多次比较中返回特定值existing关键字强制在当前上下文中计算所指定的集freeze语句将所指定... 阅读全文
posted @ 2016-01-25 18:39 chunshen 阅读(1598) 评论(2) 推荐(0) 编辑
摘要: MDX,参数,维度,通宵,Mark今夜!回忆 http://www.cnblogs.com/Jasper-Wang/ 阅读全文
posted @ 2016-01-24 23:40 chunshen 阅读(147) 评论(0) 推荐(0) 编辑
摘要: SQL Server 2005SQL Native Client ODBC Driver 标准安全连接Driver={SQL Native Client};Server=myServerAddress; Database=myDataBase;Uid=myUsername;Pwd=myPassword;受信的连接Driver={SQL Native Client}; Server=myServerAddress;Database=myDataBase;Trusted_Connection=yes;"Integrated Security=SSPI" 与 "Trus 阅读全文
posted @ 2012-09-06 21:15 chunshen 阅读(1954) 评论(0) 推荐(0) 编辑
摘要: =iif(Fields!Year.Value=2012 and Fields!month.Value=2,29,iif(Fields!Year.Value=2013 and Fields!month.Value=2,28,iif(Fields!month.Value<8 and Fields!month.Value mod 2=1,31,iif(Fields!month.Value<8 and Fields!month.Value mod 2=0,30,iif(Fields!month.Value>7 and Fields!month.Value mod 2=0,31,30) 阅读全文
posted @ 2012-08-23 23:58 chunshen 阅读(257) 评论(0) 推荐(0) 编辑
摘要: =left(right(right(Fields!ts.Value,4),len(right(Fields!ts.Value,4))-Instr(right(Fields!ts.Value,4),"[")),Instr(right(right(Fields!ts.Value,4),len(right(Fields!ts.Value,4))-Instr(right(Fields!ts.Value,4),"[")),"]")-1) 阅读全文
posted @ 2012-08-23 23:28 chunshen 阅读(181) 评论(0) 推荐(0) 编辑
摘要: =iif(Fields!门店.Value="莘庄",nothing,Fields!门店.Value) & "" & iif(Fields!门店2.Value="无",nothing,Fields!门店2.Value) 阅读全文
posted @ 2012-08-23 20:29 chunshen 阅读(218) 评论(0) 推荐(0) 编辑
摘要: --=======================================================[维度表_日期].[年季月日].[年份].&[2012].&[2季度].&[06]--=======================================================SELECT NON EMPTY { [Measures].[T1], [Measures].[T2], [Measures].[T3] } ON COLUMNS, NON EMPTY { ([维度表_时间].[每小时].[每小时].ALLMEMBERS * [维度 阅读全文
posted @ 2012-07-09 10:58 chunshen 阅读(512) 评论(0) 推荐(0) 编辑
摘要: with member [Measures].[Total Sales] as 'Sum({[Product].[Brand].[Brand].members},[Measures].[Ending Inventory Cost])',format_string="#,#.00"member [Measures].[Rate] as [Measures].[Ending Inventory Cost]/[Measures].[Total Sales],format_string='0.00%'set [Brand] as 'AddCa 阅读全文
posted @ 2012-07-09 10:07 chunshen 阅读(347) 评论(0) 推荐(0) 编辑
摘要: WITH MEMBER [D_Acct_II].[PID].&[50].[毛利润] AS [D_Acct_II].[PID].&[501]-[D_Acct_II].[PID].&[502]MEMBER [D_Acct_II].[PID].&[50].[净利润] AS [D_Acct_II].[PID].&[501]-[D_Acct_II].[PID].&[502]-[D_Acct_II].[PID].&[503]-[D_Acct_II].[PID].&[504]-[D_Acct_II].[PID].&[511]-[D_Ac 阅读全文
posted @ 2012-07-09 09:58 chunshen 阅读(621) 评论(0) 推荐(0) 编辑
摘要: =sum(iif(Fields!zzz.Value="xxx",iif(Fields!yyy.Value=0,nothing,Fields!yyy.Value),0)) 阅读全文
posted @ 2012-07-07 10:16 chunshen 阅读(292) 评论(0) 推荐(0) 编辑
摘要: with member [T1] as ANCESTOR([DAccount].[Parent].currentmember,[DAccount].[Parent].[Level 02]).namemember [T2] as ANCESTOR([DAccount].[Parent].currentmember,[DAccount].[Parent].[Level 03]).namemember [T3] as ANCESTOR([DAccount].[Parent].currentmember,[DAccount].[Parent].[Level 04]).namemember [T4] a 阅读全文
posted @ 2012-06-29 02:31 chunshen 阅读(282) 评论(0) 推荐(0) 编辑
摘要: =iif(RowNumber(Nothing) Mod2,"Green","White"). 阅读全文
posted @ 2012-06-25 12:35 chunshen 阅读(160) 评论(0) 推荐(0) 编辑
摘要: WITH MEMBER [Measures].[ParameterCaption] AS [DAccount].[Parent].CURRENTMEMBER.MEMBER_CAPTION MEMBER [Measures].[ParameterValue] AS [DAccount].[Parent].CURRENTMEMBER.UNIQUENAME MEMBER [Measures].[ParameterLevel] AS [DAccount].[Parent].CURRENTMEMBER.LEVEL.ORDINAL SELECT {[Measures].[ParameterCaption. 阅读全文
posted @ 2012-06-25 12:31 chunshen 阅读(232) 评论(0) 推荐(0) 编辑
摘要: WITH MEMBER [DAccount].[Parent].&[5].[营业利润] AS ([DAccount].[Parent].&[501],[Measures].[DAmount])-([DAccount].[Parent].&[502],[Measures].[DAmount])-([DAccount].[Parent].&[503],[Measures].[DAmount]) member [T1] as ANCESTOR([DAccount].[Parent].currentmember,[DAccount].[Parent].[Level 02 阅读全文
posted @ 2012-06-25 11:13 chunshen 阅读(276) 评论(0) 推荐(0) 编辑
摘要: WITH MEMBER [D_Acct_II].[PID].&[50].[毛利润] AS [D_Acct_II].[PID].&[501]-[D_Acct_II].[PID].&[502]MEMBER [D_Acct_II].[PID].&[50].[净利润] AS [D_Acct_II].[PID].&[501]-[D_Acct_II].[PID].&[502]-[D_Acct_II].[PID].&[503]-[D_Acct_II].[PID].&[504]-[D_Acct_II].[PID].&[511]-[D_Ac 阅读全文
posted @ 2012-06-20 21:54 chunshen 阅读(225) 评论(0) 推荐(0) 编辑
摘要: WITH MEMBER [Measures].[ParameterCaption] AS [D_Store].[门店].CURRENTMEMBER.MEMBER_CAPTION MEMBER [Measures].[ParameterValue] AS [D_Store].[门店].CURRENTMEMBER.UNIQUENAME MEMBER [Measures].[ParameterLevel] AS [D_Store].[门店].CURRENTMEMBER.LEVEL.ORDINAL SELECT {[Measures].[ParameterCaption], [Measures].[P 阅读全文
posted @ 2012-06-20 21:34 chunshen 阅读(153) 评论(0) 推荐(0) 编辑
摘要: WITH MEMBER [Measures].[ParameterCaption] AS [Time].[YM].CURRENTMEMBER.MEMBER_CAPTION MEMBER [Measures].[ParameterValue] AS [Time].[YM].CURRENTMEMBER.UNIQUENAME MEMBER [Measures].[ParameterLevel] AS [Time].[YM].CURRENTMEMBER.LEVEL.ORDINAL MEMBER [Measures].[T] AS strtovalue([Time].[YM].CURRENTMEMBER 阅读全文
posted @ 2012-06-20 21:31 chunshen 阅读(148) 评论(0) 推荐(0) 编辑