You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dashboard-for-desktop/articles/dashboard-designer/data-analysis/expression-constants-operators-and-functions.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -318,6 +318,7 @@ Iif(Name = 'Bob', 1, Name = 'Dan', 2, Name = 'Sam', 3, 0)
318
318
| CharIndex(String1, String2) | Returns the starting position of String1 within String2, beginning from the zero character position to the end of a string. | CharIndex('e', 'devexpress') |
319
319
| CharIndex(String1, String2, StartLocation) | Returns the starting position of String1 within String2, beginning from the StartLocation character position to the end of a string. | CharIndex('e', 'devexpress', 2) |
320
320
| Concat(String1, ... , StringN) | Returns a string value containing the concatenation of the current string with any additional strings. | Concat('A', ')', [ProductName]) |
321
+
| Contains(String1, SubString1) | Returns True if SubString1 occurs within String1; otherwise, False is returned.| Contains([ProductName], 'dairy') |
321
322
| EndsWith(String1, SubString1) | Returns True if the end of String1 matches SubString1; otherwise, False is returned. | EndsWith([Description], 'The end.') |
322
323
| Insert(String1, StartPosition, String2) | Inserts String2 into String1 at the position specified by StartPositon | Insert([Name], 0, 'ABC-') |
323
324
| Len(Value) | Returns an integer containing either the number of characters in a string or the nominal number of bytes required to store a variable. | Len([Description]) |
Copy file name to clipboardExpand all lines: dashboard-for-desktop/articles/dashboard-designer/data-shaping/filtering.md
+46-18Lines changed: 46 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,40 +3,68 @@ title: Filtering
3
3
author: Natalia Kazakova
4
4
legacyId: 16532
5
5
---
6
+
6
7
# Filtering
7
-
The **Dashboard** allows you to filter a [query](../working-with-data/filter-queries.md) of the [SQL Data Source](../providing-data/connecting-to-sql-databases.md) or apply filtering to a specific data-aware dashboard item.
8
+
The Dashboard Designer allows you to filter data in the dashboard items or apply filters to a specific measure. [Dimensions](../binding-dashboard-items-to-data/binding-dashboard-items-to-data.md) and [hidden dimensions](../binding-dashboard-items-to-data/hidden-data-items.md) are used to build filter criteria.
9
+
10
+
## Dashboard Item Filter
8
11
9
-
This topic describes how to enable and reset filtering.
12
+
Filters that apply to a [dashboard item](../designing-dashboard-items.md) affect only this item. To add filters, select the target dashboard item and do one of the following:
10
13
11
-
## Apply Filtering
12
-
To configure filtering, select the target dashboard item and do one of the following.
13
-
* If you are using a Ribbon menu, click the **Edit Filter** button in the **Data** tab.
14
+
* Click the **Edit Filter** button in the Ribbon menu's **Data** tab.
This will invoke the **Filter Editor** dialog. Use this dialog to build filter criteria with a convenient tree-like interface.
21
+
This invokes the [Filter Editor](../../../../interface-elements-for-desktop/articles/filter-editor/filter-data-via-the-filter-editor.md) dialog that allows you to build complex filter criteria:
You can use [hidden dimensions](../binding-dashboard-items-to-data/hidden-data-items.md) within the Filter Editor dialog, allowing you to filter data based on their values.
* Right-click a dashboard item and select **Clear** from its context menu.
28
+
To clear the applied filter, select **Clear** from the dashboard item's context menu or click the **Clear** button in the **Data** Ribbon tab.
29
+
30
+
## Measure Filter
31
+
32
+
You can apply filters to individual [measures](../binding-dashboard-items-to-data/binding-dashboard-items-to-data.md). If you create multiple measures that only differ in applied filters, you can compare values calculated over different date-time periods or against different categories.
33
+
34
+
Select a dashboard item and right-click a measure to be filtered. Select **Edit Filter** from its context menu.
To clear the applied filter, select **Clear** from the measure's context menu.
47
+
48
+
> [!Note]
49
+
> The measure filter is technically an expression that uses the `filter(summaryExpression, filterCriteria)` function, where `summaryExpression` is the measure to be filtered and `filterCriteria` is the filter. See the following topic for more information about functions you can use in dashboard expressions: [Expression Constants, Operators, and Functions](../data-analysis/expression-constants-operators-and-functions.md).
50
+
51
+
The image below shows a Chart with three measures:
52
+
53
+
-_2019 - Opened_ is filtered by year 2019.
54
+
-_2020 - Opened_ is filtered by year 2020.
55
+
-_Opened_ is the original measure without filters.
You can use the Filter Editor to filter a dashboard item according to the current parameter value. See the following topic for details: [Pass Parameter Values](../data-analysis/using-dashboard-parameters/passing-parameter-values.md).
32
60
33
61
## OLAP Filtering Specifics
34
-
You cannot apply filtering by building complex filter criteria in [OLAP](../binding-dashboard-items-to-data/binding-dashboard-items-to-data-in-olap-mode.md) mode. Instead, you can filter dimension attributes and hierarchies by manually selecting the values you wish (or do not wish) to include in the dashboard.
62
+
You cannot filter data by building complex filter criteria in [OLAP](../binding-dashboard-items-to-data/binding-dashboard-items-to-data-in-olap-mode.md) mode. Instead, select the values you wish to include in or exclude from the dashboard to filter dimension attributes and hierarchies.
35
63
36
64
For dimension attributes, the Filter Editor contains a list of all values. You can select the values that you wish to display.
0 commit comments