# Aggregatiefuncties voor tekenreeksen

In deze sectie worden de aggregatiefuncties voor tekenreeksen beschreven.

Gebruik de vervolgkeuzelijst bij elke functie om een korte beschrijving en de syntaxis van de functie te bekijken. Klik op de functienaam in de beschrijving van de syntaxis voor meer informatie.

## Tekenreeksaggregatiefuncties in het script voor het laden van gegevens

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StringAggregationFunctions/string-aggregation-functions.htm)

#### Concat

Concat() wordt gebruikt om tekenreekswaarden te combineren. Deze scriptfunctie retourneert de geaggregeerde aaneengeschakelde tekenreeks van alle waarden van de uitdrukking, herhaald over een aantal records, zoals vastgelegd door een group by-clausule.

[**concat**](https://help.qlik.com/nl-NL/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/StringAggregationFunctions/concat.htm)([**concat**](https://help.qlik.com/nl-NL/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/StringAggregationFunctions/concat.htm)**concat**concat([ distinct ] expression [, delimiter [, sort-weight]][ distinct ] expression [, delimiter [, sort-weight]]))

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StringAggregationFunctions/string-aggregation-functions.htm)

#### FirstValue

FirstValue() retourneert de waarde die als eerste werd geladen vanuit de records die zijn gedefinieerd door de uitdrukking, gesorteerd door een group by-clausule.

InformatieDeze functie is alleen beschikbaar als scriptfunctie.

[**FirstValue**](https://help.qlik.com/nl-NL/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/StringAggregationFunctions/FirstValue.htm) ([**FirstValue**](https://help.qlik.com/nl-NL/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/StringAggregationFunctions/FirstValue.htm)**FirstValue**FirstValue (expressionexpression))

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StringAggregationFunctions/string-aggregation-functions.htm)

#### LastValue

LastValue() retourneert de waarde die als laatste werd geladen vanuit de records die zijn gedefinieerd door de uitdrukking, gesorteerd door een group by-clausule.

InformatieDeze functie is alleen beschikbaar als scriptfunctie.

[**LastValue**](https://help.qlik.com/nl-NL/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/StringAggregationFunctions/LastValue.htm) ([**LastValue**](https://help.qlik.com/nl-NL/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/StringAggregationFunctions/LastValue.htm)**LastValue**LastValue (expressionexpression))

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StringAggregationFunctions/string-aggregation-functions.htm)

#### MaxString

MaxString() vindt tekenreekswaarden in de uitdrukking en retourneert de laatste tekstwaarde alfabetisch gesorteerd over een aantal records, zoals gedefinieerd door een group by-clausule.

[**MaxString**](https://help.qlik.com/nl-NL/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/StringAggregationFunctions/MaxString.htm)([**MaxString**](https://help.qlik.com/nl-NL/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/StringAggregationFunctions/MaxString.htm)**MaxString**MaxString(expression expression ))

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StringAggregationFunctions/string-aggregation-functions.htm)

#### MinString

MinString() vindt tekenreekswaarden in de uitdrukking en retourneert de eerste tekstwaarde alfabetisch gesorteerd over een aantal records, zoals gedefinieerd door een group by-clausule.

[**MinString**](https://help.qlik.com/nl-NL/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/StringAggregationFunctions/MinString.htm)([**MinString**](https://help.qlik.com/nl-NL/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/StringAggregationFunctions/MinString.htm)**MinString**MinString(expression expression ))

## Tekenreeksaggregatiefuncties in diagrammen

De volgende diagramfuncties zijn beschikbaar voor het aggregeren van tekenreeksen in diagrammen.

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StringAggregationFunctions/string-aggregation-functions.htm)

#### Concat

Concat() wordt gebruikt om tekenreekswaarden te combineren. De functie retourneert de geaggregeerde aaneenschakeling van tekenreeksen van alle waarden van de uitdrukking in elke dimensie.

[**concat**](https://help.qlik.com/nl-NL/sense/May2025/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StringAggregationFunctions/concat.htm)({[SetExpression] [DISTINCT] [TOTAL [&lt;fld{, fld}&gt;]] string[, delimiter[, sort\_weight]])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StringAggregationFunctions/string-aggregation-functions.htm)

#### MaxString

MaxString() vindt tekenreekswaarden in de uitdrukking of het veld en retourneert de laatste tekstwaarde in alfabetische sorteervolgorde.

[**maxstring**](https://help.qlik.com/nl-NL/sense/May2025/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StringAggregationFunctions/maxstring.htm)({[SetExpression] [TOTAL [&lt;fld{, fld}&gt;]]} expr)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StringAggregationFunctions/string-aggregation-functions.htm)

#### MinString

MinString() vindt tekenreekswaarden in de uitdrukking of het veld en retourneert de eerste tekstwaarde in alfabetische sorteervolgorde.

[**minstring**](https://help.qlik.com/nl-NL/sense/May2025/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/StringAggregationFunctions/minstring.htm)({[SetExpression] [TOTAL [&lt;fld {, fld}&gt;]]} expr)