---
title: "Defining Properties of Return Values"
description: "The properties of return values can be specified using texts and parameters. The return values for the Value and Rate functions can be changed with any desired formula."
source_url: https://support.lucanet.com/en/documentation/consolidation-financial-planning/excel-integration/lucanet-excel-reporting/work-with-tilde-formulas/define-properties-of-return-values
language: en
last_updated: 2026-05-01
---
# Defining Properties of Return Values

## Overview

Placeholders and functions can be extended with text and parameters to control the display of their return values. The extension is made with an arrow (->).

The return values for the **Value** and **Exchange rate** functions can be changed using any formula.

## Return Values for Placeholders

Placeholders in tilde formulas can be assigned a text and parameters for the properties of the return values.

To define the properties of the return value of a placeholder, an arrow ( -> ) is added to the tilde formula followed by a text and/or a parameter.

### Structure of the Tilde Formula with Placeholders

The tilde formula must be structured as follows:

**~Placeholder->"Text %short/%long"**

It is possible to attach any desired text to a placeholder. The entered text is retained when the report is generated.

> **Note:** The return values of the placeholders for **periods** and **data levels** can be specified with additional parameters A detailed description will be available shortly.

### Keywords in Tilde Formulas with Placeholders

The keywords **%short** and **%long** specify the return value of a placeholder as **name** or as **full name** for **data level**, **adjustment level**, and **organization element**.

> **Note:** You can only export the full name if an attribute exists in Lucanet with the **long_name** key and it is used in the **Data level, Adjustment level**, and **Organization elements** dimensions.

### Example for Tilde Formulas with Placeholders

The Excel worksheet contains two tilde formulas with placeholders for an organization element:

![Displays two placeholders extended by %short and %long](https://support.lucanet.com/assets/docs-images/consolidation-financial-planning/excel-integration/lucanet-excel-reporting/work-with-tilde-formulas/define-properties-of-return-values/_images/en/long-name.png)
Placeholders extended to include %short and %long

The placeholders are replaced based on the tilde formulas:

![Shows the result with name and complete name](https://support.lucanet.com/assets/docs-images/consolidation-financial-planning/excel-integration/lucanet-excel-reporting/work-with-tilde-formulas/define-properties-of-return-values/_images/en/result-long-name.png)
Result with name and complete name

## Return Values for Data Levels

The return values of the placeholders for **data levels** can be specified with additional parameters:

You can use the **Period** parameters to dynamically assign a heading to the columns of a time series. When the **Period** parameter is used in the tilde formula for data levels, the return value of the placeholder **%short** and **%long** depends on the selected period.

**Structure of the Tilde Formula with Placeholder 'Data level' and Parameter 'Period'**

The tilde formula must be structured as follows:

~Data level->"_text:%short/%long_";period

**Return Values of the Actual Data Level**

Specifying a period for actual data levels gives the following return values:

- If the period lies completely within the actual data level, the return value is **Actual**.
- If the period lies partially outside the actual data level, the return value is **Partly outside of Actual**.
- If the period lies outside the actual data level, the return value is **Outside of Actual**.

**Return Values for Planning Data Levels**

Specifying a period for plan data levels returns the following values:

- If the period lies completely within the plan data level, the return value is **Planning**.
- If the period lies before the plan data level and completely within the actual data level, the return value is **Actual**.
- If the period lies completely within both the actual and plan data levels and intersects both, the return value is **Actual/forecast**.
- If the period lies partially outside the plan data level, the return value is **Partly outside of Planning**.
- If the period lies outside the plan data level, the return value is **Outside of Planning**.

**Example: Return Value Depending on the Period**

The Excel worksheet contains three placeholders for data levels that are specified before generation of the Excel report in Lucanet. **~quarter** is used as a placeholder for the period:

![Shows an Excel section with tilde formulas. A tilde formula for the actual data level and two for planning data levels are highlighted.](https://support.lucanet.com/assets/docs-images/consolidation-financial-planning/excel-integration/lucanet-excel-reporting/work-with-tilde-formulas/define-properties-of-return-values/_images/en/example-period1.png)
Period in tilde formulas for data levels

The first quarter of 2018 is selected as the period:

![Shows the detail view of an “Excel reporting” element. The following settings have been selected for report creation: Period = Q1.2018, Data level.actual = Actual, Data level.plan1 = Plan 2014-2017, Data level.plan2 = Plan Oct 2017 - Feb 2018.](https://support.lucanet.com/assets/docs-images/consolidation-financial-planning/excel-integration/lucanet-excel-reporting/work-with-tilde-formulas/define-properties-of-return-values/_images/en/example-period2.png)
Selection during report generation

In the Excel worksheet, the data levels are displayed as follows:

![Shows the result with period Q1.2018](https://support.lucanet.com/assets/docs-images/consolidation-financial-planning/excel-integration/lucanet-excel-reporting/work-with-tilde-formulas/define-properties-of-return-values/_images/en/result-example-period1.png)
Result with period Q1 2018

The actual data level comprises all of 2018. Therefore, the period **Q1.2018** falls completely within the actual data level and **Actual** is the return value issued.

The period **Q1.2018** falls completely outside **Planning DataLevel.Plan1**, as this only covers the time interval until the end of the year 2017.

**Planning data level.Plan2** only covers the time interval up to February 2018. The return value shows that the period falls **partly outside the planning data level**.

**Planning DataLevel.Plan2** delivers a changed result if you choose the fourth quarter of 2017 as the period:

![Shows the result with period Q4.2017](https://support.lucanet.com/assets/docs-images/consolidation-financial-planning/excel-integration/lucanet-excel-reporting/work-with-tilde-formulas/define-properties-of-return-values/_images/en/result-example-period2.png)
Result with period Q4.2017

The **Q4.2017** period is completely within **planning data level.plan1** and within **planning data level.plan2**.

## Return Values for Periods

The return value for periods can be influenced using the help of parameters. The case of the parameter defines whether the first or last month of the time interval is displayed in MS Excel.

Unlike for all other parameters, a distinction is made between upper case and lower case.

**Structure of the Tilde Formula for a Period with Optional Parameter**

The tilde formula must be structured as follows:

**~Period->"_Text_ Parameter"**

**First Month in the Time Interval**

If the period is to refer to the first month of a time interval, the keyword for the parameter is written in **lower case**. The following keywords are available:

- **%d**: Returns the first day of the time interval (one-digit or two-digit)
- **%dd**: Returns the first day of the time interval (two-digit)
- **%m:**: Returns the first month of the period as one or two digit(s)
- **%mm**: Returns the first month of the period as two digits
- **%mmm**: Returns the abbreviation for the first month of the period range
- **%mmmm**: Returns the name of the first month of the period range
- **%yy**: Returns the year of the first month of the duration in two digits
- **%yyy**: Returns the year of the first month of the period range as four digits
- **%q**: Returns the quarter of the first month of the period range as Arabic numeral
- **%qq**: Returns the quarter of the first month of the period as a Roman numeral

**Last Month in the Time Interval**

If the period is to refer to the last month of a time interval, the keyword for the parameter is written in **upper case**. The following parameters are available:

- **%D**: Returns the last day of the time interval (one-digit or two-digit)
- **%DD**: Returns the last day of the time interval (two-digit)
- **%M**: Returns the last month of the period as one or two digits
- **%MM**: Returns the last month of the period range as two digits
- **%MMM**: Returns the abbreviation for the last month of the period range
- **%MMMM**: Returns the name of the last month of the period range
- **%YY**: Returns the year of the last month of the duration in two digits
- **%YYYY**: Returns the year of the last month of the period range as four digits
- **%Q**: Returns the quarter of the last month of the period as an Arabic numeral
- **%QQ**: Returns the quarter of the last month of the period range as Roman numeral

**Default Display for Periods**

If no parameter is specified, then periods are displayed as follows:

- Month: **Jan 2017**
- Quarter: **Q1.2017**
- Year: **2017**

If the time interval comprises several periods, the time period is displayed as follows:

- Several months: **Jan 2017-Feb 2017**
- Several quarters: **Q1.2017-Q2.2017**
- Several years: **2017-2018**

**Examples**

The Excel worksheet contains different tilde formulas for displaying the period:

![Shows an Excel worksheet with various tilde formulas for returning periods (2xmonth, 2xyear, 2xquarter)](https://support.lucanet.com/assets/docs-images/consolidation-financial-planning/excel-integration/lucanet-excel-reporting/work-with-tilde-formulas/define-properties-of-return-values/_images/en/example-return-period.png)
Tilde formulas for returning various periods

These values are displayed in MS Excel when **August 2017** is displayed as the period:

![Displays the Excel worksheet with the result of the tilde formulas.](https://support.lucanet.com/assets/docs-images/consolidation-financial-planning/excel-integration/lucanet-excel-reporting/work-with-tilde-formulas/define-properties-of-return-values/_images/en/result-example-return-period.png)
Return of various periods

## Value of an Attribute

Tilde formulas with placeholders can be used to display the value of an [attribute](https://support.lucanet.com/en/documentation/consolidation-financial-planning/basic-configuration-cfp/configuring-attributes.md) in MS Excel. The **attribute key** is used as a parameter for returning the attribute value.

**Structure of the Tilde Formula for Returning the Value of an Attribute**

The tilde formula must be structured as follows:

**~Placeholder->"_Text %short/%long_";Attribute key**

**Note**: Only attribute values of [attributes](https://support.lucanet.com/en/documentation/consolidation-financial-planning/basic-configuration-cfp/configuring-attributes.md) that can be selected as display language and that are used in the corresponding dimension can be read in to MS Excel.

**Example**

The **~data level** placeholder is used without an attribute and with the attribute keys **name_eng** and **long_name**:

![Shows an Excel section with three tilde formulas for returning attribute values](https://support.lucanet.com/assets/docs-images/consolidation-financial-planning/excel-integration/lucanet-excel-reporting/work-with-tilde-formulas/define-properties-of-return-values/_images/en/example-attribute.png)
Tilde formulas for returning attribute values

The generated report is displayed as follows:

![Shows an Excel section with the results of the three tilde formulas for returning attribute values](https://support.lucanet.com/assets/docs-images/consolidation-financial-planning/excel-integration/lucanet-excel-reporting/work-with-tilde-formulas/define-properties-of-return-values/_images/en/result-example-attribute.png)
Return of attribute values

> **Note:** When an attribute key is specified in the formula, the parameters **%long** or **%short** are not taken into account and are overwritten by the value of the attribute.

## Return Values for Functions

The return values for the **Value** and **Exchange rate** functions can be changed using any formula.

## Tilde Formula Structure

The tilde formula must be structured as follows:

**~Rate/~Value(Parameter_1 ... Parameter_n)->"1/x"**

The letter **x** represents the return value of the function, while **1/x** represents a possible formula.

## Example

The Value function in row 2 returns the unchanged value.

In row 4, the return value is changed with **x/1000**:

![Shows an Excel section with tilde formulas. ->“x/1000” was appended to the second formula.](https://support.lucanet.com/assets/docs-images/consolidation-financial-planning/excel-integration/lucanet-excel-reporting/work-with-tilde-formulas/define-properties-of-return-values/_images/en/value-return-value.png)
Property for function 'Value'

The generated report appears as follows:

![Shows an Excel section. The value entered for the second tilde formula in this example is marked in red; it is one thousandth of the original value.](https://support.lucanet.com/assets/docs-images/consolidation-financial-planning/excel-integration/lucanet-excel-reporting/work-with-tilde-formulas/define-properties-of-return-values/_images/en/result-value-return-value.png)
Property of the value in an Excel report
