Hello,
I'm having an issue with using a DAX Query in one of my flows. Here is the process :
I need to run a DAX Query on a Power BI dataset. So I create it in DAX Studio, format it to have indentation, line breaks, etc... and then I want to just have to copy paste it in the Query text part of the "Run a query against a dataset" action.
I create the query :

But when I copy/paste it in the query text section, it goes from this :

and then I save, which turns the query into this :

As you see, the line breaks are no longer here, and some key words are now concatenated (ex: DEFINEVAR), which breaks the query and fails the run.
Is there any way to avoid this behaviour and keep indentation as I have it originally ? I have tried putting the query in a variable but same thing happens.
Thanks a lot for your help.
Best regards