Hi, I'm developing a job in LaTex and I need to somehow bring the code of measures calculated in Power BI to LaTex and maintain the format (colors, etc). The method that I have always used to add code blocks is lstlisting() but this package does not include the DAX language nor does it include the M language (used in excel and very similar to DAX).
If someone knows how to import these languages to create code blocks (either with the DAX language or with the M language), it would help me a lot. In case it helps, I'm using the OverLeaf editor to do it.
Thanks!