Comparer.Equals
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.
Returns a logical value based on the equality check over the two given values.
Comparer.Equals(comparer as function, x as any, y as any) as logical
| Argument | Description |
|---|---|
| comparer | The comparer function is used to perform the operation. |
| x | The left value to compare. |
| y | The right value to compare. |
let
comparer1 = Comparer.FromCulture("en-us", false),
comparer2 = Comparer.FromCulture("en-us", true)
in
[
Test1 = Comparer.Equals(comparer1,"a","A"), equals false
Test2 = Comparer.Equals(comparer2,"a","A") equals true
]
Show: