# GetSetAnalysisAsync Method

## Overloads

| [GetSetAnalysisAsync(String)](https://help.qlik.com/en-US/sense-developer/November2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericBookmark.GetSetAnalysisAsync.htm#Qlik_Engine_IGenericBookmark_GetSetAnalysisAsync_System_String_) |  | Returns a set analysis expression from a bookmark. Fields on the fly and calculated dimensions will not be included in the generated expression; instead a `MISSING VALUES` comment will be included within the expression. |
| --- | --- | --- |
| [GetSetAnalysisAsync(AsyncHandle, String)](https://help.qlik.com/en-US/sense-developer/November2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericBookmark.GetSetAnalysisAsync.htm#Qlik_Engine_IGenericBookmark_GetSetAnalysisAsync_Qlik_Engine_AsyncHandle_System_String_) |  | Returns a set analysis expression from a bookmark. Fields on the fly and calculated dimensions will not be included in the generated expression; instead a `MISSING VALUES` comment will be included within the expression. |
| [GetSetAnalysisAsync<T>(AsyncHandle, Func<Response, T>, String)](https://help.qlik.com/en-US/sense-developer/November2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericBookmark.GetSetAnalysisAsync.htm#Qlik_Engine_IGenericBookmark_GetSetAnalysisAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_) |  | Returns a set analysis expression from a bookmark. Fields on the fly and calculated dimensions will not be included in the generated expression; instead a `MISSING VALUES` comment will be included within the expression. |

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

## GetSetAnalysisAsync(String)

Returns a set analysis expression from a bookmark. Fields on the fly and calculated dimensions will not be included in the generated expression; instead a `MISSING VALUES` comment will be included within the expression.

### Declaration

```

          Task<string> GetSetAnalysisAsync([QixName("qStateName")] string stateName = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | stateName | Optional. The name of the state to get set analysis expression for. If left empty, the default state will be retrieved. |

### Returns

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

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

## GetSetAnalysisAsync(AsyncHandle, String)

Returns a set analysis expression from a bookmark. Fields on the fly and calculated dimensions will not be included in the generated expression; instead a `MISSING VALUES` comment will be included within the expression.

### Declaration

```

          Task<string> GetSetAnalysisAsync(AsyncHandle asyncHandle, [QixName("qStateName")] string stateName = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/November2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.String | stateName | Optional. The name of the state to get set analysis expression for. If left empty, the default state will be retrieved. |

### Returns

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

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

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

Returns a set analysis expression from a bookmark. Fields on the fly and calculated dimensions will not be included in the generated expression; instead a `MISSING VALUES` comment will be included within the expression.

### Declaration

```
Task<T> GetSetAnalysisAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qStateName")] string stateName = null)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/November2026/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/November2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm), T&gt; | onResult | Continuation function |
| System.String | stateName | Optional. The name of the state to get set analysis expression for. If left empty, the default state will be retrieved. |

### Returns

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

### Type Parameters

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