# ValueMapping

Specifies a mapping of one or more input values to a single output value.

The ValueMapping function is used to specify a mapping of one or more input values to a single output value and is used in conjunction with the MapValues function.

For convenience, this function allows you to specify the input or output values either a property or argument. If both are specified, the argument takes precedence.

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-R2026-01/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

| Arguments | Definitions |
| --- | --- |
| Output Value<br>(String) | The output value mapped from the input values. |
| Input Value (String) | One or more input values to be mapped to the output<br>value. |

## Properties

| Properties | Definitions |
| --- | --- |
| Output Value | The output value mapped from the input values. |
| Input Value | A single input value to be mapped to the output value. |
| Is Default Value | If this is true, this becomes the default value for the element<br>if no other ValueMapping<br>functions are satisfied. |