Forum Discussion

sivasrao's avatar
sivasrao
Icon for Helper III rankHelper III
3 years ago
Solved

Rename the column headers in new table

Hi, As all of you know the creation of a new table by using the DAX function.  It's like  Table = {("first name", "second name")} we will get a new table with column headers as "value1" and "val...
  • FreemanZ's avatar
    3 years ago

    hi sivasrao 

     

    try to create a table with this:

    Table =
    DATATABLE(
        "FirstName", STRING,
        "SecondName", STRING,
        {
            {"Michael", "Johnson"},
            {"Michael", "Jordan"},        
            {"Michael", "Phelps"}
        }
    )
     
    I tried and it worked like this: