Trefík - software for sport betting
 

Sample - Ranking at the Previous Season

The following short sample illustrates how to filter the matches using combined conditions at the Filter / Conditions section. We will filter according to the ranking at the previous season of the same league. The task is to display the matches with the winners of the previous season.
To display the ranking at the previous season it is possible to use the Filter at the Offer window. We need to activate the Previous Seasos data and define the new columns with the ranking.

First we need to display the Filter window. This time it is enough to activate the section PREV. SEASON this way:
The options RETURN AS A COLUMN causes that the ranking we need would be accessible at the section Filter / Columns (to show this section click the button MORE .. at the right bottom area):
The button EDIT opens the window Filter / Columns. The values "#-1S Home"and "#-1S Away" are accessible. These value are just the ranking data from the previous season:
We need to activate both values - and then we can see them at the Offer window as two new columns.
When using the changed filter we get:
.. if we cannot see both new columns it is necessary to press the button for reseting the column settings (the mouse cursor is close to that button at the picture).

The task is to show only the matches with the previous season winners. It means we need to display just the records where the home team OR the away team ranking at the previous season is equal to ONE.

We need to use the feature Filter / Conditions. By clicking the button EDIT at this section we get the following window:
.. we need to enter data for comparing both new columns to the value ONE. Both rows with the definition must be connected with the logical operator OR. The second row was created using the button "+++" (a new sub-level row is created for the condition definition).

The picture shows the condition: the ranking at the previous season for the home team must be equal to one OR the ranking at the previous season for the away team must be equal to one.

When using the modified filter we can get the matches:
.. which meets the task goal.
 
 
12.11.2015