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/provide-data/binding-to-federated-data-source.md
+38-33Lines changed: 38 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,72 +5,77 @@ author: Margarita Zakhodyaeva
5
5
6
6
# Binding to Federated Data Source
7
7
8
-
A _federated data source_ combines multiple data sources (except OLAP) in one.
8
+
You can create a federated data source if a dashboard contains at least one data source. Create a federated query where you specify how to federate existing data sources.
9
9
10
-
## Overview
10
+
You can create federated queries of the following types:
11
11
12
-
You can create a federated data source if a dashboard contains at least one data source. To do this, create a query where you specify how to federate existing data sources. The federated query can be one of the following types:
12
+
-**Join**
13
13
14
-
### Join
15
-
Combines rows from two or more tables based on a column they share. The join type specifies records that have matching values in both tables.
14
+
Combines rows from two or more tables based on a clause.
16
15
17
-
### Union
18
-
Combines rows from two or more tables into one data set and removes duplicate rows in merged tables. You can only create a union query for data sources that contain columns with the same name. Data types of such columns should be [implicitly converted](https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/types/casting-and-type-conversions#implicit-conversions).
16
+
-**Union and Union All**
19
17
20
-
### Union All
21
-
Operates like **Union**, but duplicates rows from different tables when they contain the same data.
22
-
23
-
### Transformation
24
-
Unfolds complex objects and flattens them in a simple data set. The dashboard does not support data source fields that store collections, so you need to transform the data source into a new flattened data table.
18
+
The **Union** query combines rows from two or more tables into one data set and removes duplicate rows in merged tables. The **UnionAll** query does the same, except it doesn't remove duplicated rows. You can create a union query for data sources if data types of their columns are [implicitly converted](https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/types/casting-and-type-conversions#implicit-conversions).
19
+
-**Transformation**
25
20
21
+
If a data source contains a complex column (an object), you can transform its properties to display columns separately in a flattened view.
22
+
26
23
## Create a Federated Data Source with the Data Source Wizard
27
24
28
-
To create a federated data source with the Data Source Wizard, perform the following steps:
25
+
Follow the steps below to create a federated data source with the Data Source Wizard:
26
+
### Create a New Federated Data Source
29
27
30
-
1.Click the **New Data Source** button in the **Data Source** ribbon tab.
28
+
Click the **New Data Source** button in the **Data Source** ribbon tab.
3.The [Query Builder](../../dashboard-designer/work-with-data/using-the-query-builder.md)dialog displays available data sources.
37
+
The [Query Builder](../../dashboard-designer/work-with-data/using-the-query-builder.md) displays the available data sources you can use to create queries.
Drag the data sources you want to join to the diagram pane, specify the related column to create the relationship between tables, and select the columns you want to include in the query. Use _* (All Columns)_ to get a complete list of columns from a table. Columns included in the query are displayed in the bottom pane where you can configure their settings.
45
44
46
-
Drag-and-drop the data sources, specify the related column to create the relationship between tables, and select the columns you want to include in the query. Use _* (All Columns)_ to get a complete list of the columns from a table. Columns included in the query are displayed in the bottom pane where you can configure their settings.
Double-click the data sources you want to combine. Unlike join queries, you cannot select individual columns. Columns included in the query are displayed in the bottom pane where you can specify their aliases.
49
+
Double-click the data sources you want to combine. Unlike Join queries, you cannot select individual columns. Columns included in the query are displayed in the bottom pane where you can specify their aliases.
Double-click the data sources you want to combine. A **UnionAll** query duplicates rows from different tables even if they contain the same data. Columns included in the query are displayed in the bottom pane where you can specify their aliases.
Select a data source/query that contains columns you want to transform. Select the **Transform** checkbox next to the column you want to unfold and flatten. The bottom pane allows you to specify the aliases for the generated columns.
The Data Source Wizard invokes the following page if one of the selected data sources contains calculated fields. Drag or double-click the calculated field you want to copy to the resulting federated data source. You can specify the name of the copied calculated field in the left Grid.
The query name is the same as the root table's name in the query builder. Click the **Rename** button in the **Query** group on the **Data Source** ribbon tab to change the query name.
81
+
The query name is the same as the root table's name in the query builder. Click the **Rename** button in the **Query** group on the **Data Source** ribbon tab to change the query name.
Refer to the following topic for information about connection string format and options: [Connection String URI Format](https://docs.mongodb.com/manual/reference/connection-string/).
4. The following page allows you to configure queries. Select databases and collections that you want to load from the MongoDB instance. A string stored in a query's **Collection** column is the default name for the query. The names of MongoDB queries should be unique. You can use the **Alias** column to set unique names for queries in the same collection. To filter queries, add a filter string to the **Filter** column.
Copy file name to clipboardExpand all lines: dashboard-for-desktop/articles/dashboard-designer/provide-data/supported-data-sources.md
+22-11Lines changed: 22 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ legacyId: 17239
6
6
# Supported Data Sources
7
7
The Dashboard Designer allows you to establish a connection to various data sources such as SQL databases, Microsoft Excel workbooks, XML/CSV data files or OLAP cubes.
To create a connection to a SQL data source, see[Binding to SQL databases](connecting-to-sql-databases.md).
46
+
See the following topic for information on how to create a connection to a SQL data source:[Binding to SQL databases](connecting-to-sql-databases.md).
49
47
50
48
## OLAP Data Source
51
-
To use the OLAP data source, the Dashboard Designer requires Microsoft Analysis Services OLE DB and Microsoft ADOMD.NET providers to be installed on your machine. To learn more, see[Data providers used for Analysis Services connections](https://msdn.microsoft.com/en-us/library/dn141152.aspx#bkmk_OLE).
49
+
To use the OLAP data source, the Dashboard Designer requires Microsoft Analysis Services OLE DB and Microsoft ADOMD.NET providers to be installed on your machine. Refer to the following topic for more information:[Data providers used for Analysis Services connections](https://msdn.microsoft.com/en-us/library/dn141152.aspx#bkmk_OLE).
52
50
53
-
The following OLAP servers are supported.
51
+
The following OLAP servers are supported:
54
52
* Microsoft SQL Server 2000 Analysis Services
55
53
* Microsoft SQL Server 2005 Analysis Services
56
54
* Microsoft SQL Server 2008 Analysis Services
@@ -62,7 +60,7 @@ The following OLAP servers are supported.
62
60
To create a connection to an OLAP cube data source, see [Binding to OLAP cubes](connecting-to-olap-cubes.md).
63
61
64
62
## Microsoft Excel Workbooks/CSV Files
65
-
The following Microsoft Excel/text formats are supported.
63
+
The following Microsoft Excel/text formats are supported:
66
64
* XLS
67
65
* XLSX
68
66
* XLSM
@@ -98,7 +96,7 @@ This data is saved to a local file and can be updated from the original data sou
98
96
99
97
## Object Data Source
100
98
101
-
The Dashboard Designer provides a connection to an object data source defined in a separate class within a current project.
99
+
The Dashboard Designer allows you to connect to an object data source defined in a separate class within the current project.
102
100
103
101
To create a connection to an Object data source, see [Binding to Object Data Sources](binding-to-object-data-sources.md).
104
102
@@ -118,8 +116,21 @@ To create a connection to an EF data source, see [Connect to EF Data Sources](co
118
116
*[SQL Data Source](#sql-data-source)
119
117
*[Excel Data Source](#microsoft-excel-workbookscsv-files)
120
118
*[Object Data Source](#object-data-source)
119
+
*[MongoDB](#mongodb)
120
+
121
+
See the following topic for information on how to create a federated data source with the **Data Source Wizard**: [Binding to Federated Data Source](binding-to-federated-data-source.md).
122
+
123
+
## MongoDB
124
+
125
+
The Dashboard Designer allows you to connect to a MongoDB instance and stores data in JSON-like documents.
126
+
127
+
The [MongoDB.Driver](https://www.nuget.org/packages/MongoDB.Driver) package should be installed in your project to supply MongoDB data at runtime.
128
+
129
+
You can use MongoDB as the original data source to create an Extract database. MongoDB can be used to create a federated data source.
130
+
131
+
You can filter the MongoDB data source and add calculated fields.
121
132
122
-
To create a Federated data source with the **Data Source Wizard**, see [Binding to Federated Data Source](binding-to-federated-data-source.md).
133
+
Refer to the following article for more information on how to connect to MongoDB: [Binding to MongoDB](binding-to-mongodb.md).
0 commit comments