This guide has been created to guide the new T6 Planning installer through the installation, configuration, requirements, and version update process. The T6 Planning Data Provider, also known as SDP, is an add-on developed to enhance report generation in Microsoft SQL Server Reporting Services (SSRS). Designed to simplify the extraction, formatting, and display of data from T6 Planning applications, SDP enables straightforward report development without the need for technical knowledge. Using SQL Server Data Tools (SSDT) for report development, SDP offers various advantages, such as an intuitive graphical interface for data access, hierarchical report creation, improved report execution performance, and the ability to create reports with drill-down in the SQL Server Reporting Services environment.
This manual aims to provide instructions on how to install T6 Planning, as well as configurations, requirements, and version updates, from the perspective of the new T6 Planning installer.
The T6 Planning Data Provider – SDP – is an add-on, also known as an Add-In, developed by the Tech6 Group company. Its purpose is to provide more options and facilities in the development of reports in Microsoft SQL Server Reporting Services – SSRS. It is designed to make the extraction, formatting, and display of data from T6 Planning applications in the form of reports that use Reporting Services simple and without the need for technical knowledge.
Reporting Services is Microsoft's official reporting solution and is included in the SQL Server package. For report development, the SQL Server Data Tools (SSDT) tool is used, depending on the SQL Server used in the environment.
Among all the advantages of using SDP, the following stand out:
The correct installation of the T6 Planning Data Provider depends on the prior installation of some software. Some requirements are specific to the Client machine, and others are specific to the Server machine.
This is the machine where reports are created. On this machine, you should install and configure the following software:
This is the machine where reports are processed. On this machine, you should install and configure the following software:
Microsoft SQL Server Data Tools, or simply SSDT, is a version of Microsoft Visual Studio that provides tools for creating projects specific to the Business Intelligence area.
To download the SQL Server Data Tools installer, access the following link:
https://docs.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt?view=sql-server-2017#ssdt-for-vs-2017-standalone-installer
In the Start Menu, you will find SQL Server Data Tools. The corresponding item is called Visual Studio 2017 (SSDT).
Clicking on this option will display the screen as shown. If you already have a Microsoft account, click the sign-in button and follow the on-screen instructions.
Otherwise, click Not now, maybe later.
If this is the first time you are running Visual Studio, the screen on the side will be displayed. Choose the option that suits you best and click Start Visual Studio.
The initial screen of Visual Studio will be displayed as below.
In this chapter, we will cover the installation of the T6 Planning Data Provider (SDP), starting from the moment of extracting the installer and going through the installation itself to the installation testing step.
Unzip the contents of the T6 Planning 11.1_xxxxxxx.zip file into a folder of your choice, where a folder called T6 Planning will be created automatically. Open this folder and locate the Installer.exe file. Double-click on it to run the T6 Planning installer.
Before starting the T6 Planning Data Provider installation, it's important to note that it can only be performed by a user with Administrator access to the operating system.
The T6 Planning installer supports three installation languages: Portuguese, English, and Spanish. The installation language will be automatically set by the installer based on the user's operating system language.
As mentioned earlier, the T6 Planning Data Provider installation occurs in two steps:
In both cases, the installation steps are the same. Here are the instructions to execute the installation.
When you run the installer, you will see a brief description of T6 Planning on the initial screen. To proceed with the installation, click the Next button.
This screen will display the available Installation Types, which are: New Installation, Update Previous Installation, and Remove Previous Installation.
Select the desired installation type and proceed to the next screen.
The next screen will display the License Agreement. Read the license terms carefully, and if you disagree, click Cancel to exit the installer. If you agree to the terms, proceed to the next screen.
In the Customer Information screen, you need to enter a valid license file to proceed with the installation.
To obtain the license, access the T6 Planning Support Site and download the license file for the respective version to be installed. Save it in the T6 Planning installation folder.
Click the Browse button, locate the license.xml file, and then proceed to the next screen. If the entered file is invalid, the installer will prevent the process from continuing. If you have any doubts, contact the Commercial department.
IMPORTANT: If there is already a previous T6 Planning installation, the License File field will automatically display the license.
In the Installation Modules screen, you will define the module to be installed for the T6 Planning Data Provider.
Check the Install Data Provider module to install the necessary T6 Planning Data Provider files, as well as the configuration and integration of SDP with the SSDT tool.
Then click the Next button.
The next screen will display the prerequisites for installation, according to the modules selected on the previous screen. The installer will inform if there are any optional requirements to be installed. If any mandatory prerequisites are not installed, the installer will inform and prevent the T6 Planning installation until all prerequisites are properly installed.
In the Data Provider - New Installation screen, select the directory where SDP will be installed and proceed to the next screen.
In the Confirm Installation screen, review the installation summary. If everything is correct, click Install. If you want to modify any parameters, click Back.
In the Installation Progress screen, you will track the entire installation progress.
On the last screen, click Finish to close the installer.
In this chapter, we will cover the update of an already installed version of the T6 Planning Data Provider.
Unzip the contents of the T6 Planning 11.1_xxxxxxx.zip file into a folder of your choice, where a folder called T6 Planning will be created automatically. Open this folder and locate the Installer.exe file. Double-click on it to start the T6 Planning update.
Before starting the T6 Planning update, it's important to note that it can only be performed by a user with Administrator access to the operating system.
The T6 Planning installer supports three installation languages: Portuguese, English, and Spanish. The installation language will be automatically set by the installer based on the user's operating system language.
When you run the installer, you will see a brief description of T6 Planning on the initial screen. To proceed with the installation, click the Next button.
The next screen will display the available Installation Types.
Select the Update Previous Installation option and proceed to the next screen.
The following screen will display the License Agreement. Read the license terms carefully and proceed to the next screen.
In the Installation to be updated screen, a list of installed T6 Planning products on the computer is presented, with a summary of each installation. Select one or more installations to be updated.
In the Confirm Update screen, review the update summary and click Update. If everything is correct, click Update. If you want to modify any parameters, click Back.
In the Update Progress screen, you will track the entire update progress.
On the final screen, the summary will display information about the update. Click Finish to close the installer.
This chapter will show how to uninstall the T6 Planning Data Provider, which is done through the installer itself.
Unzip the contents of the T6 Planning 11.1_xxxxxxx.zip file into a folder of your choice, where a folder called T6 Planning will be created automatically. Open this folder and locate the Installer.exe file. Double-click on it to run the installer.
Before running the T6 Planning installer, it's important to note that uninstallation can only be performed by a user with Administrator access to the operating system.
The T6 Planning installer supports three display languages: Portuguese, English, and Spanish. The display language will be automatically set by the installer based on the user's operating system language.
When you run the installer, you will see a brief description of T6 Planning on the initial screen. To proceed with the installation, click the Next button.
The next screen will display the available Installation Types. Select the Remove Previous Installation option and proceed to the next screen.
In the Installation to be removed screen, a list of installed T6 Planning products on the computer is presented, with a summary of each installation. Click on the installation to be removed. It will be selected. Then click the Next button.
It's important to note that only the application directory and its IIS portal will be removed, and the database will not undergo changes.
In the Confirm Uninstall screen, check the items to be uninstalled and click Remove.
In the Uninstall Progress screen, you can track the progress of the uninstallation.
On the final screen, the summary will indicate that the uninstallation was successful. Click Finish to close the installer.
This chapter aims to present, in a simple and concise manner, the use of the SQL Server Data Tools (SSDT) for creating reports and connecting to the T6 Planning database.
SSDT is a development interface that utilizes a version of Microsoft Visual Studio, providing tools for creating specific Business Intelligence projects. Among these projects is the creation of reports.
In this tool, you can create reports with data extracted from various sources, including:
<YourProject>.sln
and click Open.The image below shows the basic report development screen within SSDT. This interface is where reports are developed. The presented image is just an example, as the tool is configurable according to the user's needs, and the right and left windows can be hidden or closed and later reopened.
Check the descriptions of the identified items in the image above:
In the New Project screen:
You have just created a Report Server Project, and from now on, the use of SDP is possible. The image below illustrates the initial screen of SSDT where you can access the new project.
Before starting the development of reports accessing the T6 Planning interface, it is necessary to configure a new connection through SDP.
To create a new connection, follow the steps below.
Access the T6 Planning menu and click on Explorer > Navigator.
In the Explorer screen, on the Integration tab, click on the Data Source item.
The Data Source window will be displayed. Fill in the fields Name, select the Application, and the User.
Then click the Download button to save the new Data Source.
Once the download is complete, return to SSDT, in the created project.
Next, find the previously created Data Source file and click Add.
In this section, a step-by-step guide on how to develop a basic type of report will be presented.
Next, observe the exemplification of report creation using the Report Creation Wizard of the SSDT tool.
In the Solution Explorer:
On the Welcome screen (if displayed), click Next.
On the Select the Data Source screen:
Note: From this step onwards, you will begin the creation of the query that will bring the data for the report. This is the moment when the actual use of SDP begins.
On the Design the Query screen:
On the Query Designer screen: you will define the properties of the query in each of the steps of the SDP interface. Follow the details of the features in the 10 tabs of the Query Designer screen.
Tab Properties: Define and configure the properties related to the Query Type, Members, Query Options, as detailed below.
Regarding the property groups on this screen:
Tab Properties / Options
Tab Layout: Define "what you want" and "how you want" in your query, configuring the necessary fields as detailed below. After finishing the configurations, click Ok.
Regarding the information layout on the Layout tab:
Regarding the steps for configuring the fields on the Layout tab:
The Edit Dimension screen will be displayed, for the selection of members or attributes of the dimension.
You should proceed in the same way for all dimensions, selecting only those members you want to see in the query result. If a dimension has no defined members, it means that all members of this dimension will be presented in the query.
After making the selections, click Ok.
In the image on the side, observe how the Layout tab looks after completing the dimension configurations.
Tab Dimension Relationships: You can select the dimension relationships you want to use in the query.
Regarding the information layout on this tab:
Tab Calculated Members: Allows the creation of simple calculations between members of dimensions without the need for formula creation.
On the Calculated Member Creation/Editing screen:
Tab Excluded Crossings: Allows the creation, editing, and removal of crossings/combinations between members and dimensions for simple calculations between members of dimensions.
On the Excluded Crossing Creation/Editing screen:
The Member Selection screen allows the selection of members with a specific aggregation, as well as their respective attributes, for the selected dimension.
After defining the member selection, click Ok, returning to the Excluded Crossing Creation and Editing screen. Click Ok again.
Tab Parameters: Allows more specific filtering of form dimension members, helping to narrow down its scope or allowing other views in a practical and intuitive way. This way, the user can change, for example, the base year or the planned scenario without having to edit the form, as these parameters can be used even in calculated members.
On the Parameters Creation/Editing screen:
Tab Formatting: Allows formatting forms with changes in fill colors, font, background, and borders of Headers or values. It is also possible to direct these formatting options to all or some specific items such as rows, columns, Dimensions, or Members.
On the Formatting Creation/Editing screen:
Tab Query: You will see the SQL query that T6 Planning uses for data extraction.
Tab Execution: Click on the highlighted icon as shown in the image below. You will see the result of the query as per the image.
Returning to the Query Designer screen. To finish defining the query in the SDP interface:
Click Ok. At this point, you will exit the SDP interface and return to the Report Design Wizard, the Design the Query screen.
On the Design the Query screen:
Note that it now displays the code generated by the SDP.
To proceed, click Next.
On the Select the Report Type screen: You will begin to define how the query data will be presented. To do this:
On the Create Table screen: The configuration depends on the option selected in the previous screen. Here you will distribute the query fields in the Table components, according to the adopted example. To do this:
Once the wizard is finished, SSDT will generate a basic report according to the settings defined in the previous steps.
For reports created from SDP to function correctly, it is necessary to create a parameter called "connectionString." This parameter is internally used by T6 Planning to define permissions and apply roles during the execution of published reports.
Note: The name of this parameter must be "connectionString" (without quotes), with the initial "c" in lowercase and the "S" in "String" in uppercase.
To create the parameter, follow the steps below.
In Report Data:
In the Report Parameter Properties screen:
Back in Report Data:
In the Dataset Properties screen:
[@connectionString]
.Analyzing the design of the report created in the previous section, some configurations are still necessary to make it at least acceptable. In this section, you will be instructed on how to perform basic formatting to make your report more presentable.
In the Report, on the Report Design screen:
To remove a column:
To change the text of a column:
In the Report Design screen, to ensure the report numbers appear properly formatted, you need to define the Number property. This property will be applied only to the selected field and should be changed in all other fields as needed. To do this:
Select the Textbox to be formatted. In this example, the detail field of the matrix is used.
Then right-click on the textbox and select Text Box Properties.
In the Text Box Properties screen:
By default, the groups of the table are sorted alphabetically. If you want to change the group sorting, follow the steps below.
In the Report Design screen:
In the Group Properties screen:
Another default configuration of the wizard that causes issues when using SDP is the use of the SUM function in the detail expression.
As in T6 Planning, each account has its aggregation method, a simple summation could generate incorrect results. For this reason, SDP already brings all possible combinations and aggregations, ready and calculated.
To proceed with the correction and prevent aggregation errors, follow these steps:
In the Report Design screen:
In the Expression screen:
This Expression screen may appear in various other locations in SSDT. Almost all properties can be defined using conditional formulas, which depend on other fields or properties. This functionality is very useful as it allows extensive flexibility in configurations.
Another configuration that contributes to the visual presentation of the report is displaying the list of members hierarchically, according to their level in the T6 Planning dimension hierarchy. To proceed with this adjustment, follow these steps:
In the Report Design screen:
In the Expression screen:
Fill in the field with the following expression:
=Space(Fields!Conta_Nivel.Value * 2) & Fields!Conta.Value
To finish, click Ok.
In the following images, observe the before and after of the report after this small modification.
Now that the report is ready, it needs to be published on Report Services and then synchronized with T6 Planning.
The first step to publish the project (with all the included reports) is to configure access to Report Services. To do this:
In the Solution Explorer:
In the SDP Property Pages screen:
http://<server>/ReportServer
, where <server>
is the machine where the Report Server is installed.To publish all the project reports on Report Services:
To publish a single report on Report Services:
Whenever a new report is included in the Report Server, T6 Planning needs to be synchronized. To do this:
Access the T6 Planning menu and click on Explorer > Report.
In the Explorer screen, in the Integration Tab:
In the Report Synchronization Wizard screen – Reports step:
On the same Report Synchronization Wizard screen – Summary step:
Still on the Report Synchronization Wizard screen:
In the Explorer screen:
In the Explorer screen – Home Tab:
In this chapter, you will observe various options, techniques, and tips for creating more useful and presentable reports, both increasing their functionalities and improving their layout.
Parameters are filters created in the report that allow modifying the query dynamically. Below, in subtopics, the steps to make your report parameterizable will be presented.
In 99.99% of parameter usage cases, users are not allowed to define the parameter value with free text, as this facilitates the risk of entering the parameter incorrectly.
For this reason, there are two options to create a list of values with valid items for the parameter:
To add a new dataset to your report, follow the steps below.
In the top navigation menu:
In the Dataset Properties screen:
Clicking the Query Designer button will open the SDP screen for creating the query. Here, two peculiarities must be observed:
Note: All other axes other than columns will be DISREGARDED when using a parameter query.
Report parameters are the actual lists of values that will appear for users. These parameters will be common and can be used by all datasets in the report.
To create a new parameter for your report, follow these steps:
In Report Data:
In the Report Parameters Properties screen:
Still in the Report Parameters Properties screen:
To finish, in the Report Parameters Properties screen:
At the end of this step, the parameter will be ready to be used in the report datasets.
Before using the parameter in the query, you must first add it to the dataset. To do this:
In Report Data:
In the Dataset Properties screen:
At the end of this step, you have associated the parameter with the dataset, but the query is not yet using this parameter effectively.
To make your query start using the dataset parameter created in the previous step, you need to select it in the SDP, on the member selection page.
To select a parameter in the SDP, follow these steps:
In the Query Designer screen – Layout tab:
In the Edit Dimension screen:
In the images below, you will see an image containing the selected parameter and without a default member (top), and another image containing a selected member and with a default member (bottom).
Note: If the "Available Members" title is displayed in red, it means that some report parameters may not be available for use in the query. If this happens, you will need to save the report and return to this screen.
Note: If a member is not set as the default for the parameter, the process cannot be completed because an error window will appear, stating that "A default value for the parameter has not been set!" Now you can test your report, being able to filter the data dynamically according to your needs.
In the report design screen:
Additional visual settings that you can include in your report. In both the header and footer, you can insert logos, descriptions of parameters used in the query, report generation date, etc.
The first task is to display the header and footer, which are hidden by default in the report. To display the header and footer in your report:
In the Report Design screen:
The following are some components that you can include in both the header and footer of your report.
There are three ways to store and use images within your report. They are:
Since both of the above methods have their own characteristics, with pros and cons, the Embedded type will be adopted to exemplify the use of an image in the report. So:
In the Toolbox:
In the Image Properties screen:
Textbox components are the most commonly used graphical items in a report. They are present inside tables and matrices and can be used when it is necessary to present a unit value or information.
To include a textbox, follow the steps below.
In the Toolbox:
There are several possible expression options. To edit the expression:
Note: Every expression ALWAYS starts with an equal sign.
Whenever a report has parameters, it is interesting that the selected values be presented in the report header. This is because reports can be printed or exported to XLS or PDF. If one of these actions is performed, the reference to which filter was used to generate those numbers is lost.
To include information with parameter values:
The parameter expression format is: =Parameters!<parameterName>.Label
or =Parameters!<parameterName>.Value
Also for the same reason as presenting parameter items, it is important to show the date the report was generated.
To include information with the report generation date:
="Generated on: " + Format(Globals!ExecutionTime, "dd/MM/yyyy HH:mm")
There are several other interesting functions that you can use in textboxes, both in the header and in the footer. Here are some examples:
=Globals!PageNumber
: Page number
=Globals!ReportFolder
: Report folder name
=Globals!ReportName
: Report name
=Globals!TotalPages
: Total report pages
A common example is to put the current page and the total pages:
=”Page ” & Globals!PageNumber & “ of ” & Globals!TotalPages
Sometimes it will be necessary (mainly for the aesthetics of the report) to insert some graphical components, such as squares and lines.
Lines are more commonly used when you want to simulate a totalizer or even to separate the header and footer from the rest of the report.
To insert lines:
In the Toolbox:
Note: These components are graphical; they do not have data. Their properties are only for defining thickness, line type, colors, etc.
Configuring drill within a report allows hiding or showing rows without the need to re-run the query. This is very useful in reports where you want to display an aggregated value and provide the possibility to drill down to show the values that make up that value.
To apply drill settings within a report, it is first necessary to create a new report that uses Drill.
Following the steps in section 7.4 of this manual, observe the exemplification of creating the new report, and then:
In the Query Designer screen: you will define the query properties at each stage of the SDP interface. To do this:
It is necessary to define a hierarchy for grouping values. This must be done in at least one of the dimensions that are in a row.
Next, the screen for selecting members or attributes of the dimension will be displayed as below. On this screen, select Hierarchy (Level) if you want to maintain the order of the members, select the checkbox to keep the order of the members.
After making the selections, click OK.
In the Select the Report Type screen: You will begin defining how the query data will be presented. To do this:
In the Design the Matrix screen: You will distribute the query fields in the Matrix components, as adopted in the example. To do this:
After completing the wizard, you can view the report already enabled with the Drill option, as shown in the image below.
Note that it is possible to increase or decrease the displayed detail (drilldown and drillup, respectively), and whenever you hide a level, the closed level will be the aggregation of the lower level.
To open and close a level:
By default, in a drill report, the only level that appears open is the first one; all others will be closed. This is uncommon, and normally, either all levels are left open or only the first two or three.
If you want your report to show the first two levels open, proceed as follows:
Another configuration that can be made regarding drill is to hide the rows labeled "Total". This way, whenever a level is open, its total is not displayed, being visible only when it is closed.
To apply this configuration, proceed as follows:
For example, it would look like this:
The use of charts makes it easier to identify trends, historical, comparative, and temporal analyses than analyzing a mountain of data, tables, and matrices.
A chart is always associated with a dataset, so you need to create it as seen in the previous chapters.
With the dataset ready, the next step is to include the chart component and start its configuration. To do this:
The three necessary steps for the correct configuration of a chart are presented as subtopics below.
The first configuration to be informed is the chart type.
Note: Each chart type has a data requirement for drawing, so depending on how you set up your dataset, you may be able to use a pie chart but not a line chart, for example.
The next step is to inform the data source of the chart. To do this:
The last step is to define layout settings such as colors, borders, axes (formatting, whether they appear or not...), legend (location, border, color...), titles, shadows, etc.
These settings are defined in the Chart properties option. To access it, follow the steps in item 8.5.2.
A problem that occurs in the vast majority of reports is printing. When you are designing the report layout and there is no size limit, trying to print or generate a PDF of the report will make it unreadable.
Regarding this layout issue, you have three components:
One way to solve the printing problem of the report is to increase the size of the print layout page so that all report components fit in it.
Make this adjustment on the first page because on the others, Report Services will automatically adjust them.
To adjust the page size:
The process of adjusting the report within the page is done through trial and error. After defining the orientation to adopt, gradually increase the height and width and view the result to see if it looks good or if it needs to be changed a little more.
To view the print layout:
An important point is to maintain the height and width ratio according to the paper format that will be used. Otherwise, paper utilization will not be efficient.
After making this adjustment, you may still have another problem with printing reports. This happens because depending on the printer driver used, you increased the size of the print layout page, but the printer page size cannot be changed.
To print the report, the printer driver must have the option to Fit Printer to Paper Size. With this, the print layout will be converted to the size of the printer paper, and printing will be perfect.
In some cases, especially with older printers, this option does not exist. So the alternative is to generate a PDF file and print from it.
You observed how to drill within a report. Now, you will be instructed on how to drill between reports. This is optional when it is necessary to detail information, show data that is not hidden in the report, and is often with a completely different layout.
This Drill Between Reports is basically a link between two reports, where the first calls the second, passing the parameters automatically. You can place this link in any existing textbox in the first report.
The basic steps to create this link are:
Any report can be called through a link. This link can be infinite, remaining in an eternal circle (the first calls the second, which calls the third, which calls the first). This can happen when reports are joined without parameters, leaving the link meaningless.
The most common thing is for this report to have parameters that facilitate detailing, such as Time, Account, and Entity parameters, for example.
By Master Report, it is understood as the one calling the Detailed Report. This report should have the necessary information to pass to the parameters of the report being called (if it has parameters).
The link between reports is always defined in the master report.
To create the link:
Note that in this same window, you can already configure the parameters that will be passed between reports. In this case:
This final chapter of the manual aims to provide the manager with important tips that the T6 Planning consulting team has acquired over various projects.
An important and widely used functionality is passing some information to reports when accessed through T6 Planning. This makes it possible to pass, for example, the identifier of an Entity or Scenario, user login, or the current year to the report.
Reports within T6 Planning can be accessed using:
These differentiations are important because some parameters only exist in the workflow, such as the entity, for example.
The way T6 Planning interacts with reports is through the names of the parameters. Every time a report is accessed, before being displayed to the user, T6 Planning checks if one of the parameters listed below exists in the report, and the default value is passed.
Name | Type | Description | Example |
---|---|---|---|
codScenarioPlanned | WKF | Planned Scenario ID | 2 |
codScenarioRealized | WKF+REP | Realized Scenario ID | 1 |
entity | WKF | Entity Member | [Entity].[Entity].[ACME] |
scenarioPlanned | WKF | Planned Scenario Member | [Scenario].[Scenario].[Planned] |
scenarioRealized | WKF+REP | Realized Scenario Member | [Scenario].[Scenario].[Realized] |
userId | WKF+REP | User ID | admin |
year | WKF+REP | Current Year Member | [Time].[Time].[2007] |
month | WKF+REP | Current Month Member | [Time].[Time].[2007].[S1].[T1].[January] |
With each query performed by SDP, either for the report or for the parameters, SDP will query the structural information of the model. This activity generates significant additional processing that can be eliminated by enabling the SDP cache.
To enable this cache, it is necessary to configure the following parameters in the T6 Planning portal parameter window as follows:
Note that SDP will only load the parameter values on the first run of the application. If you want to change any parameters, you must modify them and then restart the ReportingServices application.
Often there is a need to hide certain reports so that they are not visible to users in the T6 Planning listing. This occurs, for example, in detail reports that do not make sense to be accessed directly because their information depends on passing several parameters, which are passed through drill-down configurations in another report.
To make a report hidden in T6 Planning, just start its name with an underscore. For example: _HiddenReport.rdl