diff --git a/docs/img/va-report-filter-line.png b/docs/img/va-report-filter-line.png deleted file mode 100644 index 59d7bfb..0000000 Binary files a/docs/img/va-report-filter-line.png and /dev/null differ diff --git a/docs/img/va-report-filters.png b/docs/img/va-report-filters.png index 705d3d5..3569cf4 100644 Binary files a/docs/img/va-report-filters.png and b/docs/img/va-report-filters.png differ diff --git a/docs/visual-analytics.md b/docs/visual-analytics.md index b8c24dc..f6a234b 100644 --- a/docs/visual-analytics.md +++ b/docs/visual-analytics.md @@ -50,7 +50,7 @@ VA pushes a JSON payload to the iframe via `window.postMessage` whenever the sel If VA sends an empty / unmatched message the editor falls back to the unfiltered view but stays in VA mode. -The applied filter is shown above the grid, so what the report did to the editor is visible without touching it. In the report below, two report parameters - `SOME_DROPDOWN` and `SOME_DATE` - reach one Data Controller object, and the editor shows both the combined filter and the single row it matches: +In the report below, two report parameters - `SOME_DROPDOWN` and `SOME_DATE` - reach one Data Controller object, and the editor shows both the combined filter and the rows it matches: ![A value and a date parameter filtering the embedded editor](img/va-report-filters.png) @@ -184,9 +184,11 @@ The mapping lives entirely in the URL of the report object, so the job is to get FILTER : ( ( REGION = 'Europe' ) ) ``` - A date parameter arrives as a display date and is rendered as a SAS date literal, the same as a date filter built inside Data Controller - `'12FEB1960'd` below, over the row it matches: + A date parameter arrives as a display date and is rendered as a SAS date literal, the same as a date filter built inside Data Controller: - ![A date parameter rendered as a SAS date literal](img/va-report-filter-line.png) + ```text + FILTER : ( ( SOME_DROPDOWN = 'Option 1' AND SOME_DATE BETWEEN '01JAN1960'd AND '31MAR1960'd ) ) + ``` Something wrong shows the banner instead, with the cause and the fix - see [When a mapping cannot be used](#when-a-mapping-cannot-be-used) above.