Calculation panel: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 7: | Line 7: | ||
Most of the time, in an Excelsheet [[Excel#X_Queries| X Queries]] are used. If you have for example three areas in your project, an X query would be as follows: | Most of the time, in an Excelsheet [[Excel#X_Queries| X Queries]] are used. If you have for example three areas in your project, an X query would be as follows: | ||
<br>SELECT....WHERE_AREA_IS_X<br> | <br>SELECT....WHERE_AREA_IS_X<br> | ||
In the | In the {{software}} this query is translated to the following three queries:<br> | ||
SELECT....WHERE_AREA_IS_0<br> | SELECT....WHERE_AREA_IS_0<br> | ||
SELECT....WHERE_AREA_IS_1<br> | SELECT....WHERE_AREA_IS_1<br> | ||
Line 13: | Line 13: | ||
When using Reset to Start Values, for example if you changed an attribute of one of these areas, the three queries are recalculated. | When using Reset to Start Values, for example if you changed an attribute of one of these areas, the three queries are recalculated. | ||
If you choose Reset X Queries, the X Query is again translated to queries. If you for example added a new area, in the | If you choose Reset X Queries, the X Query is again translated to queries. If you for example added a new area, in the {{software}} the X Query is then translated to:<br> | ||
SELECT....WHERE_AREA_IS_0<br> | SELECT....WHERE_AREA_IS_0<br> | ||
SELECT....WHERE_AREA_IS_1<br> | SELECT....WHERE_AREA_IS_1<br> | ||
Line 19: | Line 19: | ||
SELECT....WHERE_AREA_IS_3<br> | SELECT....WHERE_AREA_IS_3<br> | ||
If you used Reset to Start Values in this case, the fourth area was not taken into account, since the three queries would be recalculated again and the | If you used Reset to Start Values in this case, the fourth area was not taken into account, since the three queries would be recalculated again and the {{software}} would not translate the X query to other queries. | ||
====When to choose which option?==== | ====When to choose which option?==== |
Revision as of 09:11, 20 August 2018
Recalculate indicators is an option in the editor menu bar that will allow you to reset how indicators and panels are calculated. There are two options to recalculate indicators and panels.
- Reset to Start Values
- Reset X Queries
Below an explanation of the difference between the two options:
Most of the time, in an Excelsheet X Queries are used. If you have for example three areas in your project, an X query would be as follows:
SELECT....WHERE_AREA_IS_X
In the Tygron Platform this query is translated to the following three queries:
SELECT....WHERE_AREA_IS_0
SELECT....WHERE_AREA_IS_1
SELECT....WHERE_AREA_IS_2
When using Reset to Start Values, for example if you changed an attribute of one of these areas, the three queries are recalculated.
If you choose Reset X Queries, the X Query is again translated to queries. If you for example added a new area, in the Tygron Platform the X Query is then translated to:
SELECT....WHERE_AREA_IS_0
SELECT....WHERE_AREA_IS_1
SELECT....WHERE_AREA_IS_2
SELECT....WHERE_AREA_IS_3
If you used Reset to Start Values in this case, the fourth area was not taken into account, since the three queries would be recalculated again and the Tygron Platform would not translate the X query to other queries.
When to choose which option?
Choose Reset to X Queries if the amount of areas or neighborhoods is changed (for example by adding or removing an area). Choose Reset to Start Values if the amount of areas or neighborhoods stays the same (for example if you only changed an attribute of an area or if you did not use X Queries in your Excelsheet.
Using one of these two option affects all indicators (and panels).