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
code sample
I keep getting error:
Your post has been changed because invalid HTML was found in the message body. The invalid HTML has been removed. Please review the message and submit the message when you are satisfied.
Solved! Go to Solution.
@KapGun Seems like it worked, I use it all the time without issue. Perhaps it is something regarding what you are typing or pasting into the code block? Perhaps try pasting it into Notepad first, then copy and paste from there to the code block.
var test "copy and paste from there to the code block."
Sadly, there is still no support for Power Query or DAX syntax highlighting. But you can use the external formatters to make the code a bit easier to read.
Let's hope we'll get DAX and Power Query support soon.
Do you have any external formatters to recommend?
DAXformatter.com/raw
Powerqueryformatter.com
@KapGun Seems like it worked, I use it all the time without issue. Perhaps it is something regarding what you are typing or pasting into the code block? Perhaps try pasting it into Notepad first, then copy and paste from there to the code block.
Looks like it's working this way. Could have been something with code page or whatever.
I was simple enough to not think about this option, although I use it relulary when pasting stuff elesewhere 😁
Thanks.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 90 | |
| 78 | |
| 66 | |
| 65 |