官术网_书友最值得收藏!

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 brieflythe 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 simplerit doesn't have so many options or hints to help you, but it's only designed to enable editing of simple custom expressions:

主站蜘蛛池模板: 九龙坡区| 手游| 衡阳县| 资溪县| 淮安市| 依兰县| 收藏| 白水县| 津市市| 昆山市| 清河县| 沿河| 麻阳| 济源市| 容城县| 从化市| 平安县| 吉林市| 攀枝花市| 启东市| 湘乡市| 伊宁市| 宁阳县| 北碚区| 台东市| 巩义市| 株洲县| 财经| 富宁县| 保定市| 廊坊市| 宁晋县| 澜沧| 屯门区| 南开区| 海城市| 河间市| 长白| 武义县| 阳信县| 佛冈县|