Text FormattingIs it possible to add code in DAX language (Power Bi) in LaTex?

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
pqrs99
Posts: 1
Joined: Wed Apr 13, 2022 10:08 am

Is it possible to add code in DAX language (Power Bi) in LaTex?

Post by pqrs99 »

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!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply