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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.