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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
skasper
Responsive Resident
Responsive Resident

DAX syntax highlighting in Notepad++

Hi,

 

ever since my DAX statements got more advanced, I found the code window in Power BI Desktop too small and wanted to use Notepad++ for it. Alas, there is no pre-defined syntax highlighting for DAX. So I went ahead and created my own. I share instruction on how to do that and also the already prepared XML file for easy import into Notepad++ over here: www.sascha-kasper.com/dax-syntax-highlighting-for-notepad/

 

You can have DAX syntax highlighing inside Notepad++ within 1 minute after reading this.

 

I hope it helps you as it helps me.

Best - Sascha
Please always mark accepted solutions. It helps others with similar questions or problems. Thank you.
3 ACCEPTED SOLUTIONS

Thank you. I am glad you find it useful.

 

I am currently working on auto-complete, but this seems a bit buggy.

Best - Sascha
Please always mark accepted solutions. It helps others with similar questions or problems. Thank you.

View solution in original post

skasper
Responsive Resident
Responsive Resident

Hi again,

 

I updated the DAX.xml file for Notepad++. It now also offers AutoComplete.

Just download it again and replace the old one.

Make sure you use the latest version (2.05) by checking the comment inside the file.

Let me know, if it works.

Best - Sascha
Please always mark accepted solutions. It helps others with similar questions or problems. Thank you.

View solution in original post

skasper
Responsive Resident
Responsive Resident

Updated the file (now version 3.01) to include

  • Parameters
  • Return Value
  • Description

See the screenshots in the updated post for details.

I did only preliminary testing, so if you find any issues, please let me know.

Best - Sascha
Please always mark accepted solutions. It helps others with similar questions or problems. Thank you.

View solution in original post

19 REPLIES 19

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.