# C1.Web.Api.DataEngine.Data.IFlexPivotEngineProvider.GetAggregatedData

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Web_Api_DataEngine_Data_IFlexPivotEngineProvider_GetAggregatedData_" data-uid="C1.Web.Api.DataEngine.Data.IFlexPivotEngineProvider.GetAggregatedData*">GetAggregatedData Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Web_Api_DataEngine_Data_IFlexPivotEngineProvider_GetAggregatedData_" data-uid="C1.Web.Api.DataEngine.Data.IFlexPivotEngineProvider.GetAggregatedData*"></a>
<h4 id="C1_Web_Api_DataEngine_Data_IFlexPivotEngineProvider_GetAggregatedData_System_Collections_Generic_Dictionary_System_String_System_Object__System_Threading_CancellationTokenSource_System_Action_System_Int32__" data-uid="C1.Web.Api.DataEngine.Data.IFlexPivotEngineProvider.GetAggregatedData(System.Collections.Generic.Dictionary{System.String,System.Object},System.Threading.CancellationTokenSource,System.Action{System.Int32})">GetAggregatedData(Dictionary&lt;string, object&gt;, CancellationTokenSource, Action&lt;int&gt;)</h4>
<div class="markdown level1 summary"><p>Gets the aggregated results according to the given view in an asynchronous execution</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">Task&lt;Dictionary&lt;object[], object[]&gt;&gt; GetAggregatedData(Dictionary&lt;string, object&gt; view, CancellationTokenSource cancelSource, Action&lt;int&gt; progress)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function GetAggregatedData(view As Dictionary(Of String, Object), cancelSource As CancellationTokenSource, progress As Action(Of Integer)) As Task(Of Dictionary(Of Object(), Object()))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</td>
      <td><span class="parametername">view</span></td>
      <td><p>View definition used for performing aggregation.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtokensource">CancellationTokenSource</a></td>
      <td><span class="parametername">cancelSource</span></td>
      <td><p>The cancellation token source.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>&gt;</td>
      <td><span class="parametername">progress</span></td>
      <td><p>A callback function to report analysis progress.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>[], <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>[]&gt;&gt;</td>
      <td><p>View execution (aggregation) result</p>
</td>
    </tr>
  </tbody>
</table>
</div>
