Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Does having lots of comments in a DAX measure slow the calculation of that measure down? For example, would having a comment line explaining each each step of the measure, or having lots of unused portions of code in the DAX measure, slow the measure down at all? A little bit? A lot? It depends?
Or does PBI just skip over all of the comments and focus on the actual DAX? Surely just reading all of the measure and deciding which parts to ignore and which parts use would have some sort of time/effort penalty?
Thank-you!
Solved! Go to Solution.
Comments should not affect the performance to any noticeable extent since they don't change the computation at all. Theoretically, it's possible there's a minuscule difference but I don't think you'd ever be able to measure it without some absurdly long DAX code.
Comments should not affect the performance to any noticeable extent since they don't change the computation at all. Theoretically, it's possible there's a minuscule difference but I don't think you'd ever be able to measure it without some absurdly long DAX code.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 38 | |
| 36 | |
| 29 | |
| 28 |
| User | Count |
|---|---|
| 127 | |
| 88 | |
| 78 | |
| 66 | |
| 65 |