I feel I'm missing the point with something! You can write DAX Queries in the excellent DAX Studio add-in:
You can also write DAX against a tabular model in Management Studio 2017 and above:
But that seems to be it! In particular, there doesn't seem any way to write DAX queries using EVALUATE in Power BI Desktop or PowerPivot. Am I missing something?

