It is very easy to add comments to Power BI DAX codes. Here’s a quick tutorial on how to do it:
- Inside Power BI's data model, click the formula bar and type two dashes (--) into the line where you wish to add a comment.
- After that, type your comment.
- Click the 'Commit' button afterwards to apply the changes.
- After completing these steps, your comments will be added to the DAX code in your Power BI report.