Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

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.😍.

2 ACCEPTED SOLUTIONS

Hi @Anonymous ,

 

Maybe you can try python visual and with this code:

vchenwuzmsft_0-1663926935830.png

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:

vchenwuzmsft_1-1663927095027.gif

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.

View solution in original post

Hi @Anonymous ,

 

Please use pip install matplotlib and pandas packages. They must be installed

 

Best Regards

Community Support Team _ chenwu zhu

View solution in original post

7 REPLIES 7
Anonymous
Not applicable

Thanks so much Chen for given solution..

v-chenwuz-msft
Community Support
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 #.

vchenwuzmsft_1-1663917950043.png

 

vchenwuzmsft_0-1663917900517.png

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.

Anonymous
Not applicable

I have done this already, but need automation process right, if one click, stockholders want to see the txt file 

Hi @Anonymous ,

 

Maybe you can try python visual and with this code:

vchenwuzmsft_0-1663926935830.png

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:

vchenwuzmsft_1-1663927095027.gif

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.

Anonymous
Not applicable

I will check this and let you know the status. Many thanks for replying sir.

Anonymous
Not applicable

HI Chen,

I trying to following your's python code , but it's throwing error, kindly correct me if i am doing anything worng on this.

PFB the screenshot of code and error.

areddye_0-1664206860773.png

 

 

Hi @Anonymous ,

 

Please use pip install matplotlib and pandas packages. They must be installed

 

Best Regards

Community Support Team _ chenwu zhu

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.