Editing/extracting a Column expression in google refine / OpenRefine - openrefine

i'm using Google Refine v2.5. I created a column that uses some complex logic to fetch info from a url, but I realized I need to tweak it. Is there any way for me to edit or extract the expression I used?
thanks!

All expressions used for facets, transformations, and column additions are kept in the history that you can access by clicking on the history tab in the preview dialog.

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

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

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.

Is it possible to pass a query as parameter in BIRT report?

I want to ask the user to input a query then the BIRT will generate a report based on user's query.
So far, what I do is pass the parameter to this.queryText but I can't think of a way on how will BIRT display the results.
Is this possible?
You can achieve this by following below steps :-
Create report parameters if required, which can be passed by user.
In SQL dataset beforeOpen() event build and assign dynamic query:-
example- this.queryText = "Select * from " + params["parmtable"].value;
If you have any other requirement, could you please elaborate it. I will surely try to help you with a sample rptdesign file.
This is not directly possible.
However, with a little help from outside (e.g. getting the description of the cursor from the DB, it is possible to generate (and save, if you like) and finally run an rptdesign file by calling the DE API from Javascript. I've done this, but it is very cumbersome. Furthermore, what if the user wants to supply parameters?
From a security point of view, the whole approach is not recommended.
IMHO BIRT is not the right tool for this, because this task requires more low level programming. If you are free to choose, I'd recommend Python with the ReportLab toolkit (a library to generate PDF) together with cx_Oracle (depending on your DB) or Java with iText and JDBC.
I don't have any other option aside from this.
First. (I use java btw) My program accepts and execute the query. Then using the ResultSetMetaData, I get the column names. (to be use as reference to my data source)
Then. I passed the full query and the list of columns to the method buildReport() (Please refer to How to Build Dynamic Table (BIRT) sample code)

How to present the result of a dynamic pivot request in SQL Server 2005 Reporting Services?

I have a dynamic pivot request I would like to present in a report of Reporting Services.
As it is dynamic, the number of columns of the result is variable (as is the name of the columns). How could I create a report showing a table handling this variable number of columns ?
You can also use the Matrix control to pivot the results in the report instead of in the query. This way you don't have to use any custom solution.
You will need to implement a dynamic report definition file. Here is a link that will help you get started. It is a VS Project that dynamically creates a RDLC file with a table, via a datatable. I used it as the base of my current report system.
C# Version
VB.NET Version
If you have any questions about this, let me know. I've been generating RDLC files for quite a while now, and encountered pretty much every issue you could think of :)