spotfire

How to auto select filters in spotfire

亡梦爱人 提交于 2019-12-13 08:45:46
问题 I have a list box filter in spotfire. Is it possible to auto select one of the values in the filter list. Ultimately when I filter on B, I should able to see data for both B and A(which was auto selected) TASK,SERVICE,MONTHYEAR ARE MY FIELDS AND TOTALLY THERE ARE 15 RECORDS TASK SERVICE MONTHYEAR NA NOV-15 NA APR-16 TASK1 SERVICE1 JUL-15 NA SEP-15 NA DEC-15 NA FEB-16 TASK2 SERVICE2 AUG-15 NA JUL-16 NA MAR-16 NA JUN-16 NA OCT-15 NA JAN-16 NA MAY-16 NA JUL-15 NA AUG-15 As you can see in the

Limit data coming into Spotfire by a different data table

♀尐吖头ヾ 提交于 2019-12-12 23:07:30
问题 I have Table A prompted on Year/Month and Table B. Table B also has a Year/Month column. Table A is the default data table (gets pulled in first). I have set up a relationship between Table A and B on the common Year/Month column. The goal is to get Table B to only pull through data where the Year/Month matches the Year/Month on Table A (what the user entered). The purpose is to keep the user from entering the Year/Month multiple times. The issue is Table B contains almost 35 million records.

calculate the difference for same column in Spotfire

拟墨画扇 提交于 2019-12-12 22:23:23
问题 I am a beginner for Spotfire. I have a problem about the difference calculation for the some column value. I have opened a similar question for the date difference calculation, see:calculate the time difference for same column in Spotfire how can i calculate the difference for the same column, is there any related function like DateDiff() here? for example: id times state 1 12 1 2 7 0 3 10 1 4 11 0 5 6 1 6 9 0 7 7 1 the result could be : id times state diffence 3 10 1 -2 5 6 1 -4 7 7 1 1 For

How can I get the externalname of a column using IronPython in Spotfire?

早过忘川 提交于 2019-12-12 17:26:37
问题 Currently I need to change the name of a column depending on specific criteria but to do that I'd like to refer to that column by its ExternalName rather than its name. aColumn = Document.ActiveDataTableReference.Columns["I_id"].Name unfortunately this doesn't work. aColumn = Document.ActiveDataTableReference.Columns["I_id"].ExternalName 回答1: you're very close! ExternalName isn't a property of the DataColumn object, which is, I suppose you've figured out, why your approach isn't working. in

Using OVER function in Spotfire to produce cumulative sum in a data table

夙愿已清 提交于 2019-12-12 16:47:50
问题 I have a beginner question about OVER statements and cumulative summing: Imagine that I have a table that has years in the first column, and sales in the second column, e.g.: Year Sales 2001 10 2002 20 2003 30 ... What I want to do is add the sales from one year to the next, and have these running down a column in Spotfire. With the case of the first year, I just want to show sales for that year, e.g. Year Sales Year sales + Year -1 sales 2001 10 10 2002 20 30 2003 30 50 ... I tried the

how to open Spotfire web player in first page?

为君一笑 提交于 2019-12-12 07:01:11
问题 is there a way to open spotfire web player in first page always. My web player link is opening analysis in different pages not on the home page. Much appreciated thanks 回答1: Make sure that when you save your analysis, you save it showing the first page. Then modify so that state isn't kept per user. Go to Edit -> Document Properties -> Library tab, and uncheck "Remember personalized view for each Web Player user": 回答2: Create one Document Property "OnOpenAnalysis" with DateTime:- Write

Spotfire Current Date in input field with calendar popup

被刻印的时光 ゝ 提交于 2019-12-12 04:16:19
问题 With reference to http://spotfired.blogspot.in/2014/05/popup-calendar-webplayer-compatible.html. Can you please suggest how to get the current date in the input field as soon as the analysis is open in Webplayer. HTML Code: <span id="dt1"> <SpotfireControl id="a8b5b0d725bd41f385c3a859b511ae0b" /></span> <span id="dt1picker"></span> JS: //update document property after selection function datePicker_onSelect(selectedDate){ //alert(selectedDate) $("#dt1 input").focus() $("#dt1 input").blur() } /

Spotfire: “limit data using markings” by python script

爱⌒轻易说出口 提交于 2019-12-12 03:38:53
问题 Is there a way to check or uncheck certain markings in "limit data using markings" in a visualization through a python script? 回答1: The answer from https://community.tibco.com/questions/limit-data-using-markings-python-script from Spotfire.Dxp import Data from Spotfire.Dxp.Application.Visuals import * vis.As[VisualContent]().Data.Filterings.Add(Document.Data.Markings["Marking"]) They "hide" the Markings in the Filters. 来源: https://stackoverflow.com/questions/38224691/spotfire-limit-data-using

Sorting Filter values asc/desc on Tibco Spotfire

≡放荡痞女 提交于 2019-12-12 02:57:37
问题 How do i sort the values of a filter asc/desc in Tibco spotfire? I tried changing the MySQL query with ORDER BY for that specific column but that doesn't help? 回答1: You said "sort the values of a filter " -- do you mean you want to control the order of items in the filter panel? To do so, right click anywhere in the filter panel and choose Organize Filters. There you can use the Move Up/Move Down buttons to arrange to your preference. If instead you want to sort a Table visualization (a basic

Number of Successive Cells of a Same Value in Spotfire

◇◆丶佛笑我妖孽 提交于 2019-12-12 01:45:04
问题 I am wondering if it is possible to created a calculated column that will count how many cells of the same value are successive (i.e., next to each other) so that I can divide it by the total number of cells in that column. (I'm only looking at 1's and 0's in the column. Any help or advice would be greatly appreciated as I've been scratching my head over this for a while, The percentages at the bottom of the columns is simply = (the number of 1's touching another 1) / (total # of rows) --> my