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

Comment, Uncomment Multiple DAX Lines in Power BI Desktop

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


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.