Skip to content

Commit e25a37b

Browse files
author
epolevikov
committed
Upd
1 parent 963b46d commit e25a37b

File tree

48 files changed

+69
-307
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+69
-307
lines changed

interface-elements-for-web/articles/report-designer/use-report-parameters/cascading-report-parameters.md

Lines changed: 5 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: Sergey Andreev
77

88
You can create cascading parameters to filter a list of predefined parameter values based on values in another parameter.
99

10-
![Cascading parameters example](../../../../images/cascadingparametersresult124540.png)
10+
![Cascading parameters example](../../../images/eurd-web-cascading-parameter-result.png)
1111

1212
> [!TIP]
1313
> Refer to the following topics for information on how to create a list of predefined parameter values:
@@ -18,42 +18,19 @@ Follow the steps below to create cascading parameters in the [Report Designer](.
1818

1919
1. [Create a report parameter](create-a-report-parameter.md) you want to use to filter values of another parameter.
2020

21-
![Create category parameter](../../../../images/create-category-cascading-parameter.png)
21+
![Create category parameter](../../../images/create-category-cascading-parameter.png)
2222

2323
2. Create a report parameter whose values you want to filter. Click the **Filter String** property's ellipsis button in the **Add New Parameter** dialog and specify a filter string that references the parameter you created in the first step.
2424

25-
![Create products parameter](../../../../images/create-product-cascading-parameter.png)
25+
![Create products parameter](../../../images/eurd-web-cascading-parameter-filterstring.png)
2626

2727
> [!NOTE]
2828
> In a filter string for a parameter's look-up values, you can reference only those parameters that you created before the parameter whose look-up values you want to filter. You can use the **Report Parameters Editor** to change the order in which you created the parameters. To invoke the editor, right-click the **Parameters** node in the [Field List](../report-designer-tools/ui-panels/field-list.md) and select **Edit Parameters**.
2929
3030
3. In the report's smart tag, click the **Filter String** property's ellipsis button. In the invoked **FilterString Editor**, specify an expression that uses both parameters to filter report data:
3131

32-
![Create a filter condition for a report](../../../../images/filteringreportbytwoparameters124539.png)
32+
![Create a filter condition for a report](../../../images/eurd-web-cascading-parameter-report-filterstring.png)
3333

3434
The following image illustrates cascading parameters where the **Product** parameter values are filtered by the selected **Category**.
3535

36-
![Cascading parameters example](../../../../images/cascadingparametersresult124540.png)
37-
38-
# Cascading Report Parameters (Old)
39-
40-
You can filter the list of predefined parameter values by another parameter's value to create **cascading parameters**.
41-
42-
> [!TIP]
43-
> See the following topics for information on how to specify a predefined list of parameter values:
44-
> * [Report Parameters with Predefined Static Values](report-parameters-with-predefined-static-values.md) - to directly specify the list of values.
45-
> * [Report Parameters with Predefined Dynamic Values](report-parameters-with-predefined-dynamic-values.md) - to specify the storage that contains the list of values.
46-
47-
Follow the steps below to filter the list of parameter values by another parameter's value.
48-
49-
1. Click the **Filter String** property's ellipsis button in the **Add Parameter** dialog and specify a filter string that refers to another parameter.
50-
51-
![Specify Filter String](../../../../images/eurd-web-cascading-parameter-filterstring.png)
52-
53-
1. In the report's smart tag, click the **Filter String** property's ellipsis button. In the invoked **Filter Editor**, specify an expression that uses both parameters:
54-
55-
![Specify Report Filter String](../../../../images/eurd-web-cascading-parameter-report-filterstring.png)
56-
57-
The following image illustrates cascading parameters where the **Product** parameter values are filtered by the selected **Category**.
58-
59-
![Report Result](../../../../images/eurd-web-cascading-parameter-result.png)
36+
![Cascading parameters example](../../../images/eurd-web-cascading-parameter-result.png)

interface-elements-for-web/articles/report-designer/use-report-parameters/create-a-report-parameter.md

Lines changed: 16 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -9,39 +9,29 @@ This topic demonstrates how to create a report parameter in the [Report Designer
99

1010
## Create a Report Parameter in the Report Designer
1111

12-
In the **Report Designer**, you can create a parameter from the [Field List](../report-designer-tools/ui-panels/field-list.md), [Properties panel](../report-designer-tools/ui-panels/properties-panel.md), or [Filter Editor](../use-expressions.md#filter-editor). The created parameter appears in the [Field List](../report-designer-tools/ui-panels/field-list.md)'s **Parameters** node.
12+
In the **Report Designer**, you can create a parameter from the [Field List](../report-designer-tools/ui-panels/field-list.md) and [Properties panel](../report-designer-tools/ui-panels/properties-panel.md). The created parameter appears in the [Field List](../report-designer-tools/ui-panels/field-list.md)'s **Parameters** node.
1313

14-
![A parameter in the Field List](../../../../images/field-list-parameters-section.png)
14+
![A parameter in the Field List](../../../images/field-list-parameters-section.png)
1515

1616
### Create From the Field List
1717

18-
Right-click the **Parameters** node in the [Field List](../report-designer-tools/ui-panels/field-list.md) and select **Add Parameter**.
18+
Click the plus button in the [Field List](../report-designer-tools/ui-panels/field-list.md)'s **Parameters** node.
1919

20-
![Create a parameter from the Field List](../../../../images/field-list-add-parameter.png)
20+
![Create a parameter from the Field List](../../../images/field-list-add-parameter.png)
2121

2222
Specify [parameter options](#parameter-options) in the invoked **Add New Parameter** dialog and click *OK*.
2323

24-
![Add New Parameter dialog](../../../../images/add-new-parameter-dialog.png)
24+
![Add New Parameter dialog](../../../images/add-new-parameter-dialog.png)
2525

26-
### Create From the Properties Window
26+
### Create From the Properties Panel
2727

28-
Select a report and click the **Parameters** property's ellipsis button in the [Properties panel](../report-designer-tools/ui-panels/properties-panel.md).
28+
Select a report, navigate to the [Properties panel](../report-designer-tools/ui-panels/properties-panel.md) *Data* section, and click the plus button right to the *Parameters* node.
2929

30-
![Create a parameter from the Properties panel](../../../../images/property-grid-add-parameter.png)
31-
32-
Click **Add** in the invoked **Report Parameters Editor** dialog to add a new parameter. Specify [parameter options](#parameter-options) and click *OK*.
33-
34-
![Report Parameters Editor](../../../../images/report-parameters-editor.png)
35-
36-
### Create From the FilterString Editor
37-
38-
You can create a parameter when you construct a condition in the [Filter Editor](../use-expressions.md#filter-editor). Choose the **Select a parameter** field, click the field, and select **Add Parameter** in the invoked context menu.
39-
40-
![Create a parameter from the Filter String editor](../../../../images/filter-string-editor-add-parameter.png)
30+
![Create a parameter from the Properties panel](../../../images/property-grid-add-parameter.png)
4131

4232
Specify [parameter options](#parameter-options) in the invoked **Add New Parameter** dialog and click *OK*.
4333

44-
![Add New Parameter dialog](../../../../images/add-new-parameter-dialog.png)
34+
![Add New Parameter dialog](../../../images/add-new-parameter-dialog.png)
4535

4636
## Parameter Options
4737

@@ -53,31 +43,25 @@ The name by which you can [reference a parameter in a report](reference-report-p
5343

5444
A parameter description that appears on a report's **Print Preview** in the [Parameters panel](parameters-panel.md).
5545

56-
![Parameter description](../../../../images/parameter-description.png)
46+
![Parameter description](../../../images/parameter-description.png)
5747

5848
### Visible
5949

6050
Specifies whether a parameter is visible in the [Parameters panel](parameters-panel.md).
6151

62-
![Parameter editor](../../../../images/parameter-editor.png)
63-
6452
You can assign an [expression](../use-expressions.md) to this option. The example below specifies an expression that shows/hides a parameter based on a value of another parameter.
6553

66-
![Specify an expression for the Visible option](../../../../images/specify-expression-for-visible-option.png)
67-
68-
![Show/hide a parameter's editor based on a value of another parameter](../../../../images/show-hide-parameter-editor.gif)
54+
![Specify an expression for the Visible option](../../../images/specify-expression-for-visible-option.png)
6955

7056
### Enabled
7157

7258
Specifies whether a parameter editor is enabled or disabled in the [Parameters panel](parameters-panel.md). You can set this option to **No** to make a parameter's [default value](#default-value) read-only.
7359

74-
![Disabled parameter editor](../../../../images/disabled-parameter-editor.png)
60+
![Disabled parameter editor](../../../images/disabled-parameter-editor.png)
7561

7662
You can also assign an [expression](../use-expressions.md) to this option. The example below specifies an expression that enables/disables a parameter's editor based on a value of another parameter.
7763

78-
![Specify an expression for the Enabled option](../../../../images/specify-expression-for-enabled-option.png)
79-
80-
![Enable/disable a parameter's editor based on a value of another parameter](../../../../images/enable-disable-parameter-editor.gif)
64+
![Specify an expression for the Enabled option](../../../images/specify-expression-for-enabled-option.png)
8165

8266
### Type
8367

@@ -100,7 +84,7 @@ A parameter's default value. This value is displayed in the [Parameters panel](p
10084

10185
You can specify an [expression](../use-expressions.md) for this option. For example, set this option to **Now()** to use the current date as a date parameter's default value.
10286

103-
![Specify an expression for a parameter's Default Value option](../../../../images/specify-expression-for-parameter-default-value.png)
87+
![Specify an expression for a parameter's Default Value option](../../../images/specify-expression-for-parameter-default-value.png)
10488

10589
> [!NOTE]
10690
> You can use only [constants](../use-expressions/expression-syntax.md#constants), [operators](../use-expressions/expression-syntax.md#operators), and date-time / logical / math / string [functions](../use-expressions/expression-syntax.md#functions-basic) in an expression for a parameter's default value.
@@ -109,13 +93,13 @@ You can specify an [expression](../use-expressions.md) for this option. For exam
10993

11094
When the **Allow Null Value** option is enabled, you can leave the parameter's value unspecified.
11195

112-
![Allow Null Value option](../../../../images/parameter-editor-null-value.png)
96+
![Allow Null Value option](../../../images/parameter-editor-null-value.png)
11397

11498
### Allow Multiple Values
11599

116100
When the **Allow Multiple Values** option is enabled, you can specify multiple values for a report parameter.
117101

118-
![Allow Multiple Values option](../../../../images/parameter-editor-multiple-values.png)
102+
![Allow Multiple Values option](../../../images/eurd-web-parameter-editor-multiple-values.png)
119103

120104
### Select All Values
121105

@@ -131,36 +115,3 @@ Use the **Value Source** option to specify a custom set of values a parameter ca
131115
* [Report Parameters with Predefined Static Values](report-parameters-with-predefined-static-values.md)
132116
* [Report Parameters with Predefined Dynamic Values](report-parameters-with-predefined-dynamic-values.md)
133117
* [Date Range Report Parameters](date-range-report-parameters.md)
134-
135-
# Create a Report Parameter (Old)
136-
137-
This topic describes how to create a basic report parameter and specify its value.
138-
139-
## Create a Parameter
140-
141-
Click the ![plus](../../../../images/eurd-web-parameters-button-plus.png) button next to **Parameters** in the the [Field List](../../report-designer-tools/ui-panels/field-list.md) to invoke the **Add Parameter** dialog.
142-
143-
![Field List - Add Parameter](../../../../images/eurd-web-fieldlist-add-parameter.png)
144-
145-
Specify the following basic options:
146-
147-
| Option | Description |
148-
| --- | --- |
149-
| **Name** | A parameter should have a unique name. You can use this name to refer to this parameter in expressions and filter strings. |
150-
| **Type** | Specifies which values a parameter can accept. |
151-
| **Value** or **[Expression](../../use-expressions.md#expression-syntax)** | Specifies a parameter's value. Expressions can include data source fields or other parameters. When evaluated, expressions are parsed and processed to obtain a value. |
152-
153-
## Use the Parameters Panel to Ask for User Input
154-
155-
Enable the **Visible** option to make your report interactive. The Preview displays the **Parameters** panel that shows editors for report parameters marked as visible. This allows you to specify a value before the report is rendered. Specify the parameter's **Description** to display the editor's caption in the **Parameters** panel.
156-
157-
![Parameters Panel](../../../../images/eurd-web-parameters-create-date-parameter.png)
158-
159-
> [!TIP]
160-
> Disable the report's **Request Parameters** property to avoid the **Waiting for parameter values** message in **Preview** and display the report with default parameter values.
161-
162-
Enable the **Allow Null** property if the parameter's value can be unspecified.
163-
164-
The following image shows editors for different parameter types.
165-
166-
![Parameter Editors](../../../../images/eurd-web-parameter-editors.png)

interface-elements-for-web/articles/report-designer/use-report-parameters/date-range-report-parameters.md

Lines changed: 6 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -7,80 +7,28 @@ author: Sergey Andreev
77

88
This topic describes how to create a date range parameter and filter a report's data by the specified dates.
99

10-
![A date range parameter's editor in Preview](../../../../images/eurd-win-date-ranges-parameters-panel.png)
10+
![A date range parameter's editor in Preview](../../../images/eurd-web-date-ranges-parameters-panel.png)
1111

1212
## Create a Date Range Parameter in the Report Designer
1313

1414
Follow the steps below to add a date range parameter to a report in the [Report Designer](../first-look-at-the-report-designer.md):
1515

1616
1. [Create a report parameter](create-a-report-parameter.md) and set the **Value Source** option to **Range Parameters**. The **Start Parameter** and **End Parameter** sections appear, and you can configure options in these sections to create a date range.
1717

18-
![add-parameter-dialog](../../../../images/use-date-ranges-design-add-param-dialog.png)
18+
![add-parameter-dialog](../../../images/use-date-ranges-design-add-param-dialog.png)
1919

2020
2. Set the name and initial value for the **Start Parameter** and **End Parameter**. To specify an [expression](../use-expressions.md) instead of a static value, click the **Value** option's ellipsis button and use the **Expression Editor** dialog.
2121

22-
![value-expression](../../../../images/use-date-ranges-design-value-expression.png)
22+
![value-expression](../../../images/use-date-ranges-design-value-expression.png)
2323

2424
After you create a date range parameter, you can reference the names of the **Start Parameter** and **End Parameter** in the report's filter string to [filter the report's data](../shape-report-data/filter-data/filter-data-at-the-report-level.md) by the created date range. Select the report, click the **FilterString**'s ellipsis button in the **Properties window**, and construct a filter condition in the invoked **FilterString Editor**.
2525

26-
![filterstring](../../../../images/use-date-ranges-filterstring.png)
26+
![filterstring](../../../images/eurd-web-date-ranges-filterstring.png)
2727

2828
When you switch to the report's **Print Preview** tab, the [Parameters panel](parameters-panel.md) displays the date range parameter. After you submit a start and end date, the report document shows filtered data.
2929

30-
![A date range parameter's editor in Preview](../../../../images/eurd-win-date-ranges-parameters-panel.png)
30+
![A date range parameter's editor in Preview](../../../images/eurd-web-date-ranges-parameters-panel.png)
3131

3232
The start and end parameter values store the selected day's midnight time. For instance, if you choose _10/15/2019_, the *DateTime* value is _10/15/2019 12:00:00 AM_. If your date fields include non-midnight times, records for the end date _10/15/2019_ are excluded from the report. To include data for the 10/15/2019 date, use the **GetDate()** function in the **FilterString Editor**.
3333

34-
![Filter String - GetDate](../../../../images/eurd-win-date-ranges-filterstring-getdate.png)
35-
36-
# Date Range Report Parameters (Old)
37-
38-
This document describes how to create a date range parameter and filter report data by the specified dates.
39-
40-
![A date range parameter's editor in Preview](../../../../images/eurd-web-date-ranges-parameters-panel.png)
41-
42-
Perform the steps below to add a date range parameter to a report.
43-
44-
1. Switch to the [Field List](../../report-designer-tools/ui-panels/field-list.md) and click the ![plus](../../../../images/eurd-web-parameters-button-plus.png) button next to **Parameters**.
45-
46-
![Add Parameter](../../../../images/eurd-web-date-ranges-add-param.png)
47-
48-
1. Specify the options below in the invoked **Add Parameter** dialog and click **OK**.
49-
50-
- **Name**
51-
52-
The parameter's name.
53-
54-
- **Description**
55-
56-
The parameter's description displayed to users.
57-
58-
- **Type**
59-
60-
The parameter's data type. Set it to **Date** to create a date range.
61-
62-
- **Visible**
63-
64-
This option enables the **Preview** to show the parameter's editor in the **Parameters** panel. See [Use the Parameters Panel to Ask for User Input](create-a-report-parameter.md#use-the-parameters-panel-to-ask-for-user-input) for more information.
65-
66-
- **Value Source**
67-
68-
Settings that are used to generate the parameter's predefined values. Set this property to **Range Parameters**. The **Start Parameter** and **End Parameter** sections appear where you can configure the inner parameters.
69-
70-
![Add Parameter Dialog](../../../../images/eurd-web-date-ranges-add-param-dialog.png)
71-
72-
- Use the **Start Parameter** and **End Parameter**'s **Value** properties to specify default values. Use the **Expression** properties to conditionally specify parameter values or to bind them to fields or other parameters. Click the **Expression** property's ellipsis button and specify an expression in the invoked **Expression Editor**.
73-
74-
![value-expression](../../../../images/eurd-web-date-ranges-value-expression.png)
75-
76-
1. Use the start and end parameter names in the report's filter string to [filter data](../filter-data/filter-data-at-the-report-level.md) by the created date range. Select the report, click the **Filter String** property's ellipsis button in the [Properties Panel](../../report-designer-tools/ui-panels/properties-panel.md), and construct the filter string in the invoked **Filter Editor**.
77-
78-
![Filter String](../../../../images/eurd-web-date-ranges-filterstring.png)
79-
80-
> [!NOTE]
81-
> The start and end parameter values store the selected day's midnight time. For instance, if you choose _10/15/2019_, the DateTime value is _10/15/2019 12:00:00 AM_. If your date fields include non-midnight time, records for the end date _10/15/2019_ are excluded from a report. Use the **GetDate()** function in the **Filter Editor** to include data for the 10/15/2019 date.
82-
> ![Filter String - GetDate](../../../../images/eurd-web-date-ranges-filterstring-getdate.png)
83-
84-
When you switch to **Preview**, the **Parameters** panel displays the date range parameter. After you submit a start and end date, a report document is displayed with filtered data.
85-
86-
![A date range parameter's editor in Preview](../../../../images/eurd-web-date-ranges-parameters-panel.png)
34+
![Filter String - GetDate](../../../images/eurd-web-date-ranges-filterstring-getdate.png)

0 commit comments

Comments
 (0)