Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago

AnalysisServicesWorkspace folders not deleted

Hello,

I use PBI desktop downloaded from the website

So I have a folder "C:\Users\myname\AppData\Local\Microsoft\Power BI Desktop\AnalysisServicesWorkspaces" containing many subfolders like "AnalysisServicesWorkspacexxxxx"

I imagine these folders need to be deleted when I close PBI. It seems it doesn't so I need to delete them manually.

Thanks for your reply

Didier

3 Replies

  • v-lili6-msft's avatar
    v-lili6-msft
    Community Support

    hi, Anonymous

    In this folder, it will create a bunch of files and folders in a temp directory on your local disc. and after you close the Power BI desktop, it will automatically be deleted.

    Whenever you run Power BI Desktop it creates a bunch of files and folders in a temp directory on your local disc. You’ll find lots of interesting information about a running instance of Power BI Desktop like SQL Server Profiler trace data files, local instance of Analysis Services log file and port number. 

     

    Note: This is a temp directory  that is created whenever you run Power BI Desktop and is deleted when you close Power BI Desktop.

     

    Reference:https://biinsight.com/connect-to-power-bi-desktop-model-from-excel-and-ssms/

     

    Best Regards,

    Lin

     

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thank you, Lin, for your reply but the problem is that after closing PBI the files still remain until I delete them manually.

      • v-lili6-msft's avatar
        v-lili6-msft
        Community Support

        hi, Anonymous

        I have tested on my side and looked up a lot of information, but not reproduce the issue.

        It should not be normal, you may try to Clear Cache Of Power BI Desktop or completely uninstall the desktop and delete the folders then reinstall again.

        https://www.c-sharpcorner.com/blogs/how-to-clear-cache-of-power-bi-desktop

        If you still have this issue for Power BI, you'd better create a support ticket in Power BI Support to get further help.

         

        Best Regards,

        Lin