About 53 results
Open links in new tab
  1. M Language Conditionals - PowerQuery M | Microsoft Learn

    Jun 13, 2025 · Describes using conditionals in the Power Query M formula language

  2. Power Query M formula language reference - PowerQuery M

    A core capability of Power Query is to filter and combine, that is, to mash-up data from one or more of a rich collection of supported data sources. Any such data mashup is expressed using the Power …

  3. Add a conditional column - Power Query | Microsoft Learn

    Feb 29, 2024 · With Power Query, you can add a conditional column to your query by defining IF-THEN-ELSE conditions in your query. When the conditions are fulfilled, the conditional column …

  4. Error handling - Power Query | Microsoft Learn

    Jul 16, 2025 · Similar to how Excel and the DAX language have an IFERROR function, Power Query has its own syntax to test and catch errors. As mentioned in the article on dealing with errors in …

  5. In Excel Power query I want to return a rate if the job code equals ...

    Nov 12, 2025 · Yes, you can add a custom column in Excel Power Query using an embedded if-then statement to return a rate based on the job code. You can do this by following these steps:

  6. Quick tour of the Power Query M formula language

    Jan 27, 2025 · Let's assume you created the following transform in the Power Query editor. This query converts product names to the appropriate case, in this instance, to all initial capitalization.

  7. Power Query M formula language introduction - PowerQuery M

    Aug 25, 2025 · If expressions support conditional evaluation. Sections provide a simple modularity mechanism. (Sections aren't yet leveraged by Power Query.) Finally, a consolidated grammar …

  8. IF function (DAX) - DAX | Microsoft Learn - learn.microsoft.com

    Apr 25, 2024 · For example, the formula IF(<condition>, TRUE(), 0) returns TRUE or 0, but the formula IF(<condition>, 1.0, 0) returns only decimal values even though value_if_false is of the whole number …

  9. Power Query documentation - Power Query | Microsoft Learn

    Power Query is the data connectivity and data preparation technology that enables end users to seamlessly import and reshape data from within a wide range of Microsoft products, including Excel, …

  10. Text.Contains - PowerQuery M | Microsoft Learn

    Sep 16, 2025 · Example 3 Find if the text "Hello World" contains "hello", using a case-insensitive comparer. Usage