XLCubed is now FluenceXL. The new wiki can be found here: https://help.fluencexl.com/

Difference between revisions of "Managing Connections"

Line 1: Line 1:
The '''Manage Connections''' form is available from the {{Menu|XLCubed|Connections}} ribbon or menu item. It allows you to view, edit and delete existing connections for the workbook, and to create new connections when required.
+
The '''Manage Connections''' form is available from the {{Menu|XLCubed|Connections}} ribbon item. It allows you to view, edit and delete existing connections for the workbook, and to create new connections when required.
  
 
==Connecting to your data==
 
==Connecting to your data==
Line 5: Line 5:
 
One workbook can support multiple connections to different cubes or databases. Whenever XLCubed detects you require a connection to a cube or database, you will have the opportunity to select an existing one or to create one as described below.
 
One workbook can support multiple connections to different cubes or databases. Whenever XLCubed detects you require a connection to a cube or database, you will have the opportunity to select an existing one or to create one as described below.
  
==Cube Connections==
+
To create a new connection open the Connection Manager from {{Menu|XLCubed|Connections}} and select''Add''. Any connection you have made recently will be displayed for easy access.
<!--the following span is for the sidebar menu--><span id="Connection_Manager"> </span>
 
*To make a connection select {{Menu|XLCubed|Connections}} and press ''Add''
 
  
[[Image:I5.png|20px|left]]
+
[[Image:I3.png|350px|centre]]
 +
 
 +
Alternatively, select the New Connection tab to create a new connection. Here, choose the server type and provide the appropriate detail.
 +
 
 +
Continue to add as many connections as needed.
  
*The display shows any recent connections, which can quickly be re-used by selecting and pressing ''OK''
+
===Cube Connections===
 
[[Image:I3.png|350px|centre]]
 
  
*For a new connection, select the New Connection tab, choose the server type and specify the appropriate detail as below:
+
For a new connection, select the New Connection tab, choose the server type and specify the appropriate detail as below:
  
 
:: ''Analysis Services Server:'' Type the server name
 
:: ''Analysis Services Server:'' Type the server name
Line 21: Line 21:
 
:: ''Analysis Services Cube file:'' Browse to locate the local cube file
 
:: ''Analysis Services Cube file:'' Browse to locate the local cube file
 
:: ''XLCubed Connection:'' Type the URL of the XLCubed Web Edition server to connect to  
 
:: ''XLCubed Connection:'' Type the URL of the XLCubed Web Edition server to connect to  
 +
 +
Once connected, select the required database and relevant cube.
  
 
[[Image:I4.png|350px|centre]]
 
[[Image:I4.png|350px|centre]]
 
*Once connected, select the required database on the left, then select relevant cube on the right to add the connection.
 
  
* Add additional connections to the workbook as required.
+
===Database Connections===
 
 
===Custom Properties===
 
If you right click a connection you can set custom properties which will be applied in the connection string when the connection to the server is opened. You can also set up the query timeout from here to prevent long running queries from causing Excel to hang. This is applied to all grid and formula queries which use the connection.
 
 
 
==Database Connections==
 
  
 
From [[Version 8]], you can centrally manage relational database connections using this form.
 
From [[Version 8]], you can centrally manage relational database connections using this form.
  
*To make a new relational connection select {{Menu|XLCubed|Connections}}, switch to the {{Menu|Database Connections}} tab and select ''Add''
+
To make a new relational connection select {{Menu|XLCubed|Connections}}, switch to the {{Menu|Database Connections}} tab and select ''Add''
 
*Select the server type from the first dropdown, then enter the server name in the next box (or select the file for Access connections)
 
*Select the server type from the first dropdown, then enter the server name in the next box (or select the file for Access connections)
 
*If necessary, enter the log in details, then click the ''Connect'' button
 
*If necessary, enter the log in details, then click the ''Connect'' button
Line 49: Line 44:
 
From Version 9, [[grids]] can be built from any supported datasource using a [[Pivot View]]
 
From Version 9, [[grids]] can be built from any supported datasource using a [[Pivot View]]
  
* Additional datasources supported in v9:
+
Additional datasources supported in v9:
** Microsoft SQL Server
+
* Microsoft SQL Server
** Oracle Server
+
* Oracle Server
** Google BigQuery
+
* Google BigQuery
** Amazon Redshift
+
* Amazon Redshift
** PowerBI Cloud
+
* PowerBI Cloud
** PowerBI Desktop
+
* PowerBI Desktop
** HDInsight
+
* HDInsight
** Teradata
+
* Teradata
** QlikSense Desktop
+
* QlikSense Desktop
** Vertica
+
* Vertica
 +
 
 +
==Custom Properties==
 +
If you right click a connection you can set custom properties which will be applied in the connection string when the connection to the server is opened. You can also set up the query timeout from here to prevent long running queries from causing Excel to hang. This is applied to all grid and formula queries which use the connection.
 +
 
  
 
[[Category:Connections]]
 
[[Category:Connections]]

Revision as of 12:33, 28 November 2018

The Manage Connections form is available from the XLCubed > Connections ribbon item. It allows you to view, edit and delete existing connections for the workbook, and to create new connections when required.

Connecting to your data

One workbook can support multiple connections to different cubes or databases. Whenever XLCubed detects you require a connection to a cube or database, you will have the opportunity to select an existing one or to create one as described below.

To create a new connection open the Connection Manager from XLCubed > Connections and selectAdd. Any connection you have made recently will be displayed for easy access.

I3.png

Alternatively, select the New Connection tab to create a new connection. Here, choose the server type and provide the appropriate detail.

Continue to add as many connections as needed.

Cube Connections

For a new connection, select the New Connection tab, choose the server type and specify the appropriate detail as below:

Analysis Services Server: Type the server name
Analysis Services Server 2000: Type the AS2000 server name
Analysis Services Cube file: Browse to locate the local cube file
XLCubed Connection: Type the URL of the XLCubed Web Edition server to connect to

Once connected, select the required database and relevant cube.

I4.png

Database Connections

From Version 8, you can centrally manage relational database connections using this form.

To make a new relational connection select XLCubed > Connections, switch to the Database Connections tab and select Add

  • Select the server type from the first dropdown, then enter the server name in the next box (or select the file for Access connections)
  • If necessary, enter the log in details, then click the Connect button
  • Select the database from the list

Custom OLEDB and ODBC connections

  • Follow the instructions above, but select either Custom OLEDB Connection or Custom ODBC Connection from the first dropdown as appropriate
  • Either type in a connection string or choose the Excel range which contains the connection string
  • Click the Connect button
  • Select the database from the list

From Version 9, grids can be built from any supported datasource using a Pivot View

Additional datasources supported in v9:

  • Microsoft SQL Server
  • Oracle Server
  • Google BigQuery
  • Amazon Redshift
  • PowerBI Cloud
  • PowerBI Desktop
  • HDInsight
  • Teradata
  • QlikSense Desktop
  • Vertica

Custom Properties

If you right click a connection you can set custom properties which will be applied in the connection string when the connection to the server is opened. You can also set up the query timeout from here to prevent long running queries from causing Excel to hang. This is applied to all grid and formula queries which use the connection.