Forum Discussion
How to export Power BI report to Text file using any automation process
Hi My Dear friends,
Please help me out, How can i Power BI report export into text file using any automation process.
Text file result should be Ex :- 09212022 # 2345 # 13343534667# India
09222022 # 12 # 335454 # USA
09222022 # 12 # 335454 # UK
between the row after row " #" symbol should be display.
Many Thanks for advance.😍.
Hi Anonymous ,
Maybe you can try python visual and with this code:
and hide the python visuals. It will run and output every time you quote or do some slicing, so please consider adding a bookmark or button to refresh this python visual separately
Result:
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous ,
Please use pip install matplotlib and pandas packages. They must be installed
Best Regards
Community Support Team _ chenwu zhu
7 Replies
- v-chenwuz-msft
Community Support
Hi Anonymous ,
The power bi exports data file only support csv file. You can open the csv file with Notepad and then replace the , with #.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- AnonymousNot applicable
I have done this already, but need automation process right, if one click, stockholders want to see the txt file
- v-chenwuz-msft
Community Support
Hi Anonymous ,
Maybe you can try python visual and with this code:
and hide the python visuals. It will run and output every time you quote or do some slicing, so please consider adding a bookmark or button to refresh this python visual separately
Result:
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- AnonymousNot applicable
Thanks so much Chen for given solution..