# CreateGenericDimensionAsync Method

## Overloads

| [CreateGenericDimensionAsync(GenericDimensionProperties)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.CreateGenericDimensionAsync.htm#Qlik_Engine_IApp_CreateGenericDimensionAsync_Qlik_Engine_GenericDimensionProperties_) |  | Creates a master dimension.<br><br>A master dimension is stored in the library of an app and can be used in many objects. Several generic objects can contain the same dimension. |
| --- | --- | --- |
| [CreateGenericDimensionAsync(AsyncHandle, GenericDimensionProperties)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.CreateGenericDimensionAsync.htm#Qlik_Engine_IApp_CreateGenericDimensionAsync_Qlik_Engine_AsyncHandle_Qlik_Engine_GenericDimensionProperties_) |  | Creates a master dimension.<br><br>A master dimension is stored in the library of an app and can be used in many objects. Several generic objects can contain the same dimension. |
| [CreateGenericDimensionAsync<T>(AsyncHandle, Func<Response, T>, GenericDimensionProperties)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.CreateGenericDimensionAsync.htm#Qlik_Engine_IApp_CreateGenericDimensionAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__Qlik_Engine_GenericDimensionProperties_) |  | Creates a master dimension.<br><br>A master dimension is stored in the library of an app and can be used in many objects. Several generic objects can contain the same dimension. |

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

## CreateGenericDimensionAsync(GenericDimensionProperties)

Creates a master dimension.

A master dimension is stored in the library of an app and can be used in many objects. Several generic objects can contain the same dimension.

### Declaration

```

          [QixName("CreateDimension")]
Task<CreateGenericDimensionResult> CreateGenericDimensionAsync([QixName("qProp")] GenericDimensionProperties prop)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [GenericDimensionProperties](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericDimensionProperties.htm) | prop | Information about the properties. |

### Returns

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

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

## CreateGenericDimensionAsync(AsyncHandle, GenericDimensionProperties)

Creates a master dimension.

A master dimension is stored in the library of an app and can be used in many objects. Several generic objects can contain the same dimension.

### Declaration

```

          [QixName("CreateDimension")]
Task<CreateGenericDimensionResult> CreateGenericDimensionAsync(AsyncHandle asyncHandle, [QixName("qProp")] GenericDimensionProperties prop)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| [GenericDimensionProperties](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericDimensionProperties.htm) | prop | Information about the properties. |

### Returns

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

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

## CreateGenericDimensionAsync&lt;T&gt;(AsyncHandle, Func&lt;Response, T&gt;, GenericDimensionProperties)

Creates a master dimension.

A master dimension is stored in the library of an app and can be used in many objects. Several generic objects can contain the same dimension.

### Declaration

```
[QixName("CreateDimension")]
Task<T> CreateGenericDimensionAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qProp")] GenericDimensionProperties prop)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2025/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/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm), T&gt; | onResult | Continuation function |
| [GenericDimensionProperties](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericDimensionProperties.htm) | prop | Information about the properties. |

### Returns

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

### Type Parameters

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