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

PBI to files when PBI is saved, constantly refreshes #24

Closed hlynurarni closed 3 years ago

hlynurarni commented 3 years ago

When the option "PBI to files when PBI is saved" is used it constantly executes and creates the files again. I have the folder structure open and I see the files disappear and show again in intervals of few seconds without me doing any action.

Only thing I have changed is the path to where I save the files, seems to me that this triggers this constant refresh. I have the folder with a dummy name on the same level as the .pbix.

didierterrien commented 3 years ago

Never had this behaviour. I understand, the default folder is the folder where the pbix report is saved. If you move the default folder, it works. Do you confirm ?

hlynurarni commented 3 years ago

It is the other way around. The default folders works just fine. But when I change the directory to be on the same level as the .pbix file, this happens.

To clarify: I create a folder with a dummy name next to the .pbix file, since I cant have 2 files (folder) with the same name. I then point the "pbi to files" to export to that folder.

Changed EDIT to new comment...

hlynurarni commented 3 years ago

EDIT: 7.16.2021 Some new discoveries on this issue that is linked to https://github.com/didierterrien/Power-BI-Sidetools/issues/25

I have tried with different .pbix files and it happens if I have the following setup:

Settings and folder structure:

default_path

The connection I got when I opened after I changed the path:

GUID_settings

path1

(1) I ran into the GUID issue and this happened (I attached the log files). Apparently the files seems to be in another process, I just had one file open and nothing running. Here I had no issue with constant refresh.

path2

(2) I relaunched PBi Desktop and there was no write access conflict anymore (according to the log file) and that created this folder structure. Here I had constant refresh.

after_relaunch

Constant refresh on those folders:

constant_refresh

The log file:

Power BI Sidetools log.txt

Hope this helps, don't hesitate to ask if there is anything unclear, I tried to display it as best as I could.

didierterrien commented 3 years ago

Thanks a lot for your explanations. The constant refresh error must be solved in V1.2.5 test version : https://github.com/didierterrien/Power-BI-Sidetools/tree/master/Power%20BI%20Sidetools%20test%20versions

hlynurarni commented 3 years ago

Thank you for the quick replies and new version. The refresh problem has gone away with the latest version V1.2.5. Great work on the relative path feature, much appreciated !