Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

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's avatar
    v-chenwuz-msft
    Icon for Community Support rankCommunity 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.

    • Anonymous's avatar
      Anonymous
      Not applicable

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

      • v-chenwuz-msft's avatar
        v-chenwuz-msft
        Icon for Community Support rankCommunity 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.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Thanks so much Chen for given solution..