Forum Discussion

mibu's avatar
mibu
Icon for Microsoft Employee rankMicrosoft Employee
4 years ago
Solved

Entering DAX on multiple lines when creating a new table with DAX

Team,   I am trying to create a Date table with DAX as follows: 1 Date =  2 ADDCOLUMNS ( 3         CALENDARAUTO(), 4         "Year", YEAR ( [Date] ) 5 )   But I seem to be able to only enter...
  • TheoC's avatar
    TheoC
    4 years ago

    mibu make sure to hold down the SHIFT button if you want to go to another line 🙂


    When typing measures / calculated columns / tables, you need to hold down the SHIFT and then hit ENTER to go to a new line. 

     

    Hope that helps 🙂

    Theo