cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.