didierterrien / Power-BI-Sidetools

Power BI Sidetools is a free Power BI external tool intended to increase productivity during reports development in Power BI desktop.
68 stars 8 forks source link

Upgrading to Portable version #32

Closed BobPannell closed 2 years ago

BobPannell commented 2 years ago

I have just upgraded to portable version. Excel files created using Export to Excel now save to a different sub-folder.
Is it possible for PowerBI Sidetools to retrieve Excel files created in previous version of Sidetools (those saved to C:\Users\your username\Documents\ ...) and so update their contents, or do I need to re-create from first principles? Thanks Bob

didierterrien commented 2 years ago

Hello Bob, You may modify folders in Sidetools settings in order to have the same paths than before. This is the easiest solution.

Otherwise, you can move your Excel file to new folders. If you do so, in each Excel file, you need to change the connection. Follow these steps and save your Excel file :

image

Let me know if it woks so I can close the issue.

BobPannell commented 2 years ago

Hi Didier

Thank you for the quick and helpful reply.

Your first and easiest solution works. The earlier naming convention does mean that my Exports folder is now “5. = EXPORTS ====etc” and my Translations folder is “5.= TRANSLATIONS ===etc”, but hopefully that is not an issue.

I tried migrating one Excel file using your second approach, but unfortunately I did not seem able to make the change in Connection file a permanent one. This meant that when reopening my pbix file and attempting to refresh Excel file, an Analysis Services wizard window popped up asking me for User ID and password.

Thanks again for your help. Fantastic!

Bob

From: Didier Terrien @.>
Sent: 17 November 2021 19:15 To: didierterrien/Power-BI-Sidetools
@.> Cc: BobPannell @.>; Author @.> Subject: Re: [didierterrien/Power-BI-Sidetools] Upgrading to Portable version (Issue #32)

Hello Bob, You may modify folders in Sidetools settings in order to have the same paths than before. This is the easiest solution.

Otherwise, you can move your Excel file to new folders. If you do so, in each Excel file, you need to change the connection. Follow these steps and save your Excel file :

https://user-images.githubusercontent.com/37301981/142266858-73cec92a-e6cd-419e-bd47-5292b71d043a.png

Let me know if it woks so I can close the issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/didierterrien/Power-BI-Sidetools/issues/32#issuecomment-971893485 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ANZOLDHPVH37CTKVZ4UTWBTUMP5K7ANCNFSM5IHOJN5Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . https://github.com/notifications/beacon/ANZOLDCIHUV4TLKHJQITQT3UMP5K7A5CNFSM5IHOJN52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHHW6V3I.gif

didierterrien commented 2 years ago

Hello Bob, I cannot reproduce this error. Please check :

After you modified the connection, you can go back to the connexion settings and check if it's correct. You may send a screenshot of the connexion settings here.

'Export to Excel.odc' file is created by Sidetools when you click in 'Export to Excel' menu. It's location is 'Projects folder' setting + Your Pbix file name + 'Exports folder' setting. Your Excel export files must be located in the same directory Hope it helps

didierterrien commented 2 years ago

I got the same issue with another Excel file today. I created a new connexion using the 'Export to Excel.odc' file and I checked the 'Refresh data when the file is opened' checkbox in the first tab. Then, for each pivot table, I changed the data source to the new connexion :

image

Finally, I deleted the old connexion

didierterrien commented 2 years ago

I'm closing the issue. Feel free to reopen if the problem is not solved