End-to-End DAX Tutorial | Power Bi | CONCATENATE & COMBINE VALUES FUNCTION | KSR Datavizon

Поделиться
HTML-код
  • Опубликовано: 16 окт 2024

Комментарии • 9

  • @raghub3357
    @raghub3357 Год назад +3

    concatenate also you can use space madam," ",

  • @Goodheart143-f6q
    @Goodheart143-f6q 6 месяцев назад

    super

  • @NaveenKumar-vu7uj
    @NaveenKumar-vu7uj Год назад

    Category&"-"&Subcategerory.... Ela kuda cheyochu example ki ela rasanu table name kuda evvali entha chinna daniki chala complex ga chepthunnaru meru

  • @NaveenKumar-fq4sb
    @NaveenKumar-fq4sb Год назад

    where is ORDERS source data..pls uploade in description

  • @anandbabu1877
    @anandbabu1877 Год назад

    Hi, how ro download the data table

  • @Nashu-babe
    @Nashu-babe 3 месяца назад

    Please tell about the use of concatenate x also

    • @KSRDatavizon
      @KSRDatavizon  Месяц назад

      sure will make video shortly, meanwhile here the details .
      The CONCATENATEX function in DAX is used to concatenate (combine) multiple text values into a single string within a table context. It's particularly useful when you need to join values from different columns or apply conditions to the concatenation process.
      Here's a breakdown of how it works:
      Table Argument: The first argument is a table or expression that returns a table. This table contains the rows that you want to iterate over.
      Expression Argument: The second argument is an expression that defines the values to be concatenated for each row in the table. This expression can reference columns or perform calculations.
      Delimiter (Optional): The third argument (optional) specifies a delimiter to separate the concatenated values. If not provided, a space is used as the delimiter.
      Order By (Optional): The fourth argument (optional) specifies how the rows should be sorted before concatenation.
      Order (Optional): The fifth argument (optional) specifies whether the sorting should be ascending or descending.
      Key Points:
      Iterates over rows: CONCATENATEX applies the expression to each row in the table and concatenates the results.
      Returns a single text value: The final result is a single text string that combines the values from all the rows.
      Flexible expression: The expression can be customized to include conditions, calculations, or references to other columns.
      Optional arguments: The delimiter, order by, and order arguments provide flexibility in controlling the concatenation process.
      Example:
      Code snippet
      CONCATENATEX(Employees, Employees[FirstName] & " " & Employees[LastName])
      Use code with caution.
      This formula concatenates the first and last names of all employees in the "Employees" table, separated by a space.
      Common Use Cases:
      Creating formatted strings for display or reporting
      Combining multiple column values into a single identifier
      Customizing output based on conditions or calculations
      By understanding the CONCATENATEX function and its capabilities, you can effectively manipulate and combine text data within your Power BI models.