Forum Discussion

NootNoot's avatar
NootNoot
Regular Visitor
2 years ago
Solved

Accessibility Issue - How to Change DAX Editor Font Colours?

Hi there,

 

I guess this is a minor issue but it would be nice to know if there's something I'm missing. I'm finding the purples/blues/black hard to differentiate in the DAX Query editor box:

I know I can figure out the different components of the script from context but it would be so helpful if I could alter the components' respective colours and thus be able to visually parse the code faster. Is there a way to change these colours? Or to set the editor box to dark mode/high contrast?
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi NootNoot ,

    Based on my knowledge, power bi desktop does not have feature to customize the colors of the DAX editor.

    Or, you could use the DAX formatter to differentiate the font colors.

    DAX Formatter by SQLBI

    You can try to use external editors, such as DAX studio, visual studio.

    Besides, you can also raise a new idea and add the comments there to make the feature coming sooner.

    Home (microsoft.com)

     

    Best Regards,

    Wisdom Wu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi NootNoot ,

    Based on my knowledge, power bi desktop does not have feature to customize the colors of the DAX editor.

    Or, you could use the DAX formatter to differentiate the font colors.

    DAX Formatter by SQLBI

    You can try to use external editors, such as DAX studio, visual studio.

    Besides, you can also raise a new idea and add the comments there to make the feature coming sooner.

    Home (microsoft.com)

     

    Best Regards,

    Wisdom Wu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • NootNoot's avatar
      NootNoot
      Regular Visitor

      Hi Anonymous ,

      Thank you so much for your response. That formatter you linked is fantastic and does exactly what I'd hoped for! It's a shame that's not possible inherently in PBI - it would certainly improve accessibility. I suppose requesting it as a feature is the way forward but I feel I'm likely to be one of few people with an issue here!

       

      Thank you so much for your help - accepted as solution.

       

      Kind regards,

      NootNoot