spotfire

Spotfire 6.0 - Limit Data by Selection from Another Table

狂风中的少年 提交于 2019-12-08 19:15:39
I have two data tables A & B in a visualization. They can be joined by a common column ID. Is it possible that the data chart from table B be limited by selection from table A? Best Regards, Jonathan you can create a relationship based on that ID: click Edit...Data Table Properties click the Relations tab click New to create a new relation configure the relation by selecting the left and right tables, the column containing the ID on both table, and optionally a method to apply to values in that column click OK a few times to accept all changes ...and then configure the Filtering panel to show

How to Search Table1 Column Value is present in Table2 Column or not in spotfire?

落花浮王杯 提交于 2019-12-08 13:39:43
问题 Hi I have two tables with same column . First I need to take 1 column value from table 1 then I need to search for value weather is exists in same column of table 2. can anybody know how to do this in spotfire? 回答1: One way to do this is to attempt a join and then perform some logic on the join results. Below is how I would do this: Create a Calculated Column in Table2 named EXISTS with the expression of TRUE . Go to Insert>Columns and choose to add columns to Table1 from Table2. Match on

Spotfire Custom Expression : Calculate (Num/Den) Percentages

拜拜、爱过 提交于 2019-12-08 13:17:24
问题 I am trying to plot Num/Den type percentages using OVER. But my thoughts does not appear to translate into spotfire custom expression syntax. Sample Input: RecordID CustomerID DOS Age Gender Marker 9621854 854693 09/22/15 37 M D 9732721 676557 09/18/15 65 M D 9732700 676557 11/18/15 65 M N 9777003 5514882 11/25/15 53 M D 9853242 1753256 09/30/15 62 F D 9826842 1260021 09/30/15 61 M D 9897642 3375185 09/10/15 74 M N 9949185 9076035 10/02/15 52 M D 10088610 3512390 09/16/15 33 M D 10120650

Spotfire - mark records and send to clipboard

£可爱£侵袭症+ 提交于 2019-12-08 12:59:38
问题 I'd like to create a Spotfire button action control that does the following Select all rows in a table visualization Send the selected rows to the clipboard First step was handled pretty easily (borrowed from here). For the second step, I was unsuccessful in my initial attempts to send to clipboard with script (e.g. as suggested here). I was partially successful in a followup attempt by sending ctrl-c programatically to spotfire (see spotfired.blogspot.co.id/2014/04/pressing-keys

Making an array of various columns in spotfire

偶尔善良 提交于 2019-12-08 10:47:13
问题 I am new to Spotfire and am working on an analysis. I have made four bar charts, but I want to integrate them all into one. I want to make an array of four different calculated columns, and then represent them all in one value axis. How would I go about doing this? 回答1: you can simply put all your columns on the value axis, then color by (Column Names) as a custom expression, your value axis might look like: Sum([Column1]) as [Sum of Column1], Avg([Column1]) as [The Average], Max([Column2])

Spotfire visualization - Over in a running total gets blank values?

不想你离开。 提交于 2019-12-08 09:16:35
问题 I have built a bar chart visualization with Spotfire that includes the use of the Over function to give a running total. Months are on the X axis and counts are on the Y axis. My data set contains months where there were no values. When I graph that there is no bar although a running total should still contain a value although zero was added for that month. How do I get a month with no value to still show a bar for that month? 回答1: Yes, You can try Count() OVER (AllPrevious([Axis.X])), this

Spotfire 6.0 - Limit Data by Selection from Another Table

会有一股神秘感。 提交于 2019-12-08 06:54:51
问题 I have two data tables A & B in a visualization. They can be joined by a common column ID. Is it possible that the data chart from table B be limited by selection from table A? Best Regards, Jonathan 回答1: you can create a relationship based on that ID: click Edit...Data Table Properties click the Relations tab click New to create a new relation configure the relation by selecting the left and right tables, the column containing the ID on both table, and optionally a method to apply to values

Spotfire Export Automatically

天大地大妈咪最大 提交于 2019-12-08 06:52:41
问题 I'm not at all sure that what I need is possible with the tools that I have, but I thought I'd ask. I have the following Python script (technically IronPython, but I don't fully understand the difference), that I pulled from a blog and modified for my purposes: import datetime from System.IO import StreamWriter from Spotfire.Dxp.Application.Visuals import TablePlot tempFolder = "C:\\Spotfire Exports\\" tempFilename = "Data.txt" writer = StreamWriter(tempFolder + tempFilename) vTable.As

Spotfire - Finding Percentage of Subtotals

馋奶兔 提交于 2019-12-08 06:51:16
问题 I'm trying to turn a cross table that looks like this into a table which shows the subtotals and percentage over each Group like the example below Where the percentage is the sales of each product divided by the total sales in each group, so for Product A = 20 / (20+40+30) = 22% So far, I've managed to use Spotfire built-in subtotal function and the following expression to almost achieved the table I want Sum([Sales) / Sum([Sales]) OVER (Intersect(Parent([Axis.Rows]),All([Axis.Rows]))) but

Match two trellis pages between two different graphs

霸气de小男生 提交于 2019-12-08 04:30:29
I want to have on the same page a pie chart and a bar chart, with trellis pages. They both have 5 columns as trellis, so 5 different pages that you can visualize by scrolling down. However, I would like to display the same pages at the same time for both graphs. For instance, let's imagine I'm on the pie chart, I scroll down one page - and so my pie chart is on page2 - I want my bar chart to automatically go to page 2 as well I tried to use markings but although it links a bit the two graphs, it doesn't change the trellis pages automatically Does anyone know how to do this ? as @scsimon