- TIBCO Spotfire:A Comprehensive Primer(Second Edition)
- Andrew Berridge Michael Phillips
- 241字
- 2021-06-24 15:04:32
Spotfire custom expressions
So far, we have selected columns and aggregation functions on visualization axes. These are selected by the (now familiar) axis selector dropdowns. Behind the scenes, Spotfire is translating the selections made by you into an "expression." This expression determines how Spotfire aggregates or displays the data on a visualization.
It's possible to see the expressions behind the visualizations by right-clicking on an axis selector on a visualization or a visualization property page. For example, if we revisit the KPI chart we just created, we can see the expressions that drive the data that is shown. It's then also possible to customize any of the expressions therein.
A simple example of an expression is as follows:
Avg([Close])
What does this represent in Spotfire? Simply put, Spotfire will calculate the average of the Close column and display it. You can access the expressions wherever you see an axis selector. For the preceding KPI chart, try right-clicking on the Value (y-axis) selector and clicking Custom Expression...:

In Analyst clients, you'll see the full expression editor pop up:

Study the dialog briefly—the individual parts of it will be discussed in more detail later on. We will be using a custom expression in the next example.
In the web client, the expression editor is simpler—it doesn't have so many options or hints to help you, but it's only designed to enable editing of simple custom expressions:

- R Data Mining
- 3D Printing with RepRap Cookbook
- 空間機(jī)器人遙操作系統(tǒng)及控制
- 輕松學(xué)Java
- 單片機(jī)技術(shù)項(xiàng)目化原理與實(shí)訓(xùn)
- Photoshop CS4數(shù)碼攝影處理50例
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)實(shí)訓(xùn)·職業(yè)模塊
- 自適應(yīng)學(xué)習(xí):人工智能時(shí)代的教育革命
- 中老年人學(xué)電腦與上網(wǎng)
- Practical Network Automation
- Microsoft Office 365:Exchange Online Implementation and Migration(Second Edition)
- 智能座艙之車載機(jī)器人交互設(shè)計(jì)與開發(fā)
- Apache Spark Machine Learning Blueprints
- 數(shù)據(jù)庫技術(shù)及應(yīng)用
- Artificial Intelligence for Robotics