# GetMeasureWithLabelAsync Method

## Overloads

| [GetMeasureWithLabelAsync(String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetMeasureWithLabelAsync.htm#Qlik_Engine_App_GetMeasureWithLabelAsync_System_String_) |  | Returns the handle of a measure with a label.<br><br>If multiple measures has the same label the first is returned. |
| --- | --- | --- |
| [GetMeasureWithLabelAsync(AsyncHandle, String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetMeasureWithLabelAsync.htm#Qlik_Engine_App_GetMeasureWithLabelAsync_Qlik_Engine_AsyncHandle_System_String_) |  | Returns the handle of a measure with a label.<br><br>If multiple measures has the same label the first is returned. |
| [GetMeasureWithLabelAsync<T>(AsyncHandle, Func<Response, T>, String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetMeasureWithLabelAsync.htm#Qlik_Engine_App_GetMeasureWithLabelAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_) |  | Returns the handle of a measure with a label.<br><br>If multiple measures has the same label the first is returned. |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetMeasureWithLabelAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetMeasureWithLabelAsync.htm)

## GetMeasureWithLabelAsync(String)

Returns the handle of a measure with a label.

If multiple measures has the same label the first is returned.

### Declaration

```

          public Task<GenericMeasure> GetMeasureWithLabelAsync([QixName("qLabel")] string label)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | label | is the label of the measure to be returned. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;[GenericMeasure](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.htm)&gt; |  |

### Implements

[IApp.GetMeasureWithLabelAsync(String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetMeasureWithLabelAsync.htm#Qlik_Engine_IApp_GetMeasureWithLabelAsync_System_String_)

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetMeasureWithLabelAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetMeasureWithLabelAsync.htm)

## GetMeasureWithLabelAsync(AsyncHandle, String)

Returns the handle of a measure with a label.

If multiple measures has the same label the first is returned.

### Declaration

```

          public Task<GenericMeasure> GetMeasureWithLabelAsync(AsyncHandle asyncHandle, [QixName("qLabel")] string label)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.String | label | is the label of the measure to be returned. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;[GenericMeasure](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericMeasure.htm)&gt; |  |

### Implements

[IApp.GetMeasureWithLabelAsync(AsyncHandle, String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetMeasureWithLabelAsync.htm#Qlik_Engine_IApp_GetMeasureWithLabelAsync_Qlik_Engine_AsyncHandle_System_String_)

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetMeasureWithLabelAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetMeasureWithLabelAsync.htm)

## GetMeasureWithLabelAsync&lt;T&gt;(AsyncHandle, Func&lt;Response, T&gt;, String)

Returns the handle of a measure with a label.

If multiple measures has the same label the first is returned.

### Declaration

```
public Task<T> GetMeasureWithLabelAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qLabel")] string label)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.Func&lt;[Response](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm), T&gt; | onResult | Continuation function |
| System.String | label | is the label of the measure to be returned. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;T&gt; |  |

### Type Parameters

| Name | Description |
| --- | --- |
| T |  |

### Implements

[IApp.GetMeasureWithLabelAsync<T>(AsyncHandle, Func<Response, T>, String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetMeasureWithLabelAsync.htm#Qlik_Engine_IApp_GetMeasureWithLabelAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_)