Syntax
Value.Compare(value1 as any, value2 as any, optional precision as nullable number) as number
Description
Returns -1, 0, or 1 based on whether the first value is less than, equal to, or greater than the second one.
Reference Data
https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference