Quick Tips: Comment/Uncomment Multiple Lines in DAX Scripts

 

Comment Uncomment Multiple DAX Lines in Power BI

There are lots of cases you may want to comment/uncomment multiple lines in DAX scripts. You can save lots of development time if you know the shortcuts.

Here you go:

  • Select multiple lines of code you want to comment
  • Press Crtl+KC to comment those lines
  • Press Ctrl+KU to uncomment commented lines

Mini-tip: The shortcuts work in SQL Server Management Studio (SSMS) writing any queries including DAX queries.

Enjoy!


Discover more from BI Insight

Subscribe to get the latest posts sent to your email.