This feature requires Velixo Reports 6.0.376 or higher

Velixo recommends the use of Microsoft 365 for this feature. Experimentally, Excel 2010 or higher may be used. See the Prerequisites for additional information.

Description

The EXPANDCOMPANYRANGE function returns all company codes within the specified range

Syntax

EXPANDCOMPANYRANGE(Connection, Range)

The EXPANDCOMPANYRANGE function uses the following parameters (see our article on including multiple parameter values):

Parameter

Required/Optional

Description

Connection

Required

The name of the connection as configured in the Connection Manager

Range

Optional

The range of company codes to include in the results

Examples

Example #1

=EXPANDCOMPANYRANGE("Demo")

Description

Returns an Excel dynamic array containing all company codes in the tenant defined in the specified connection.

Result

exp_company.png

Example #2

=EXPANDCOMPANYRANGE("Demo";"*;-PRODUCTS")

Description

Returns all company codes except PRODUCTS.

Result

exp_company2.png
Did this answer your question?