M Function main categories Date DateTime DateTimeZone Day Duration List Number Table Text Time Date functions Date.AddDays Date.IsInCurrentQuarter Date.IsInPreviousNYears Date.AddMonths Date.IsInCurrentWeek Date.IsInPreviousQuarter Date.AddQuarters Date.IsInCurrentYear Date.IsInPreviousWeek Date.AddWeeks Date.IsInNextDay Date.IsInPreviousYear Date.AddYears Date.IsInNextMonth Date.IsInYearToDate Date.Day Date.IsInNextNDays Date.IsLeapYear Date.DayOfWeek Date.IsInNextNMonths Date.Month Date.DayOfWeekName Date.IsInNextNQuarters Date.MonthName Date.DayOfYear Date.IsInNextNWeeks Date.QuarterOfYear Date.DaysInMonth Date.IsInNextNYears Date.StartOfDay Date.EndOfDay Date.IsInNextQuarter Date.StartOfMonth Date.EndOfMonth Date.IsInNextWeek Date.StartOfQuarter Date.EndOfQuarter Date.IsInNextYear Date.StartOfWeek Date.EndOfWeek Date.IsInPreviousDay Date.StartOfYear Date.EndOfYear Date.IsInPreviousMonth Date.ToRecord Date.From Date.IsInPreviousNDays Date.ToText Date.FromText Date.IsInPreviousNMonths Date.WeekOfMonth Date.IsInCurrentDay Date.IsInPreviousNQuarters Date.WeekOfYear Date.IsInCurrentMonth Date.IsInPreviousNWeeks Date.Year DateTime functions DateTime.AddZone DateTime.IsInNextNSeconds DateTime.Date DateTime.IsInNextSecond DateTime.FixedLocalNow DateTime.IsInPreviousHour DateTime.From DateTime.IsInPreviousMinute DateTime.FromFileTime DateTime.IsInPreviousNHours DateTime.FromText DateTime.IsInPreviousNMinutes DateTime.IsInCurrentHour DateTime.IsInPreviousNSeconds DateTime.IsInCurrentMinute DateTime.IsInPreviousSecond DateTime.IsInCurrentSecond DateTime.LocalNow DateTime.IsInNextHour DateTime.Time DateTime.IsInNextMinute DateTime.ToRecord DateTime.IsInNextNHours DateTime.ToText DateTime.IsInNextNMinutes DateTimeZone functions DateTimeZone.FixedLocalNow DateTimeZone.ToRecord DateTimeZone.FixedUtcNow DateTimeZone.ToText DateTimeZone.From DateTimeZone.ToUtc DateTimeZone.FromFileTime DateTimeZone.UtcNow DateTimeZone.FromText DateTimeZone.ZoneHours DateTimeZone.LocalNow DateTimeZone.ZoneMinutes DateTimeZone.RemoveZone DateTimeZone.SwitchZone DateTimeZone.ToLocal Day values Day.Friday Day.Monday Day.Saturday Day.Sunday Day.Thursday Day.Tuesday Day.Wednesday Duration functions Duration.Days Duration.TotalMinutes Duration.From Duration.TotalSeconds Duration.FromText Duration.ToText Duration.Hours Duration.Minutes Duration.Seconds Duration.ToRecord Duration.TotalDays Duration.TotalHours Json and Xml functions Json.Document Json.FromValue Xml.Tables List functions List.Accumulate List.FindText List.Modes List.ReplaceRange List.AllTrue List.First List.NonNullCount List.ReplaceValue List.Alternate List.FirstN List.Numbers List.Reverse List.AnyTrue List.Generate List.PositionOf List.Select List.Average List.InsertRange List.PositionOfAny List.Single List.Buffer List.Intersect List.Positions List.SingleOrDefault List.Combine List.IsDistinct List.Product List.Skip List.Contains List.IsEmpty List.Random List.Sort List.ContainsAll List.Last List.Range List.Split List.ContainsAny List.LastN List.RemoveFirstN List.Count List.MatchesAll List.RemoveItems List.StandardDeviati on List.Covariance List.MatchesAny List.RemoveLastN List.Sum List.Dates List.Max List.DateTimes List.MaxN List.Times List.RemoveMatchin gItems List.Transform List.DateTimeZones List.Median List.RemoveNulls List.TransformMany List.Difference List.Min List.RemoveRange List.Union List.Distinct List.MinN List.Repeat List.Zip List.Durations List.Mode List.ReplaceMatchin gItems Number functions Number.Abs Number.Exp Number.PositiveInfinity Number.Acos Number.Factorial Number.Power Number.Asin Number.From Number.Random Number.Atan Number.FromText Number.RandomBetween Number.Atan2 Number.IntegerDivide Number.Round Number.BitwiseAnd Number.IsEven Number.RoundAwayFromZero Number.BitwiseNot Number.IsNaN Number.RoundDown Number.BitwiseOr Number.IsOdd Number.RoundTowardZero Number.BitwiseShiftLeft Number.Ln Number.RoundUp Number.BitwiseShiftRight Number.Log Number.Sign Number.BitwiseXor Number.Log10 Number.Sin Number.Combinations Number.Mod Number.Sinh Number.Cos Number.NaN Number.Sqrt Number.Cosh Number.NegativeInfinity Number.Tan Number.E Number.Permutations Number.Tanh Number.Epsilon Number.PI Number.ToText Table functions Table.AddColumn Table.ExpandTableColumn Table.Keys Table.AddIndexColumn Table.FillDown Table.Last Table.AddJoinColumn Table.FillUp Table.LastN Table.AddKey Table.FilterWithDataTable Table.MatchesAllRows Table.AggregateTableColu Table.FindText Table.MatchesAnyRows mn Table.First Table.Max Table.AlternateRows Table.FirstN Table.MaxN Table.Buffer Table.FirstValue Table.Min Table.Column Table.FromColumns Table.MinN Table.ColumnCount Table.FromList Table.NestedJoin Table.ColumnNames Table.FromPartitions Table.Partition Table.ColumnsOfType Table.FromRecords Table.PartitionValues Table.Combine Table.FromRows Table.Pivot Table.CombineColumns Table.FromValue Table.PositionOf Table.Contains Table.FuzzyJoin Table.PositionOfAny Table.ContainsAll Table.FuzzyNestedJoin Table.PrefixColumns Table.ContainsAny Table.Group Table.Profile Table.DemoteHeaders Table.HasColumns Table.PromoteHeaders Table.Distinct Table.InsertRows Table.Range Table.DuplicateColumn Table.IsDistinct Table.RemoveColumns Table.ExpandListColumn Table.IsEmpty Table.RemoveFirstN Table.ExpandRecordColu Table.Join Table.RemoveLastN mn Table.RemoveMatchingRo Table.Skip ws Table.Sort Table.RemoveRows Table.Split Table.RemoveRowsWithEr Table.SplitColumn rors Table.ToColumns Table.RenameColumns Table.ToList Table.ReorderColumns Table.ToRecords Table.Repeat Table.ToRows Table.ReplaceErrorValues Table.TransformColumnN Table.ReplaceKeys ames Table.ReplaceMatchingRo Table.TransformColumns ws Table.TransformColumnTy Table.ReplaceRelationship pes Identity Table.TransformRows Table.ReplaceRows Table.Transpose Table.ReplaceValue Table.Unpivot Table.ReverseRows Table.UnpivotOtherColum Table.RowCount ns Table.Schema Table.View Table.SelectColumns Table.ViewFunction Table.SelectRows Table.SelectRowsWithErro rs Table.SingleRow Text functions Text.AfterDelimiter Text.Length Text.ReplaceRange Text.At Text.Lower Text.Reverse Text.BeforeDelimiter Text.Middle Text.Select Text.BetweenDelimiters Text.NewGuid Text.Split Text.Clean Text.PadEnd Text.SplitAny Text.Combine Text.PadStart Text.Start Text.Contains Text.PositionOf Text.StartsWith Text.End Text.PositionOfAny Text.ToBinary Text.EndsWith Text.Proper Text.ToList Text.Format Text.Range Text.Trim Text.From Text.Remove Text.TrimEnd Text.FromBinary Text.RemoveRange Text.TrimStart Text.InferNumberType Text.Repeat Text.Upper Text.Insert Text.Replace Time functions Time.EndOfHour Time.From Time.FromText Time.Hour Time.Minute Time.Second Time.StartOfHour Time.ToRecord Time.ToText