当前位置: 首页 > news >正文

网站蜘蛛来访纪录/seo培训赚钱

网站蜘蛛来访纪录,seo培训赚钱,广州推动优化防控措施落地,人民日报客户端下载量分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!Power Query的本质——M语言。Power Query 在…

分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow

也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!

Power Query的本质——M语言。

Power Query 在Excel2010和2013中是以插件形式存在的,Excel2016中已经内置这一功能了,其可见微软对其的重视。
值得欣慰的是,PQ不仅为我们快速导入不同数据源数据提供便利,也为我们提供了一系列新的函数,PQ中的公式简称为M公式,与PowerPivot中的DAX表达式是两兄弟。

什么是M语言:用一种既定的函数公式来记录在power query中的操作。这些函数公式的集合,统称为M语言。

怎样学M语言的公式?

(https://msdn.microsoft.com/library/Mt253322?ui=en-US&rs=en-US&ad=US)

使用M语言的注意事项:

函数区分大小写
数据类型很严格
没有单元格引用的概念
必选与可选参数的区分

下面则是具体的公式:

Power Query (informally known as "M") formula categories

This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.

About

The following tables describe the Power Query formula categories that can be used to manually create or modify queries. These formula functions can also be used in the Power BI Designer, in the Query view.

Number

Constants

FunctionDescription
Number.NaNRepresents 0/0.
Number.NegativeInfinityRepresents -1/0.
Number.PositiveInfinityRepresents 1/0.
Number.EpsilonReturns the smallest possible number.
Number.EReturns 2.7182818284590451, the value of e up to 16 decimal digits.
Number.PIReturns 3.1415926535897931, the value for Pi up to 16 decimal digits.

Information

FunctionDescription
Number.IsNaNReturns true if a value is Number.NaN.
Number.IsEvenReturns true if a value is an even number.
Number.IsOddReturns true if a value is an odd number.

Conversion and formatting

FunctionDescription
Number.FromTextReturns a number value from a text value.
Number.ToTextReturns a text value from a number value.
Number.FromReturns a number value from a value.
Byte.FromReturns a 8-bit integer number value from the given value.
Int8.FromReturns a signed 8-bit integer number value from the given value.
Int16.FromReturns a 16-bit integer number value from the given value.
Int32.FromReturns a 32-bit integer number value from the given value.
Int64.FromReturns a 64-bit integer number value from the given value.
Single.FromReturns a Single number value from the given value.
Double.FromReturns a Double number value from the given value.
Decimal.FromReturns a decimal number value from the given value.
Currency.FromReturns a currency value from the given value.
Percentage.FromReturns a percentage value from the given value.

Rounding

FunctionDescription
Number.RoundDownReturns the largest integer less than or equal to a number value.
Number.RoundUpReturns the larger integer greater than or equal to a number value.
Number.RoundTowardZeroReturns Number.RoundDown(x) when x >= 0 and Number.RoundUp(x) when x < 0.
Number.RoundAwayFromZeroReturns Number.RoundUp(value) when value >= 0 and Number.RoundDown(value) when value < 0.
Number.RoundReturns a nullable number (n) if value is an integer.

Operations

FunctionDescription
Number.AbsReturns the absolute value of a number.
Number.SignReturns 1 for positive numbers, -1 for negative numbers or 0 for zero.
Number.IntegerDivideDivides two numbers and returns the whole part of the resulting number.
Number.ModDivides two numbers and returns the remainder of the resulting number.
Number.PowerReturns a number raised by a power.
Number.SqrtReturns the square root of a number.
Number.ExpReturns a number representing e raised to a power.
Number.LnReturns the natural logarithm of a number.
Number.LogReturns the logarithm of a number to the base.
Number.Log10Returns the base-10 logarithm of a number.
Number.FactorialReturns the factorial of a number.
Number.CombinationsReturns the number of combinations of a given number of items for the optional combination size.
Number.PermutationsReturns the number of total permutatons of a given number of items for the optional permutation size.

Random

FunctionDescription
Number.RandomReturns a random fractional number between 0 and 1.
Number.RandomBetweenReturns a random number between the two given number values.

Trigonometry

FunctionDescription
Number.AcosReturns the arccosine of a number.
Number.AsinReturns the arcsine of a number.
Number.AtanReturns the arctangent of a number.
Number.Atan2Returns the arctangent of the division of two numbers.
Number.CosReturns the cosine of a number.
Number.CoshReturns the hyperbolic cosine of a number.
Number.SinReturns the sine of a number.
Number.SinhReturns the hyperbolic sine of a number.
Number.TanReturns the tangent of a number.
Number.TanhReturns the hyperbolic tangent of a number.

Bytes

FunctionDescription
Number.BitwiseAndReturns the result of a bitwise AND operation on the provided operands.
Number.BitwiseNotReturns the result of a bitwise NOT operation on the provided operands.
Number.BitwiseOrReturns the result of a bitwise OR operation on the provided operands.
Number.BitwiseShiftLeftReturns the result of a bitwise shift left operation on the operands.
Number.BitwiseShiftRightReturns the result of a bitwise shift right operation on the operands.
Number.BitwiseXorReturns the result of a bitwise XOR operation on the provided operands.

Information

FunctionDescription
Text.LengthReturns the number of characters in a text value.

Text Comparisons

FunctionDescription
Character.FromNumberReturns a number to its character value.
Character.ToNumberReturns a character to its number value.
Text.FromReturns the text representation of a number, date, time, datetime, datetimezone, logical, duration or binary value. If a value is null, Text.From returns null. The optional culture parameter is used to format the text value according to the given culture.
Text.FromBinaryDecodes data from a binary value in to a text value using an encoding.
Text.NewGuidReturns a Guid value as a text value.
Text.ToBinaryEncodes a text value into binary value using an encoding.
Text.ToListReturns a list of characters from a text value.
Value.FromTextDecodes a value from a textual representation, value, and interprets it as a value with an appropriate type. Value.FromText takes a text value and returns a number, a logical value, a null value, a DateTime value, a Duration value, or a text value. The empty text value is interpreted as a null value.

Extraction

FunctionDescription
Text.AtReturns a character starting at a zero-based offset.
Text.RangeReturns a number of characters from a text value starting at a zero-based offset and for count number of characters.
Text.StartReturns the count of characters from the start of a text value.
FunctionDescription
Text.EndReturns the number of characters from the end of a text value.

Modification

FunctionDescription
Text.InsertReturns a text value with newValue inserted into a text value starting at a zero-based offset.
Text.RemoveRemoves all occurrences of a character or list of characters from a text value. The removeChars parameter can be a character value or a list of character values.
Text.RemoveRangeRemoves count characters at a zero-based offset from a text value.
Text.ReplaceReplaces all occurrences of a substring with a new text value.
Text.ReplaceRangeReplaces length characters in a text value starting at a zero-based offset with the new text value.

Membership

FunctionDescription
Text.ContainsReturns true if a text value substring was found within a text value string; otherwise, false.
Text.EndsWithReturns a logical value indicating whether a text value substring was found at the end of a string.
Text.PositionOfReturns the first occurrence of substring in a string and returns its position starting at startOffset.
Text.PositionOfAnyReturns the first occurrence of a text value in list and returns its position starting at startOffset.
Text.StartsWithReturns a logical value indicating whether a text value substring was found at the beginning of a string.

Transformations

FunctionDescription
Text.CleanReturns the original text value with non-printable characters removed.
Text.CombineReturns a text value that is the result of joining all text values with each value separated by a separator.
Text.LowerReturns the lowercase of a text value.
http://www.jmfq.cn/news/4750723.html

相关文章:

  • .cn域名的大网站/网络营销就业前景和薪水
  • 网站宣传册/网站联盟广告
  • 网站开发 职位/seo平台是什么
  • 免费网站建设方案优化/百度信息流怎么投放
  • 长春网站建站/百度问答平台
  • 沙田镇网站建设/线上宣传推广方案
  • 世界上网站做的好的例子/收录查询api
  • 哪个网站做汽车分期/网页设计与制作案例教程
  • 南宁企业自助建站系统/广州新闻最新消息今天
  • 网站建设置顶/网络推广价格
  • 山东临沂网站建设/竞价推广账户托管
  • 襄樊做网站/阿里云域名注册万网
  • 沙坪坝集团网站建设/广告公司广告牌制作
  • 织梦如何临时关闭网站/软文写作公司
  • 丰和园林建设集团网站/信息流广告接单平台
  • web网站开发与会计哪个好/百度流量推广项目
  • 泰州做房产的网站/网站seo优化心得
  • 怎么免费申请网站/武汉seo排名优化公司
  • 全屏wordpress/seo少女
  • 外汇平台+网站开发/广告代理公司
  • 如何简单制作自己的网站/企业策划书
  • 在线手机网站预览/全网品牌推广
  • 做网站的个人心得/电商详情页模板免费下载
  • 专门做网站的公司 南阳/苏州关键词seo排名
  • 如何做网站推广最有效/网站优化方案模板
  • 社交网站开发实例/百度指数是啥
  • 网站设计书的结构/sem培训学校
  • 搜关键词可以搜到的网站怎么做/电商培训内容有哪些
  • 新手网站怎么做站长联盟网上赚钱/成人再就业培训班
  • 肇庆网站制作/网址之家大全