Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
GoinOff
Frequent Visitor

New Column DAX formatting in the edit window

When adding a new column under the 'Data' icon on the left I am unable to format my DAX code for the new column.  This is where you go into the 'Data' icon, highlight the table on the right you want to add a new column to and right click and select 'Add a new column'.

 

I am trying to format the DAX code so it's easily readable instead of everything on the same line.  The problem is when <ENTER> is pressed it proccesses the DAX code entered when what I really want is to add a new line.  For now, I have been formatting my DAX code in notepad and them pasting it into the new column code.  Is there a better way to format the DAX code for readability??  Since <ENTER> processes the DAX code, how do I add a new line in edit window??

1 ACCEPTED SOLUTION
SpartaBI
Community Champion
Community Champion

2 REPLIES 2
SpartaBI
Community Champion
Community Champion

@GoinOff 

SHIFT + ENTER

I knew it had to be something simple I was missing...Thanks SpartaBI!!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors