Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate report when publishing report to workspace where the report already exists #567

Open
mvdwielen opened this issue Nov 20, 2024 · 5 comments
Assignees

Comments

@mvdwielen
Copy link

Describe the issue
When publishing a Power BI report with Power BI actions a duplicate report appears in the workspace when the report was previously published as well.

image

**Extension **

  • Extension: Power BI Actions - Upload report
  • Version: 5.4.44

To Reproduce
Publish the report twice via Power BI Actions - Upload report

Expected behavior
There should be only one report in the workspace

Situation (please complete the following information):

  • Agent type: Azure Pipelines
  • Autentication: Service Connection
  • Extension Version: 5.4.44
@mvdwielen
Copy link
Author

@maikvandergaag did you have time to have a look into this issue?

@maikvandergaag
Copy link
Owner

Not yet but did you set the correct options? What was your Config and do you have log files

@mvdwielen
Copy link
Author

@maikvandergaag

With options you mean the checkboxes below or are you referring to something else?
image

I am working with yaml pipelines and I noticed that 'Overwrite: true' is not explicitly stated in the yaml when 'Overwrite Power BI file' is checked in the UI. I assume that this is the default setting then or should I explicitly add it to my yaml file?
image

Below the yaml I am using to deploy a pbix to the workspace:

image

Is this the log you are referring too?

2024-10-23T13:26:54.3639698Z ##[section]Starting: Power BI Action: Publish PBIX File
2024-10-23T13:26:54.3647732Z ==============================================================================
2024-10-23T13:26:54.3647892Z Task : Power BI Actions
2024-10-23T13:26:54.3647993Z Description : Release Task Power BI Actions
2024-10-23T13:26:54.3648095Z Version : 5.4.44
2024-10-23T13:26:54.3648190Z Author : Maik van der Gaag
2024-10-23T13:26:54.3648274Z Help :
2024-10-23T13:26:54.3648343Z ==============================================================================
2024-10-23T13:26:55.5731707Z Starting Power BI Actions extension
2024-10-23T13:26:55.5906837Z ### Required Module is needed. Importing now...
2024-10-23T13:26:55.7551500Z ### Trying to import the incorporated module for PowerBI
2024-10-23T13:26:58.1265733Z Getting Power BI Workspace properties; MAB [Acc]
2024-10-23T13:26:59.1740383Z Trying to publish PowerBI File: D:\a\1\a\pbi_build\pbix_file\MAB.pbix
2024-10-23T13:26:59.1792501Z Checking for existing Reports with the name: MAB
2024-10-23T13:27:02.1567645Z Done processing Power BI Actions
2024-10-23T13:27:02.1570399Z Done running Power BI Actions extension.
2024-10-23T13:27:02.2028446Z ##[section]Finishing: Power BI Action: Publish PBIX File

@mvdwielen
Copy link
Author

@maikvandergaag do you have all the information you need or should I provide more?

@maikvandergaag
Copy link
Owner

@mvdwielen sorry are busy weeks at the moment. Does it create a new report everytime the workflow runs?

By default the overwrite is set to true. Could you also include the variable: System.Debug and set the value to true.

That will deliver more logging info and then share the log file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants