want to report failed test runs without related bug. Think a really detailed entity relationship diagram of the Devops data bases will give the answer. Unfortunately I found only parts that don't answer my question.
Thanks for any hint that kicks me forward.
Joe
You can refer to this document below to do it:
Connect to Analytics data by using the Power BI OData feed
Simple steps:
Open PowerBI
Get data > Other > Odata feed
Specify URL, format: https://analytics.dev.azure.com/{OrganizationName}/_odata/v3.0-preview/
Connect (You may choose Basic and specify Personal access token)
Select related table, for example:
Related
I need to use two data sources. One is SQL and another one is the response from a rest API.
I tried to implement WDC, but it needs an HTML and user need to interact with UI and getting the response.
But I don't want to create a html page.
Is there any way to use an API response as a data source in Tableau?
The short answer is that you can not use API directly as a data source but you should build a pipeline to transform this into flat-file o populate a database table.
The alternative answer is to use Python to connect to the REST API. You can choose to use TabPy or follow some pre-build solution like this one. Personally, I don't know how the performances could be.
In order to find some Agile Metrix of the project in Azure DevOps (ADO) from last month or from last 2 sprints, I was trying to Query data from ADO like:
When a user story was committed and reach to done state?
How long a developer took on a user story before it turned to QA?
How much time QA took after receiving it from Dev?
How many Dev and QA have worked on a user story and how long? Compare that number with the estimated time given at the time if sprint planning.
How many time a user story been returned back to Dev for any reason like not fulling Acceptance Criteria, etc?
...
In ADO, I can query the current data, however, there is no way to find historical data from State Graph, History, Discussion!!! I want to find out if the User Story has gone through multiple resources, how much time each of them have spend on that!
Can someone please give me some direction? Thanks in advance.
You can get the historical data using Analytics Odata API. For below example using WorkItemRevisions entity set to load all the revisions for a given work item
https://analytics.dev.azure.com/{OrganizationName}/{ProjectName}/_odata/{version}//WorkItemRevisions?
$filter=WorkItemId eq {Id}
&$select=WorkItemId, Title, State
Then You can Run the OData query from Power BI to create a PowerBI report. Also see document Power BI integration. Please check example Calculate time-in-state.
You can also use rest api to get historical data of a workitem. See below:
Revisions - List
Comments - Get Comments
Updates - List
For querying historical data of single workitem you can use this chrome extension - https://chrome.google.com/webstore/detail/azure-devops-workitem-inf/ociekhbkajgbjdenikmandhpjlekckee.
There you can see changes of any field, and also you can see how many time the field was in particular state.
I need to extract metadata from view. When I was reading tableau rest API documentation there is no ways mention in the rest api for sheet metadata and also not mention measure and dimension API extraction. If anyone knows the way how to extract data please help me
Take a look at the Tableau Javascript API...specifically the getData method.
The Rest API is used for automating Tableau Server tasks (add users, create schedules, set permissions, etc).
You can embed a hidden extension into your dashboard that can access worksheet, field and filter information. See the docs on extensions here.
Here is a good example of one that could get you started on pulling the worksheet and field information.
Use the Tableau Metadata API - https://help.tableau.com/current/api/metadata_api/en-us/index.html
You can find sample scripts here - https://github.com/tableau/metadata-api-samples
I am working on an internal reporting dashboard project . There are majorly 3 roles/level to internal reporting dashboard like higher management, project management etc.
And the breakdown of information for every role/level is different as compare to other roles.
For internal reporting dashboard we have to create a database ( lets say D - SQL SERVER) whose data will be coming from 3 databases ( Lets say A,B,C) after integrating them.
For now as per my research, we can directly link database D using Tableau Live Connection in Tableau Desktop ( Professional ed) and use it to create a dashboard.
To host that workbook for users, I can use Tableau Online for publishing and to make data visible according to the roles I can use filters to restrict the data.
Now my questions are:
1. Will this workflow will be right ? Am I missing any step or process that I would need to cater.
2. How will the changes reflect in the dashboard once it is published ? Lets say if I have to add any filter/ parameter in the dashboard. Do I need to make the changes on the workbook using Tableau Desktop and automatically changes will be reflected ?
or do I have to host it again on Tableau Online ? Please educate me on this too.
Thanks for assistance I have attached a purposed workflow image too.
Regards,
Manail Pasha
WORKFLOW IMAGE
If your system is not a transactional database, I would avoid a live database connection. I would recommend a data extract that combines data blending techniques to create a data extract a.k.a .tde file.
I would publish a dashboard with user filters that enable row-level security via filters and ensure users could only see certain data.
Here is a diagram that I would follow if I were you.
To add filter/ parameter either you can do it from the desktop and publish it to Tableau online or login to online and add the filter/ parameter from the edit mode and Save it, it will get reflected if you do anyone of the above mentioned method.
If your data is frequently changing, i would recommend to go on with Live Connection, Extract refresh can be done on incremental, but the appropriate fields needs to chosen to do it( you should also consider, how to handle negated entries ). It all up-to you to decide to go on with Extract or Live
I have downloaded SAP crystal report and I would like to know can I get data in my report through an API? I want to get data through Amazon MWS API. Please advise is it possible and is there any documentation.
EDIT: Basically I am trying to use the XML and Web Services item of database expert pop up in crystal reports 2013. Now as you know it expects either a XML url or a web service data source. I need to get data from amazon MWS API, so not sure how to use it here. Also since I am new to crystal reports so for better understanding the concepts I am testing/trying both methods to make it work. I have even followed this tutorial - http://trustedbi.com/2009/05/19/cr-webservice/ but this does not work - it is not populating the method,port and service. I have even created a test xml file from here(http://www.w3schools.com/xml/xml_usedfor.asp) and saved it locally on my pc and gave that URL but now the error is "Logon failed: schema not defined". My first step is to try it with a simple solution to see how crystal reports work and then figure out how can I use the MWS API.