cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
areddye
Helper I
Helper I

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 @areddye ,

 

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 @areddye ,

 

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
areddye
Helper I
Helper I

Thanks so much Chen for given solution..

v-chenwuz-msft
Community Support
Community Support

Hi @areddye ,

 

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.

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

Hi @areddye ,

 

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.

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

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 @areddye ,

 

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

 

Best Regards

Community Support Team _ chenwu zhu

Helpful resources

Announcements
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power BI Dev Camp Session 27

Ted's Dev Camp

This session walks through creating a new Azure AD B2C tenant and configuring it with user flows and custom policies.