diff --git a/docs/img/va-parmap-banner.png b/docs/img/va-parmap-banner.png index da8420a..c810365 100644 Binary files a/docs/img/va-parmap-banner.png and b/docs/img/va-parmap-banner.png differ diff --git a/docs/img/va-parmap-filtered.png b/docs/img/va-parmap-filtered.png index 03f5965..d8d3482 100644 Binary files a/docs/img/va-parmap-filtered.png and b/docs/img/va-parmap-filtered.png differ diff --git a/docs/img/va-parmap-transform.png b/docs/img/va-parmap-transform.png deleted file mode 100644 index be4421b..0000000 Binary files a/docs/img/va-parmap-transform.png and /dev/null differ diff --git a/docs/visual-analytics.md b/docs/visual-analytics.md index f6a234b..856e6c9 100644 --- a/docs/visual-analytics.md +++ b/docs/visual-analytics.md @@ -73,7 +73,7 @@ Repeat the parameter to add mappings. A report with two tabs, each holding its | Tab 1 | `...?embed=va&va_parmap=REGION_TAB1-REGION` | | Tab 2 | `...?embed=va&va_parmap=REGION_TAB2-REGION` | -The applied filter is visible in the editor, above the grid - here the parameter `DROPDOWN_TAB1` filtering `SOME_DROPDOWN`, which is not its name: +The applied filter is visible in the editor, above the grid - here the parameter `DROPDOWN_TAB1` filtering `SOME_DROPDOWN`, which is not its name (the date parameter beside it is name-matched, which is the default): ![A va_parmap mapping filtering a column](img/va-parmap-filtered.png) @@ -120,11 +120,7 @@ A mapping can resolve the parameter value through a **named date anchor** before https://yourserver/DC/#/editor//?embed=va&va_parmap=SELECTED_DATE-D_DATE:ADD(QUARTER_START,-1) ``` -A report that sends `SELECTED_DATE = 27FEB1961` then filters `D_DATE` on 1961-02-27 **and** 1960-10-01 - the selected date, plus the same point one quarter earlier: - -In the screenshot below the mapping is `SELECTED_DATE-SOME_DATE:ADD(QUARTER_START,-1)` against the demo table, and the parameter sends 27FEB1961: - -![A date anchor applied to the filter](img/va-parmap-transform.png) +A report that sends `SELECTED_DATE = 27FEB1961` then filters `D_DATE` on 1961-02-27 **and** 1960-10-01 - the selected date, plus the same point one quarter earlier. The clause carries both values, so the row for the selected date and the row for the previous quarter are both included.