spotfire

Spotfire lookup a value from a calculated column

大憨熊 提交于 2019-12-02 05:29:38
问题 I have a data set in spotfire where I'm creating a calculated column that returns an entity name (the entity name being returned is also in column A). Once the entity name is returned from the calculated column, I need a data attribute that is in a different column but is on the row of the entity name. I've attached a snapshot of data. The calculated field returns 'Company C'. I need to create a column that looks up company C in column A and returns the location of company C. In excel I would

Spotfire - Custom sub total

£可爱£侵袭症+ 提交于 2019-12-02 04:38:55
I would like to calculate sub total in Spotfire cross table based on a condition and color the sub total row. As shown in the table below, I would like to add sub total of all the rows by store except 'Watermelon' but show 'Watermelon' sales row in the table. Please let me know if this is possible. Example below: Cross Table: Thanks for your help! scsimon Short Answer is No. Sub Total and Grand Total is calculated based off the data in the visualization, regardless if you are rendering it or not so it's not "adjustable" without removing / limiting the data via custom expression or filters. The

Spotfire date difference using over function

六眼飞鱼酱① 提交于 2019-12-02 04:22:49
I have the following data set: Item || Date || Client ID || Date difference A || 12/12/2014 || 102 || A || 13/12/2014 || 102 || 1 B || 12/12/2014 || 141 || B || 17/12/2014 || 141 || 5 I would like to calculate the difference in years between the two dates when the client ID is the same. What expression can I use in a calculated column to get that value? UPDATE Hi This would be the intended values calculated. My table has approximately 300,000 records in no particular order. Would I have to sort the physical table before using this formula? I used this example from another I found, my actual

Animating Data Changes in Tibco Spotfire

与世无争的帅哥 提交于 2019-12-02 00:23:25
This is my first post here, so please forgive me if I fail at etiquette somewhere along the way. I am working on a POC dealing with animating a visualization within Tibco Spotfire 7.0 which will allow a user to see changes in data over time by iterating through a set of filters or by iterating through alterations to the data based on a pre-determined set of conditions. TIBCOmmunity already defines a custom tool for this purpose http://tibcoanalytics.com/spotfire/archive/totw/2011-01-16.html . However, it is my task to show that this can be done within an Iron Python script. The POC is rather

To send get request to Web API from Java Servlet

江枫思渺然 提交于 2019-12-01 13:13:58
问题 Common question Is is possible to send get reguest from Java servlet's doGet method ? I need to check some "ticket" against my Web API .NET service, so can I call to this service from my custom servlet in the doGet method ? public class IdentityProviderServlet extends HttpServlet { ... @Override public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException { ... // make request to Web API and save received user name to response ... } Details We have web-app (

how to eliminate outlier in spotfire box plots

自作多情 提交于 2019-12-01 10:52:42
Thanks for your help in advance. Regards, Raj Adding the values to MAX() values would skew the data even if it were possible. There are two hacks to do this though. Right Click > Properties > Y-Axis > set the MIN range value and MAX range values to something that would eliminate all outliers. This is really only suitable for box plots that are close in all values to each other (all percentiles) On your toolbar click Insert > Calculated Column > choose the correct data table and paste in the expression below. You will need to replace the [x-axisColumn] and the [y-axisColumn] with what ever is

How to show the top 10 column values in Spotfire

大城市里の小女人 提交于 2019-11-30 19:12:00
问题 I need to show top 10 values using Spotfire. I googled lot but I could not find the best solution. I followed this tutorial: Creating a Dynamic Top Ten Chart but did not find success. How can I do this? 回答1: How to limit a visualization by the top 10 values: There are 2 ways you could do this. I will list them both with pros/cons. Method 1 - Visualization Level Open your visualization's properties and go to the Data tab. Select "Edit..." under "Limit data using expression:" and include the

Better way to refresh imported columns?

不想你离开。 提交于 2019-11-29 12:07:58
I have a table in spotfire with a couple columns imported from another table as a lookup. As an example, Col2 is used to match for the import of ImportedCol: +------+------+-------------+ | Col1 | Col2 | ImportedCol | +------+------+-------------+ | 1 | A | Val1 | | 2 | B | Val2 | | 3 | A | Val1 | | 4 | C | Val3 | | 5 | B | Val2 | | 6 | A | Val1 | | 7 | D | Val4 | +------+------+-------------+ However, the data in Col2 is subject to change. In that event, I need ImportedCol to change with it, however Spotfire seems to just keep the old imported data. Right now I've been deleting the imported

How to create a data table on the fly in Spotfire via python

给你一囗甜甜゛ 提交于 2019-11-29 11:18:20
I need to iterate each row, add items to a dictionary, do some sorting and then spit out the results into a data table I need to create on the fly via script. http://spotfirecommunity.tibco.com/community/blogs/tips/archive/2011/03/06/displaying-cross-table-data-as-a-new-data-table.aspx I can't access this article any more, does anyone have the code to do something similar to this at all? Thanks smackenzie Worked it out with some help. You have to create a .Net DataSet and DataTable, add rows in memory, process the table and create a tab separated string from the data, then use a Stream to

How to create a data table on the fly in Spotfire via python

主宰稳场 提交于 2019-11-28 00:58:23
问题 I need to iterate each row, add items to a dictionary, do some sorting and then spit out the results into a data table I need to create on the fly via script. http://spotfirecommunity.tibco.com/community/blogs/tips/archive/2011/03/06/displaying-cross-table-data-as-a-new-data-table.aspx I can't access this article any more, does anyone have the code to do something similar to this at all? Thanks 回答1: Worked it out with some help. You have to create a .Net DataSet and DataTable, add rows in