spotfire

How to only display rows without a specific word in spotfire

微笑、不失礼 提交于 2019-12-11 14:58:18
问题 Below is the dataset. I want to display only the rows that doesn't have "confidential" in the description column in spotfire. Thanks. 回答1: @Chitra- In data table properties > Limit data using expression , insert the below expression to filter out rows which contains 'confidential' in column Test. not(Lower([Test])~='confidential') Here is the final output: Hope this helps! 来源: https://stackoverflow.com/questions/47875941/how-to-only-display-rows-without-a-specific-word-in-spotfire

How can we set a cell value to align center in Spotfire Graphical table?

女生的网名这么多〃 提交于 2019-12-11 06:27:02
问题 Is it possible to align graphical table numerical cell values to align center.Please let me know if there is a way to do it . 回答1: as of Spotfire 7.0.1, you can not, unfortunately. I don't think this has changed in newer versions. 来源: https://stackoverflow.com/questions/40851411/how-can-we-set-a-cell-value-to-align-center-in-spotfire-graphical-table

Calculated Column for Adjacent Cells of a Specific Value in Spotfire

大城市里の小女人 提交于 2019-12-11 06:26:27
问题 I am wondering if it is possible to create a calculated column that will count how many cells of the same value (and only this value) are successive (i.e., next to each other) so that I can divide it by the total number of cells in that column. Any help or advice would be greatly appreciated as I've been scratching my head over this for a while. This is an update to a previous question I posted (link below) This new question has the key differences below: (1) I only want to count the number

Remove/ delete or hide column in spotfire

给你一囗甜甜゛ 提交于 2019-12-11 05:07:52
问题 How to remove/delete or hide column using iron script in spotfire ? For adding a column i have done as follows: ` curDT = Document.ActiveDataTableReference cols = curDT.Columns # targetCol = Document.Properties["myColumnSelection"] #Create a new column that counts the comma delimiter myExpression = '1+len(RXReplace([Cx],"([A-Za-z0-9]+)","","g"))' myNewColName = cols.CreateUniqueName("NumElements") cols.AddCalculatedColumn(myNewColName, myExpression) ` 回答1: if it can still be helpful: from

Optional Data Input into Spotfire Text Area parameters got from a Oracle Function

假装没事ソ 提交于 2019-12-11 05:05:54
问题 I have created a Function from Oralce DB and used it as input to Spotfire report. The reason why i used a function instead of view is because the parameters had some complex logic operations and i was not able to get that done in a view. Coming to the report i have built. Currently i am using 2 parameters in the function and i am taking both the values from Spotfire text area in Data on Demand mode. So i have set up two 'Input Field' for getting the data. Issue is that unless i enter values

calculate the time difference for same column in Spotfire

拈花ヽ惹草 提交于 2019-12-11 01:54:01
问题 I am a beginner for Spotfire. I have a problem about the difference calculation for the some column value. A sample table could be like this: id timestamp state 1 7/1/2016 12:00:01 AM 1 2 7/1/2016 12:00:03 AM 0 3 7/1/2016 12:00:04 AM 1 4 7/1/2016 12:00:06 AM 0 5 7/1/2016 12:00:09 AM 1 6 7/1/2016 12:00:10 AM 0 7 7/1/2016 12:00:12 AM 1 I want to calculate the time difference for the timestamp when the state is 1, the final table I want to have is: id timestamp state time_diffence 3 7/1/2016 12

how can I link a CSS stylesheet in a Spotfire analysis?

一曲冷凌霜 提交于 2019-12-11 01:12:36
问题 I can create a Javascript in Spotfire page however I have no idea how to add CSS files. Any suggestion please? 回答1: this is not approved by Spotfire engineering, but you can inject a CSS that is hosted somewhere accessible to the machine running Spotfire (so, your local machine or a web player node) with JQuery: $('head').append('<link rel="stylesheet" href="path/to/stylesheet.css" type="text/css" />'); so just put that into a JS inside a Text Area and voila! one thing to note is that the

Spotfire IronPython Script to Scroll through a Filter and Update a Visualization Each Step (Play Button through Date Ranges)

荒凉一梦 提交于 2019-12-10 15:56:19
问题 Morning Everyone, I've been working on this issue for a couple of days and I can't figure out a fix. I've researched and googled to no avail. Any help/insight would be greatly appreciated. I am trying to create a button that when clicked will automatically go through a Date filter (starting on 1/1/15 say) and go through 1/2 -1/5 updating a map with the newly filtered marker layer as it steps through the function. I have gotten the filter to step through 1/1-1/5; however, it doesn't update the

Script to Export Spotfire Graphic to PowerPoint

二次信任 提交于 2019-12-10 11:17:19
问题 I am trying to export an active page to an existing PowerPoint presentation. I know how to do this from the title bar, but I would like to incorporate this into the IronPython code I am writing so I can do several slides at once. Thanks, Joseph 回答1: This will open up powerpoint and export one visualisation per page: from System.IO import * from Spotfire.Dxp.Application.Visuals import VisualContent from System.Drawing import Bitmap, Graphics, Rectangle, Point import clr clr.AddReference(

Spotfire Calendar Filter

一个人想着一个人 提交于 2019-12-09 23:07:42
问题 Is there a way I can use calendar filter in Spotfire? I am aware of the range filter, but I want the user to only be able to select one date from a range of dates coming from a table. 回答1: it's a little bit advanced and requires some scripting (although code is provided), but a date picker can be used: http://spotfired.blogspot.ch/2014/05/popup-calendar-webplayer-compatible.html the result is something like this: 回答2: I know this is two years old but I still came across this post and I