Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Creating Template for AzureDevOps connector

Hello All,   I am practicing to create a template using AzureDevOps connector.  If you have noticed When you select AzureDevOps connector as your data source it shows below prompt.    Afte...
  • JarroVGIT's avatar
    6 years ago

    I think it is possible to parameterize those values, however it won't do you any good I am afraid. To parameterize, go to the Power Query Editor, click on "Manage Parameters" and add two text parameters for Organisation and for Project. Then, in the advanced editor, you see this line:

    = VSTS.AnalyticsViews("orgName", "MyFirstProject", [])

    Now, you can replace "orgName" with the parameter name you just created for Organisation and "MyFirstProject" with the parameter name you just created for Project, like this (in my case, the params are called Org and Project):

    However, notice the tablenames that I imported in this example. These are unique to your organisation and project. Even if you change the project name alone, your query would fail as the extracted table simply doesn't exist. 

    Sorry to be the bearer of bad news 😞

     

    Kind regards

    Djerro123

    -------------------------------

    If this answered your question, please mark it as the Solution. This also helps others to find what they are looking for.

    Keep those thumbs up coming! 🙂