Carrier Dashboard
Wireless Carrier dashboard ..


Log into the Postgres baseline_demo database.
Start Schema Workbench.
Open: Workshop--Ctools/Carrier/schema/Wireless carrier.mondrian.xml
Expand: Retail Sales & Call Corridor cubes - our datasources.

Open the MDX query panel: File -> New -> MDX Query
Copy & paste the following MDX query. Execute.

In the PUC select: Manage Data Sources.
Click on the cog wheel & select: New Connection.

Select Postgres and enter the following details:

The Manage Data Sources also has the option to: Import Analysis
Browse to: Workshop--CTools/schemas/Wireless Carrier.Mondian.xml and associate with baseline_demo datasource.

Click: Import & check the xml schema has been successfully imported.


Highlight: /Public/CTools-Dashboard/Carrier-Dashboard-Layout/Layout.
Select: Edit from the Folder Actions.

Create a Layout folder in the PUC .. give it a go ..!

Click on the Add Resource option in the Layout Structure toolbar.

Enter the following options:

Click on the ^ button and browse for the file.


Finally check the CSS has been applied.
Save & Preview the dashboard.


Layout
Browse to: /Public/CTools Dashboard/Carrier-Dashboard-CDA/Layout
Click Edit under File Actions.

On the CDE Perspectives Toolbar, click the Data Sources Panel icon.

From the Data Source list, expand MDX Queries, and then click mdx over mondrianjndi.
To name this data source, in the Properties pane:
• Click in the Value for the Name property.
• Type sourceSelectorQuery.
• Press Tab or Enter.
In the Properties pane:
• Click in the Value for the Jndi property.
• On the keyboard, press the down arrow.
• Select the BaselineDemo connection.
In the Properties pane:
• Click in the Value for the Mondrian schema property.
• On the keyboard, press the down arrow.
• Select the Wireless Carrier schema.
To enter the MDX query:
• In the Properties pane, click the ellipsis icon to the right of the Query property.
• In the MDX Editor window, enter the following MDX query, and then click OK:

Save & Test the Layout.cda

To change the order of the columns:
• In the Properties pane, click in the Value for the Output Columns property.
• In the new window, click the Add button once to add another field.
• In the first Index field, type 1.
• In the second Index field, type 0.
• Click OK.

Save the dashboard and try again .. Refresh the layout.cda

Duplicate the sourceSelectorQuery and change the name to tableQuery.

Delete the Output columns.

Add the MDX Query.
Users:
Calls:
Duration:
To specify default values for the parameters:
• In the Properties pane, click in the Value column for the Parameters property.
• In the new window, click the Add button four times.
• In the Name and Value columns, type the following:
destinationCallParameter
[Call Destination.Destination Geography].[All]
sourceCallParameter
[Call Source.Source Geography].[All]
monthParameter
[Time.Standard Time].[2011].[Q1 2011].[January]
sourceChildren
.Children
destinationChildren
.Children
To see the new results in CDA:
• From the Opened perspective, click the layout.cda tab.
• Right-click the layout.cda tab.
• From the menu, select Reload Tab.
• In the Confirm Reload dialog, click Yes.

To specify column names for the query output:
• In the Properties pane, click in the Value column for the Columns property.
• In the new window, click the Add button seven times.
• In the Index and Name columns type the following, and then press OK.
0
Source Call
1
Destination Call
2
Users
3
m/m-1
4
Calls
5
m/m-1
6
Duration
7
m/m-1

Save and again check in CDA dashboard.

Duplicate the tableQuery and rename to: lineChartQuery.

Replace the existing MDX query:
To edit/delete the column names:
• Click in the Value column for the Columns property.
• To the left of Index 0, click the delete icon.
• Click Remove.
• Change Index 1 to Number of Calls.
• Change Index 2 to Number of Users.
• Delete the remaining column names.
• Click OK.

Save and view in CDA Dashboard.

Last updated
Was this helpful?
