Forum Discussion
Double Dash (--) Command
Hi All,
I have tried Googling and searching through this forum, but without a success. What is the meaning of this double dash? Exclude dates from the Actuals[date] table?
Help appreciated!
Hey Anonymous ,
it is as Anonymous mentioned, it is just a comment, without any further meaning, meaning without any relevance for the DAX code.
Here is an article that contains some more hints how shortcuts can be used inside the DAX editor inside Power BI: https://xxlbi.com/blog/dax-formula-bar-keyboard-shortcuts-in-power-bi-desktop/
Regards,
Tom
3 Replies
- AnonymousNot applicable
Hi,
Double Dash means that code is Commented in DAX.
Best Regards,
Vignesh M
If what I suggested worked for you feel free to Drop a "Kudos" and Consider to "Accept as Solution" if I solved your Issue :)- AnonymousNot applicable
Hi Vignesh,
Thanks for fast reply. So basically it has no function other than a note/comment? Same as VBA then.
Zan
- TomMartensSuper User
Hey Anonymous ,
it is as Anonymous mentioned, it is just a comment, without any further meaning, meaning without any relevance for the DAX code.
Here is an article that contains some more hints how shortcuts can be used inside the DAX editor inside Power BI: https://xxlbi.com/blog/dax-formula-bar-keyboard-shortcuts-in-power-bi-desktop/
Regards,
Tom