How to create a tabular report from Azure DevOps that includes work item description? - api

We are trying to use PowerBi to build tabular reports from data in Azure DevOps. In this report, we want to display the description field in one of the table's columns. ADO stores the description as HTML. Neither PowerBI or Excel can render this content, but instead show the markup code. I've also looked at pulling this into python and using Dash with no luck.
There is an extension for ADO that renders html, but it displays a single record and doesn't work as a table cell renderer.
The output I'm looking for is very simple. It is a table (preferably in PowerBI or some other dashboarding tool) that has columns for work item title and description. The description column shows the rendered HTML code as it is displayed in ADO.

How to create a tabular report from Azure DevOps that includes work
item description?
For this issue, I am afraid this demand is impossible to achieve. It is clearly stated in the document that Description field cannot be used to generate a report.Excel also does not support generating reports on this field.
For details,please refer to this docs. Hope this helps.

Related

Can I export existing Salesforce reports by SOQL even if they were made in the SF UI?

I am relocating our Salesforce reports from Salesforce to another tool. Salesforce has SOQL and the new system has SQL so I think the simplest way to migrate is to modify the SOQL statements to SQL, rather than recreate each report using the new tool's UI.
Can I do this? I've looked up other similar questions here on Stackoverflow, but the answers are far more complex than I can understand. I need extremely basic instructions on where to find the SOQL for each report in Salesforce.
Thank you!
Salesforce doesn't have a native tool to convert a Report to SOQL. There are a couple of workarounds to get close to a 1:1 conversion but both will still require some manual input on your part.
Using Change Sets
Install the Salesforce Change Set Helper Chrome Extension
Create an Outbound Change Set and add your reports as components
Click the Download metadata button (this comes from the extension)
Unzip the file
Open one of the .report files in a text editor
From here you can use an XML parser to programmatically generate a string for your SELECT criteria by targeting anything between the <columns> tags. Your FROM criteria can be targeted through the <reportType> tags.
Manual
Download the Salesforce Inspector Chrome Extension
Pull up your report in one window
In another window, open your Salesforce org and click the < but on the right side of your screen (this is from the Extension)
Click Export Data
Reference your report while writing your SOQL query
*Reminder that format should be something like SELECT Insert column's API names comma separated, FROM Insert object API name WHERE Insert filters ORDER BY Insert column to sort by and include ASC for ascending and DESC for descending
Salesforce SOQL Documentation

Is there any way of creating a Tree Map with "clickable cells" in Google Data Studio?

I have this problem: need to create a Tree Map in Google Data Studio, but every "cell" should be clickable and redirect to another tab/link.
Is this possible? I checked the docs but couldn't find an official answer. Looking for a workaround!
As of now Google Data Studio does not provide such feature. So One data source per page in report that's its limitation.
Although you can create one (But this will not be a Tree Map you have to create it manually) with the help of text boxes and hyper links present in data studio.
Checkout this sample report

MicroStrategy CREATE REPORT statement syntax

Trying to create a bunch of MicroStrategy reports via code (instead of manually going through the GUI). Does anyone have a working CREATE REPORT statement?
Here's an example of a working CREATE ATTRIBUTE statement:
CREATE ATTRIBUTE "attrib1" DESCRIPTION "attrib1"
IN FOLDER "\SCHEMAObjects\ATTRIBUTES\attrib1"
HIDDEN FALSE ATTRIBUTEFORM "attrib1" FORMDESC "attrib1"
FORMCATEGORY "ID" FORMTYPE NUMBER EXPRESSION "[attrib1]"
EXPSOURCETABLES "attrib1_table"
LOOKUPTABLE "attrib1_table"
FOR PROJECT "Someproject";
Just looking for a version of this for CREATE REPORT. Can't seem to find it on googles or in the documentation.
Unfortunately it's not possible to create a report using MicroStrategy Command Manager.
As you can see from the Outline window below (this shows all possible outlines in Command Manager with code samples) for you can list your reports, delete them or alter some properties of your MicroStrategy Reports.
As you can see from the outline for the ALTER REPORT command what you can modify is pretty limited, you can enable/disable cache, hide or un-hide a report, change the description or the long description, move a report to another folder.
If you want to create a report from scratch using code you need to use MicroStrategy SDK. You can start from this TechNote:
TN38166: How to Create a Report and Filter Expression from Scratch Using the MicroStrategy Web SDK 9.2.x and 9.3.x.

Dynamically generating reports in Pentaho and dealing with report definitions store in the database

I am developing a reporting application where a user can select(and order) reports from a list of 100 reports and ask for a master report. This master report will contain all the selected reports in the exact order and with a table of contents listing the reports included in the master report. The reports available for the user to select (which could be 100s) are stored in the database.
My questions are :-
To generate the master report with the user selected reports, the only solution I can see is using the Reporting Engine API to generate a dynamic report into which I have to add the user selected reports as subreports. Is this the right and easiest way to approach this problem? Does anyone have samples of the Reporting Engine API usage especially to inject subreports in a Master report?
Since I am storing the reports in the db(blobs), I am trying to find a way to generate my sub reports with an inputstream rather than a URL as specified in ResourceManager.createDirectly(url, MasterReport.class), but haven't been successful till now. How can I generate reports from definitions stored in the database? There should be some resource abstraction.
Read your reports into a byte-array and then use the ResourceManager.createDirectly method as usual. That will solve your problem of parsing the reports.
You can parse them directly into SubReports by using
ResourceManager.createDirectly(bytes, SubReport.class)
These subreports can then be added to your master report as banded subreports. if you want your selected reports to start on a new page, make sure you set the "pagebreak-before" style on your subreport's report-header.
There is a resource abstraction: It is called "LibLoader" and you can create your own ResourceLoaders that deal with the problem of getting your data out of your database as raw-streams so that the ResourceFactory implementations can interpret/parse the raw-data.
But every database is designed differently and thus you as the system integrator have to write the glue code for it. We only can offer the interfaces.

ActiveReport 3 : Add dynamic column for CrossTable

I am under ActiveReport 3 and I need to create CrossTable with dynamic number of Columns and Rows.
The example given with ActiveReport 3 has put fix columns in design view and it's bad.
There is a solution up there to create real cross table under Active Report 3?
For now I try with these events:
_ReportStart
_DataInitialize
_FetchData
In ActiveReports you need to dynamically add the columns (fields/textboxes) using code based on your datasource. You can see this walkthrough for a detailed example of how to dynamically create a report. The walkthrough does not create a crosstab but it does show how to add fields dynamically. To create a crosstab, you will essentially just add your textboxes onto the report side-by-side and one-after-the-other. One for each column you want in your crosstab.
NOTE: After GrapeCity's acquisition of Data Dynamics, the Data Dynamics Reports product was later integrated into ActiveReports. The capabilities of Data Dynamics Reports are generally referred to as "Page Report" or "RDL Report" in ActiveReports. As a result ActiveReports now includes native support for cross tab reports with the "Matrix" control. An example of using a Matrix in ActiveReports' Page Reports is here.
Documentation for the older versions of ActiveReports are available on the Legacy Documentation page, which is linked from the main ActiveReports documentation site.