Create your first Velixo report for STACK
Pre-requisites:
Overview
The first step after you open Excel is to connect your spreadsheet to STACK Takeoff & Estimate. The add-in adds a new ribbon tab to Excel, titled Velixo NX:

Add a connection
Click the Connection Manager button on the Velixo NX ribbon to open the Connections menu in the side panel. Then click Add.

Single sign-on
To set up a single sign-on connection for STACK using your credentials, select STACK Takeoff & Estimate from the Type drop-down menu and select the Sign in with STACK sign-in method. Enter a unique Name for the connection (you will use this name later as you build formulas).

Upon clicking Connect, you will be presented with a STACK login screen, where you can provide the user email and password for your STACK account.
Remember credentials: This box is checked by default to save your credentials for the connection. Note that login data is not saved within the spreadsheet. Rather, it is saved to your Velixo user profile, which is stored securely in your local Microsoft Office installation.

Once logged in, if you agree to add the listed permissions for Velixo, click Grant (required to enable the connection).

You can add multiple connections with separate credentials to a single workbook. This allows you to easily consolidate data from multiple sources.
Your first reports
List all available projects
Let's begin with something simple — listing all projects available for your account.
In the A1 cell, we will use the STACK.EXPANDPROJECTRANGE function. As you start typing, notice that the add-in provides you with information about the function and its parameters:

The first parameter for the all Velixo functions is the name of the connection as it was defined in the Connection Manager - in this case, Stack
.
The second parameter that is required by this function is Project
. This parameter is optional, used for filtering (including using Velixo filtering techniques) the results of the query. Let’s skip it for now.
The complete formula should look like this:
=STACK.EXPANDPROJECTRANGE("Stack")
Press the Enter key.

Complete list of functions: There are many more STACK functions included in Velixo, and we invite you to explore them all when you complete this tutorial.
Item cost report for a project
Now, you can retrieve an itemized cost report for one of the retrieved projects using the STACK.ITEMCOSTREPORT function.
In another cell, add the STACK.ITEMCOSTREPORT function, enter the connection name Stack
as the first parameter, and use the cell with the name of the project for which you would like to generate the report, for example, A2
(alternatively, you can type in the project name – "Second Project"
).
The complete formula should look like this:
=STACK.ITEMCOSTREPORT("Stack",A2)
Press the Enter key.

To retrieve the same data in the form of an Excel table, using the Table Mirroring feature, you can use the TableOutputCell
argument to declare the origin cell for the table, for example, C2
. This way, the formula should look as follows:
=STACK.ITEMCOSTREPORT("Stack",A2,C2)
Press the Enter key to run the formula.

Takeoff report filtered by name
To retrieve a report on Takeoffs within a given project, you can use the STACK.TAKEOFFREPORT function. You can also apply filters in the formula using Velixo filtering techniques.
To return a report for all Takeoffs within the Second Project
project whose names contain the string tree
and limit the displayed columns to the TakeoffId
, TakeoffName
, SQUAREFEET
, and PlanName
, use the following formula:
=STACK.TAKEOFFREPORT("Stack",A2,"TakeoffId,TakeoffName,SQUAREFEET,PlanName","like %tree%",,)
This example uses the following arguments:
ConnectionName
is set to“Stack”
Project
points to cellA2
which contains the stringSecond Project
Select
is set to"TakeoffId,TakeoffName,SQUAREFEET,PlanName"
- the fields to be displayed as columns for each recordTakeoff
contains the filter”like %tree%"
, which returns all takeoffs that contain the stringtree
using one of Velixo filtering techniques.
Press the Enter key to run the formula.
