If you are using Dax Studio then you have the option as below:
Let us know if it does not work...
Hi @Interkoubess thanks for your mesage.
I fimiliar with the dax studio option but I want more automatic procedure.
for example , everyday txt file (base on the logic of PQ) will be generate to spesific folder