# SelectExcluded method

Inverts the current selections.

## Parameters

| Name | Description | Type |
| --- | --- | --- |
| qSoftLock | Set to true to ignore locks; in that case, locked fields can be selected.<br>The default value is false. | Boolean |

## Returns

| Name | Description | Type |
| --- | --- | --- |
| qReturn | true/false<br><br>Information noteThe operation is successful if qReturn is set to true. | Boolean |

## See also

[Invert the current selections](https://help.qlik.com/en-US/sense-developer/May2025/csh/engineapi/invert-current-selections)