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

Add separate parameter for Roadmaps URL to avoid "key didn't match any rows in the table" errors when project is deployed into a new environment #34

Open
RobH-CRT opened this issue Nov 2, 2023 · 0 comments

Comments

@RobH-CRT
Copy link

RobH-CRT commented Nov 2, 2023

For anyone deploying Project for the Web to a new environment, they will encounter an issue when using this template:

Microsoft has not currently provided a way to deploy the Roadmaps solution to a new environment. This means that tables matching msdyn_roadmap, referenced in the template, will only exist in the default environment. The result is that users will get multiple "key didn't match any rows in the table" errors, and data refresh will fail.

I propose that a separate Roadmaps URL parameter should be added to the template, and this used to connect to the Roadmaps tables.

For anyone experiencing the issue with the current version of the template,the workaround is:

  1. Open template in PowerBI Desktop, and enter URL for PfW environment (as usual).
  2. Cancel data refresh (this will only error anyway).
  3. From the top ribbon, select Transform Data.
  4. In the PowerQuery editor, select Manage Parameters > New
  • Name: Roadmaps URL
  • Type: Text
  • Current value: Paste in the URL for the Default environment (from Power Platform Admin Center)
  1. Go to each of the Roadmaps queries in turn:
  • Click Advanced Editor on the toolbar
  • Replace #"Dataverse URL" in the first line with #"Roadmaps URL"
  1. If any of the queries still show a yellow warning triangle and/or a warning message that refresh was cancelled:
  • Go back to the query and click "Retry" in the main pane
  • Wait for the preview data to be loaded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant