# MapValues

Specifies a mapping of a set of input values to output values.

The MapValues function is used to map a set of input values to output values for a map element. It supports a variable number of ValueMapping functions each of which specifies the mapping of one or more input values to a single output value.

This function returns a String.

## Related examples

* [Mapping fixed sets of values](https://help.qlik.com/talend/en-US/data-mapper-functions-reference-guide/8.0/mapping-fixed-sets-of-values)

## Related examples

* [Mapping fixed sets of values](https://help.qlik.com/talend/en-US/data-mapper-functions-reference-guide/8.0-R2024-12/mapping-fixed-sets-of-values "Use the MapValues and ValueMapping functions to map enumerated values from an input structure to different enumerated values in an output structure.")

## Arguments

| Source Map Element<br>(String) | The (typically input) map element that is the source of the input<br>values. |
| --- | --- |
| Values (ValueMapping) | A mapping of a set of input values to an output value. Any number<br>of ValueMapping functions may<br>be specified here. |