<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nidhi Mangtani on Medium]]></title>
        <description><![CDATA[Stories by Nidhi Mangtani on Medium]]></description>
        <link>https://medium.com/@bhartiparyaninp?source=rss-5e1f4774f97a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*sght1PzRKl3vRfmXOAMwgA.jpeg</url>
            <title>Stories by Nidhi Mangtani on Medium</title>
            <link>https://medium.com/@bhartiparyaninp?source=rss-5e1f4774f97a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 02:43:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bhartiparyaninp/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Enhancing People Planning with OneStream’s Dynamic Cube Services]]></title>
            <link>https://blog.archetypeconsulting.com/enhancing-people-planning-with-onestreams-dynamic-cube-services-40603cdbcbc0?source=rss-5e1f4774f97a------2</link>
            <guid isPermaLink="false">https://medium.com/p/40603cdbcbc0</guid>
            <category><![CDATA[dynamic-cubes]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[people-planning]]></category>
            <category><![CDATA[onestream]]></category>
            <category><![CDATA[cpm]]></category>
            <dc:creator><![CDATA[Nidhi Mangtani]]></dc:creator>
            <pubDate>Tue, 12 Aug 2025 13:33:04 GMT</pubDate>
            <atom:updated>2025-08-12T13:33:04.211Z</atom:updated>
            <content:encoded><![CDATA[<h4>Turn Headcount Data into Strategic Action — Seamlessly with OneStream Dynamic Cube Services</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*jihr1sDn97Gy5MuevU_Sew.png" /></figure><p>People planning is not just an annual budgeting task anymore, it is a live, evolving process that demands <strong>speed, flexibility, and insight</strong>. And that’s where OneStream’s Dynamic Cube Services (DCS) delivers. Whether you are managing workforce budgets, modelling headcount shifts, or forecasting labour costs, DCS turns your People Planning app into a <strong>real-time engine for smarter decisions</strong>.</p><h3><strong>What are Dynamic Cube Services (DCS)?</strong></h3><p>OneStream’s Dynamic Cube Services processes data dynamically<strong> </strong>without requiring full consolidations or data loads. It responds instantly to user inputs or structure changes in your application. In People Planning, that means no waiting, no batch jobs, no lag. Just real-time insights.</p><h3><strong>High Impact Use Cases of DCS in People Planning:</strong></h3><h4><strong>Use Case 1: What-If Scenario Modelling for Headcount and Compensation Scenario:</strong></h4><p>HR and Finance teams want to simulate the cost impact of hiring or attrition changes across departments or locations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/743/1*o53sxg1ZBn4Foy3M5k0xRg.png" /></figure><p><strong>DCS Value</strong>:</p><p>a. Takes in user inputs like number of hires, salary bands, and start dates.</p><p>b. Dynamically calculates salary, bonus, benefits, and tax impact.</p><p>c. Outputs the simulation in reports or dashboards without storing the data — ideal for sandboxing.</p><p>Let us see how above use case can be quickly implemented in OneStream with a <strong>dynamic read only cube</strong> for simulating the above mentioned hiring related calculations.</p><p>Below source details are fetched from an external source. This table “<strong>XFC_HR_HeadCount</strong>” captures possible number of hires for a particular department, location, and position along with Salary, Bonus and Tax details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*4MLLqjyk2jM6nf-Tct9_1A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6c8vbWBg-3Ps_aIFftv6Tg.png" /></figure><p>DCS would help us represent this source relational data as a cube data in OneStream.</p><p><strong>Creating Dynamic Dimensions</strong></p><p>Dynamic Dimensions are created only for Account, Flow, and User-Defined 1 through 8 dimensions.</p><p><strong>UD1 Departments</strong></p><p>Set up source type as <strong>Dynamic Dimension</strong>, provide source path as the path of your workspace which has Dynamic Dimension service enabled. Also mention parameters (if any).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JjLgxfachv2lFl3WK_rc9Q.png" /></figure><p>Add a Dynamic Dimension service file in your workspace.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SYztbGBDFuLtmRarLhQbyA.png" /></figure><p>Enable <strong>DynamicDimension</strong> service in your service factory.</p><pre>Namespace Workspace.__WsNamespacePrefix.__WsAssemblyName<br> Public Class MyFactory<br>  Implements IWsAssemblyServiceFactory<br><br>        Public Function CreateWsAssemblyServiceInstance(ByVal si As SessionInfo, ByVal globals As BRGlobals, ByVal workspace As DashboardWorkspace, ByVal wsasType As WsAssemblyServiceType, ByVal itemName As String) As IWsAssemblyServiceBase Implements IWsAssemblyServiceFactory.CreateWsAssemblyServiceInstance<br>            Try<br>                Select Case wsasType<br>        <br>                 Case Is = WsAssemblyServiceType.DynamicDimension<br>                  &#39; Switch on the dimension name<br>                  If itemName.XFEqualsIgnoreCase(&quot;ManualProducts&quot;) Then<br>                   Return New DynamicDimensionManual()<br>                  ElseIf itemName.XFEqualsIgnoreCase(&quot;DynamicProducts&quot;) OrElse <br>                      itemName.XFEqualsIgnoreCase(&quot;DynamicCompanies&quot;) OrElse <br>                      itemName.XFEqualsIgnoreCase(&quot;DynamicDepartments&quot;) OrElse <br>                      itemName.XFEqualsIgnoreCase(&quot;DynamicProject&quot;) OrElse <br>                      itemName.XFEqualsIgnoreCase(&quot;Departments&quot;) OrElse  <br>                      itemName.XFEqualsIgnoreCase(&quot;DynamicPositions&quot;) OrElse<br>                      itemName.XFEqualsIgnoreCase(&quot;DynamicDetail&quot;) Then<br>                   Return New DynamicDimensionQuery()<br>                  End If</pre><p>ItemName is dimension name. <strong>ReadDynamicDimensionInfo</strong> will hold logic for pulling members under this dynamic dimension.</p><pre>Public Function ReadDynamicDimensionInfo(ByVal si As SessionInfo, _<br>             ByVal api As IWsasDynamicDimensionApiV800, _<br>             ByVal args As DynamicDimensionArgs) As DynamicDimensionInfo Implements IWsasDynamicDimensionV800.ReadDynamicDimensionInfo<br>  Try<br>    <br>    If (api IsNot Nothing) AndAlso (args IsNot Nothing) Then<br>        If args.Dim.Name.XFEqualsIgnoreCase(&quot;DynamicProducts&quot;) Then<br>         Return CreateDynamicProducts(si, api, args)<br>     <br>     ElseIf args.Dim.Name.XFEqualsIgnoreCase(&quot;DynamicCompanies&quot;) Then<br>      Return CreateDynamicCompanies(si, api, args)<br>      <br>     ElseIf args.Dim.Name.XFEqualsIgnoreCase(&quot;DynamicDepartments&quot;) Then<br>      Return CreateDynamicDepartments(si, api, args)<br>      <br>     ElseIf args.Dim.Name.XFEqualsIgnoreCase(&quot;DynamicProject&quot;) Then<br>      Return CreateDynamicProjects(si, api, args)<br>      <br>     ElseIf args.Dim.Name.XFEqualsIgnoreCase(&quot;DynamicDetail&quot;) Then <br>      Return CreateDynamicResources(si, api, args)<br>      <br>     ElseIf args.Dim.Name.XFEqualsIgnoreCase(&quot;Departments&quot;) Then<br>      Return CreateDepartments(si, api, args)   &#39;<br>      <br>     ElseIf args.Dim.Name.XFEqualsIgnoreCase(&quot;DynamicPositions&quot;) Then<br>      Return CreateDynamicPositions(si, api, args)<br>      <br>     End If<br><br>    End If<br><br>     Return Nothing<br><br>    Catch ex As Exception<br>        Throw New XFException(si, ex)<br>    End Try<br>End Function</pre><p>Pull up the combination of Departments and subdepartments from the source query. Orderby and where clause details can also be specified.</p><pre>Public Function CreateDepartments(ByVal si As SessionInfo, ByVal api As IWsasDynamicDimensionApiV800, ByVal args As DynamicDimensionArgs) As DynamicDimensionInfo <br>   <br>   Try<br>    <br>    &#39; optional orderby can help performance<br>     Dim dbOrderBys = New List(Of DbOrderBy)()<br>     dbOrderBys.Add(New DbOrderBy(&quot;Department&quot;, True))<br>    &#39; if your query contains WHERE clauses, expressing them as dbwhere should help performance<br>    &#39;Dim dbWheres As New List(Of dbwhere)()<br>    &#39;dbwheres.Add(New DbWhere(&quot;Mycolumn&quot;, DbOperator.IsEqualTo, &quot;MyValue&quot;))<br>    <br>&#39;     retrieve parameters From Dimension configuration<br>      Dim nameValuePairs = New NameValueFormatBuilder(args.Dim.DimMemberSourceNVPairs)<br>      Dim membersAndRelationshipsQuery As String = nameValuePairs.NameValuePairs.XFGetValue(&quot;MembersAndRelationshipQuery&quot;)<br>      Dim secsToWait As Integer = nameValuePairs.NameValuePairs.XFGetValue(&quot;SecsToWait&quot;, 5)<br>    &#39; read timestamp<br>      Dim contentTimestamp As DateTime = ReadDynamicDimensionContentTimestamp(si, api, args)<br>    &#39; build the dimension from a query on the Application database<br>      Using appDbConn = BRApi.Database.CreateApplicationDbConnInfo(si)<br>        Dim dynamicDim = api.ReadDynamicDimensionInfo(si, args, contentTimestamp, _<br>      SharedConstants.Unknown, appDbConn, &quot;SELECT DISTINCT Department as Child, &#39;All Departments&#39; AS Parent FROM XFC_HR_HeadCount <br>                    UNION ALL <br>                SELECT Top 1 &#39;All Departments&#39; AS Child, &#39;Root&#39; AS Parent FROM XFC_HR_HeadCount<br>                UNION ALL<br>                SELECT DISTINCT SubDepartment as Child, Department AS Parent FROM XFC_HR_HeadCount&quot;, _<br>      Nothing, dbOrderBys, &quot;Child&quot;, &quot;Child&quot;, _<br>      String.Empty, String.Empty, &quot;Parent&quot;, String.Empty, String.Empty, String.Empty, False)<br>          Return dynamicDim<br>      End Using<br>    <br>   Catch ex As Exception<br>      Throw New XFException(si, ex)<br>  End Try<br>End Function</pre><p>Dimensions would be formed dynamically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*ood1GswQ9QqST9qoaYpG7w.png" /></figure><p>If departments/subdepartments are added/removed/modified in the source system, OneStream would automatically refresh this dynamic dimension to be in sync with the source system. Refresh would happen as per refresh timestamp set in the dynamic dimension service and the dynamic dimension.</p><h4><strong>UD2 DynamicPositions</strong></h4><p>Source query can also be passed as a parameter in the Dimension properties.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AI6L7mbsckVSaq3NBfyomA.png" /></figure><pre>SecsToWait=5,MembersAndRelationshipQuery=[SELECT DISTINCT Position as Child, &#39;All Positions&#39; AS Parent FROM XFC_HR_HeadCount UNION ALL SELECT Top 1 &#39;All Positions&#39; AS Child, &#39;Root&#39; AS Parent FROM XFC_HR_HeadCount]</pre><p>Enable the dynamic dimension service for every dynamic dimension in the service factory.</p><pre>Case Is = WsAssemblyServiceType.DynamicDimension<br>      &#39; Switch on the dimension name<br>      If itemName.XFEqualsIgnoreCase(&quot;ManualProducts&quot;) Then<br>       Return New DynamicDimensionManual()<br>      ElseIf itemName.XFEqualsIgnoreCase(&quot;DynamicProducts&quot;) OrElse <br>          itemName.XFEqualsIgnoreCase(&quot;DynamicCompanies&quot;) OrElse <br>          itemName.XFEqualsIgnoreCase(&quot;DynamicDepartments&quot;) OrElse <br>          itemName.XFEqualsIgnoreCase(&quot;DynamicProject&quot;) OrElse <br>          itemName.XFEqualsIgnoreCase(&quot;Departments&quot;) OrElse  <br>          itemName.XFEqualsIgnoreCase(&quot;DynamicPositions&quot;) OrElse<br>          itemName.XFEqualsIgnoreCase(&quot;DynamicDetail&quot;) Then<br>       Return New DynamicDimensionQuery()<br>      End If</pre><p>This would simply read the parameters set on the dynamic dimension and create the dimension on the fly. The source system could be internal or external.</p><pre>Public Function CreateDynamicPositions(ByVal si As SessionInfo, ByVal api As IWsasDynamicDimensionApiV800, ByVal args As DynamicDimensionArgs) As DynamicDimensionInfo <br>   <br>   Try<br>    <br>&#39;     retrieve parameters From Dimension configuration<br>    Dim nameValuePairs = New NameValueFormatBuilder(args.Dim.DimMemberSourceNVPairs)<br>    Dim membersAndRelationshipsQuery As String = nameValuePairs.NameValuePairs.XFGetValue(&quot;MembersAndRelationshipQuery&quot;)<br>    Dim secsToWait As Integer = nameValuePairs.NameValuePairs.XFGetValue(&quot;SecsToWait&quot;, 5)<br>    &#39; read timestamp<br>    Dim contentTimestamp As DateTime = ReadDynamicDimensionContentTimestamp(si, api, args)<br>    &#39; build the dimension from a query on the Application database<br>    Using appDbConn = BRApi.Database.CreateApplicationDbConnInfo(si)<br>        Dim dynamicDim = api.ReadDynamicDimensionInfo(si, args, contentTimestamp, _<br>      SharedConstants.Unknown, appDbConn, membersAndRelationshipsQuery, _<br>      Nothing, Nothing, &quot;Child&quot;, &quot;Description&quot;, _<br>      String.Empty, String.Empty, &quot;Parent&quot;, String.Empty, String.Empty, String.Empty, False)<br>      <br>        Return dynamicDim<br>    End Using<br>    <br>   Catch ex As Exception<br>      Throw New XFException(si, ex)<br>  End Try<br>End Function</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/249/1*aMvfjhC_gMvcW8XdFZBasg.png" /></figure><h4><strong>Creating the Dynamic read-only cube</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a6pttevdkH1cESDOBw4-kg.png" /></figure><p>Once the dimensions and cube set up is done, add a dynamic data service file to set data from the source system to be represented in the Dynamic cube.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uskvhcwM0tIO_QbEsjKp1A.png" /></figure><p><strong>ReadDynamicDataUnitData</strong> will be used to set data dynamically in the cube.</p><p>Enable <strong>Dynamic Data service</strong> in the service factory.</p><pre>Namespace Workspace.__WsNamespacePrefix.__WsAssemblyName<br> Public Class MyFactory<br>  Implements IWsAssemblyServiceFactory<br><br>        Public Function CreateWsAssemblyServiceInstance(ByVal si As SessionInfo, ByVal globals As BRGlobals, ByVal workspace As DashboardWorkspace, ByVal wsasType As WsAssemblyServiceType, ByVal itemName As String) As IWsAssemblyServiceBase Implements IWsAssemblyServiceFactory.CreateWsAssemblyServiceInstance<br>            Try<br>                Select Case wsasType<br>     <br>     Case Is = WsAssemblyServiceType.DynamicData<br>        &#39; Switch on the cube name<br>        If itemName.XFEqualsIgnoreCase(&quot;DynamicFinRptg&quot;) Then<br>         Return New DynamicDataByRecords()<br>         <br>        ElseIf itemName.XFEqualsIgnoreCase(&quot;Project_GPP&quot;) Then <br>         Return New DynamicDataByCells()<br>         <br>        ElseIf itemName.XFEqualsIgnoreCase(&quot;WhatIfAnalysis&quot;) Then <br>         Return New DynamicWhatIfAnalysis()<br>        End If</pre><p>ItemName is the cube name in this case.</p><pre>Public Function ReadDynamicDataUnitData(ByVal si As SessionInfo, ByVal globals As BRGlobals, ByVal workspace As DashboardWorkspace, _<br>            ByVal api As FinanceRulesApi, ByVal dynamicDataBindingInfo As DynamicDataBindingInfo) _<br>            As IDynamicDataUnitData Implements IWsasDynamicDataV800.ReadDynamicDataUnitData<br>  Try<br>      If (globals IsNot Nothing) AndAlso (workspace IsNot Nothing) AndAlso (api IsNot Nothing) AndAlso (dynamicDataBindingInfo IsNot Nothing) Then<br>     <br>     Dim sWFScenario As String = api.Pov.Scenario.Name<br>     Dim nWFYear As Integer = api.Time.GetYearFromId(BRApi.Workflow.General.GetWorkflowUnitPk(si).TimeKey)<br>     <br>     Dim sourceQuery As String = $&quot;SELECT Location, &#39;Periodic&#39; as Vw, &#39;Forms&#39; as Origin, &#39;None&#39; as Flow, <br>              &#39;None&#39; as IC, SubDepartment as UD1, Position as UD2, NumberOfHires, NumberOfAttrition, SalaryBand, <br>              BonusPercentage, BenefitPercentage, TaxPercentage From XFC_HR_HeadCount&quot;<br>     Dim dt As DataTable<br>     <br>     Using appDb = BRApi.Database.CreateApplicationDbConnInfo(si)<br>                  dt = BRApi.Database.ExecuteSql(appDb, sourceQuery, False)<br>     End Using <br>     <br>     If Not IsNothing(dt) AndAlso dt.Rows.Count &gt; 0 Then &#39;Headcount data found - START<br>      <br>      &#39; Try to work with member IDs, it&#39;s faster.<br>        &#39; Find your common ids OUTSIDE loops, to avoid repeated lookups.<br>     Dim nFlowID As Integer = api.Members.GetMemberId(dimtype.Flow.id, &quot;None&quot;)<br>     Dim nOriginID As Integer = api.Members.GetMemberid(dimtype.Origin.Id, &quot;Forms&quot;)<br>     Dim nICID As Integer = api.Members.GetMemberId(dimtype.IC.Id, &quot;None&quot;)<br>     Dim nUD3ID As Integer = api.Members.GetMemberId(dimtype.UD4.Id, &quot;None&quot;)<br>     Dim nUD4ID As Integer = api.Members.GetMemberId(dimtype.UD4.Id, &quot;None&quot;)<br>     Dim nUD5ID As Integer = api.Members.GetMemberId(dimtype.UD5.Id, &quot;None&quot;)<br>     Dim nUD6ID As Integer = api.Members.GetMemberId(dimtype.UD6.Id, &quot;None&quot;)<br>     Dim nUD7ID As Integer = api.Members.GetMemberId(dimtype.UD7.Id, &quot;None&quot;)<br>     Dim nUD8ID As Integer = api.Members.GetMemberId(dimtype.UD8.Id, &quot;None&quot;) <br>      <br>    &#39; Cache account IDs<br>          Dim accountIDs = New Dictionary(Of String, Integer) From {<br>              {&quot;sSalaryExp&quot;, api.Members.GetMemberId(dimtype.Account.id, &quot;50101&quot;)},<br>              {&quot;sBonusExp&quot;, api.Members.GetMemberId(dimtype.Account.id, &quot;50102&quot;)},<br>              {&quot;sBenefitsExp&quot;, api.Members.GetMemberId(dimtype.Account.id, &quot;50103&quot;)},<br>              {&quot;sTotalExp&quot;, api.Members.GetMemberId(dimtype.Account.id, &quot;50105&quot;)}<br>          }<br>      <br>      &#39; Prepare periods for 12 months<br>    Dim sMonths As String() = {&quot;2025M1&quot;, &quot;2025M2&quot;, &quot;2025M3&quot;, &quot;2025M4&quot;, &quot;2025M5&quot;, &quot;2025M6&quot;,<br>                               &quot;2025M7&quot;, &quot;2025M8&quot;, &quot;2025M9&quot;, &quot;2025M10&quot;, &quot;2025M11&quot;, &quot;2025M12&quot;}<br>             <br>      &#39;Keep a list Of records To be returned<br>      Dim nMonthIndex As Integer = 0<br>      Dim records As New Dictionary(Of DataRecordPk, DataRecord)()<br>      <br>      For Each dr As DataRow In dt.Rows <br>       <br>        &#39; Cycle through 12 months<br>        Dim sPeriodName As String = sMonths(nMonthIndex Mod 12)<br>        Dim nPeriodOrdinal As Integer = BRApi.Finance.Time.GetPeriodNumFromId(si, api.Time.GetIdFromName(sPeriodName))<br>       <br>       Dim nEntityID As Integer = api.Members.GetMemberId(dimtype.Entity.id, dr(&quot;Location&quot;))<br>       Dim nUD1ID As Integer = api.Members.GetMemberId(dimtype.UD1.Id, dr(&quot;UD1&quot;))<br>       Dim nUD2ID As Integer = api.Members.GetMemberId(dimtype.UD2.Id, dr(&quot;UD2&quot;))<br>       <br>       &#39;Read Headcount planned <br>       Dim nHireCount As Integer = dr(&quot;NumberOfHires&quot;)<br>       Dim nAttritionCount As Integer = dr(&quot;NumberOfAttrition&quot;)<br>       Dim nSalary As Decimal = dr(&quot;SalaryBand&quot;)<br>       Dim nBonusPct As Decimal = dr(&quot;BonusPercentage&quot;) / 100<br>       Dim nBenefitPct As Decimal = dr(&quot;BenefitPercentage&quot;) / 100<br>       Dim nTaxPct As Decimal = dr(&quot;TaxPercentage&quot;) / 100<br>       <br>       &#39;Compute dynamically<br>       Dim nMonthlySalary As Decimal = nSalary * (nHireCount + nAttritionCount)<br>       Dim nMonthlyBonus As Decimal = nMonthlySalary * nBonusPct<br>       Dim nMonthlyBenefit As Decimal = nMonthlySalary * nBenefitPct<br>       Dim nMonthlyTax As Decimal = (nMonthlySalary + nMonthlyBonus + nMonthlyBenefit) * nTaxPct<br>       Dim nMonthlyTotal As Decimal = nMonthlySalary + nMonthlyBonus + nMonthlyBenefit + nMonthlyTax<br>       <br>       &#39;Add 4 records for each source row<br>       &#39;50101 - Salary Expense = (salary / 12) * (numHires - numAttrition)<br>        AddOrUpdateRecord(records, si, api, nWFYear, accountIDs(&quot;sSalaryExp&quot;), nEntityID, nFlowID, nOriginID, nICID, nUD1ID, nUD2ID, nUD3ID, nUD4ID, <br>                         nUD5ID, nUD6ID, nUD7ID, nUD8ID, nMonthlySalary, nPeriodOrdinal)<br>             <br>       &#39;50102 - Bonus Expense = Salary Expense * bonusPct<br>       AddOrUpdateRecord(records, si, api, nWFYear, accountIDs(&quot;sBonusExp&quot;), nEntityID, nFlowID, nOriginID, nICID, nUD1ID, nUD2ID, nUD3ID, nUD4ID, <br>                         nUD5ID, nUD6ID, nUD7ID, nUD8ID, nMonthlyBonus, nPeriodOrdinal)<br>             <br>       &#39;50103 - Benefits Expense =  Salary Expense * benefitPct<br>       AddOrUpdateRecord(records, si, api, nWFYear, accountIDs(&quot;sBenefitsExp&quot;), nEntityID, nFlowID, nOriginID, nICID, nUD1ID, nUD2ID, nUD3ID, nUD4ID, <br>                         nUD5ID, nUD6ID, nUD7ID, nUD8ID, nMonthlyBenefit, nPeriodOrdinal)<br>             <br>       &#39;50105 - Tax = (50101 + 50102 + 50103) * taxPct<br>       AddOrUpdateRecord(records, si, api, nWFYear, accountIDs(&quot;sTotalExp&quot;), nEntityID, nFlowID, nOriginID, nICID, nUD1ID, nUD2ID, nUD3ID, nUD4ID, <br>                         nUD5ID, nUD6ID, nUD7ID, nUD8ID, nMonthlyTotal, nPeriodOrdinal)<br>             <br>       nMonthIndex += 1<br>       <br>      Next <br>      <br>&#39;       Define the time To wait before checking timestamp again.<br>      &#39; During this interval, data will be returned from in-memory cache rather than re-executing this function.<br>      Dim numSecondsBeforeCheckTS As Integer = 0<br>      &#39; This could be driven from a parameter, for example called TsCheckAfterSeconds and used like this:<br>      &#39;Dim numSecondsBeforeCheckTS As Integer = CInt(dynamicDataBindingInfo.OptionsNameValuePairs(&quot;TsCheckAfterSeconds&quot;))<br>      <br>      &#39; create the dataunit object that we will return, with a current timestamp<br>      Dim dataUnit As New DynamicDataUnitData(api, Datetime.Now, numSecondsBeforeCheckTS)<br><br>      &#39; add the records we created<br>      dataUnit.SetDataRecords(si, records.Values)<br>      <br>      &#39; return the object<br>      Return dataUnit<br>      <br>     End If &#39;Headcount data found - END<br><br>    End If<br><br>    Return Nothing<br>Catch ex As Exception<br>    Throw New XFException(si, ex) <br>End Try<br>End Function<br>  <br>Public Sub AddOrUpdateRecord(records As Dictionary(Of DataRecordPk, DataRecord), ByVal si As SessionInfo, ByVal api As FinanceRulesApi, <br>        ByVal nWFYear As Integer, nAccountId As Integer, ByVal nEntityId As Integer, nFlowID As Integer, <br>        ByVal nOriginID As Integer, ByVal nICID As Integer, ByVal nUD1ID As Integer, ByVal nUD2ID As Integer, <br>        ByVal nUD3ID As Integer, ByVal nUD4ID As Integer, ByVal nUD5ID As Integer, ByVal nUD6ID As Integer, <br>        ByVal nUD7ID As Integer, ByVal nUD8ID As Integer, ByVal nAmount As Decimal, ByVal nPeriodOrdinal As Integer)<br>       <br> Try<br><br>     Dim drpk As New DataRecordPk(api.Pov.Cube.CubeId, nEntityId, DimConstants.Unknown, api.Pov.Cons.MemberId,<br>                                  api.Pov.Scenario.MemberId, nWFYear, nAccountId, nFlowID, nOriginID, nICID, nUD1ID, nUD2ID, nUD3ID, <br>          nUD4ID, nUD5ID, nUD6ID, nUD7ID, nUD8ID)<br>          <br>     If Not records.ContainsKey(drpk) Then<br>         records(drpk) = New DataRecord(drpk, 12)<br>     End If<br>  <br>  &#39;Assign data to the correct month (0-based index)<br>     records(drpk).DataCells(nPeriodOrdinal - 1) = New DataCacheCell(nAmount, DataCellStatus.CreateDataCellStatus(False, False))<br>  <br> Catch ex As Exception<br>    Throw New XFException(si, ex) <br>End Try<br><br>End Sub</pre><p>Results can be verified in a cube view or quick view. Trends can be viewed in existing OneStream components.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*0ev-Y7f8O_CohZBY9Q4jCw.png" /></figure><p>In summary, using DCS we can represent external system data in OneStream without traditional import, validate, load. Also create key analysis metrics using the same dynamic data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*N_1ZbCObClIfB-Jx_YnHng.png" /></figure><p>If a new department “RnD” is created in the system, results would immediately show up in OneStream.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*_-w0T5_XiKpltHZy2J621w.png" /></figure><p>If we plan to hire “Directors,” this will also show the changes immediately in dimensions and cube data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*vyUGXF-j733zxB5jHPl-Fw.png" /></figure><h4><strong>Use Case 2: Dynamic Time-Phased Labor Forecasting Scenario</strong></h4><p>Managers forecast labour hours and costs over time based on project or business activity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/765/1*oeamFOePEHahdPGqardOHw.png" /></figure><p><strong>DCS Value</strong>:</p><p>a. Uses curves (e.g., ramp-up patterns, seasonality) to generate dynamic time-distributed labour forecasts.</p><p>b. Supports recalculations instantly when timeline or staffing assumptions change.</p><p>c. Helps avoid preloading multiple data versions.</p><p>This can be implemented similarly using combination of dynamic dimensions based on source data. We can have a <strong>read write dynamic cube</strong> in this case.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dfE40h0rlrtIi3tAiudh6w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*atbM1bfjSy_vGkOKjOdDtQ.png" /></figure><p>UD1 and UD4 are dynamic dimensions.</p><pre>Public Function CreateDynamicProjects(ByVal si As SessionInfo, ByVal api As IWsasDynamicDimensionApiV800, ByVal args As DynamicDimensionArgs) As DynamicDimensionInfo <br>   <br>   Try<br>    <br>    Dim contentTimestamp As DateTime = ReadDynamicDimensionContentTimestamp(si, api, args)<br><br>    Dim dynamicMembers As New DynamicMemberCollection()<br>    Dim dynamicRelationships As New DynamicRelationshipCollection()<br>  <br>    If (api IsNot Nothing) AndAlso (args IsNot Nothing) AndAlso (args.Dim IsNot Nothing) AndAlso (args.Dim.DimPk IsNot Nothing) Then<br>        Using dbConnExt As DbConnInfo = BRApi.Database.CreateApplicationDbConnInfo(si)<br>            Dim dbOrderBys As New List(Of DbOrderBy)()<br>            dbOrderBys.Add(New DbOrderBy(&quot;ProjectID&quot;, True))<br>  <br>            Dim projectTable As DataTable = DbSql.GetDataTable(dbConnExt, &quot;SELECT * FROM XFC_GPP_ProjectMaster&quot;, Nothing, dbOrderBys, False, False)<br>  <br>            If (projectTable IsNot Nothing AndAlso projectTable.Columns IsNot Nothing AndAlso projectTable.Rows IsNot Nothing) Then<br>              Dim ProjectIDDataColumn As DataColumn = projectTable.Columns(&quot;ProjectID&quot;)<br>              Dim ProjectNameDataColumn As DataColumn = projectTable.Columns(&quot;ProjectName&quot;)<br>              Dim ParentProjectDataColumn As DataColumn = projectTable.Columns(&quot;Parent&quot;)<br>  <br>              For Each dataRow As DataRow In projectTable.Rows<br>                If dataRow IsNot Nothing Then<br>                  Dim ProjectID As String = dataRow.GetTextValue(ProjectIDDataColumn)<br>                  Dim ProjectName As String = dataRow.GetTextValue(ProjectNameDataColumn)<br>                  Dim Parent As String = dataRow.GetTextValue(ParentProjectDataColumn)<br>  <br>                  If Not String.IsNullOrEmpty(ProjectID) AndAlso Not String.IsNullOrEmpty(ProjectName) AndAlso Not String.IsNullOrEmpty(Parent) Then<br>                    Dim ParentName As String = Parent<br>                    Dim ParentMember As Member = BRApi.Finance.Members.GetMember(si, DimType.UD1.Id, &quot;MainProject&quot;, ParentName)<br>                    Dim ProjectDynamicMember As DynamicMember = dynamicMembers.GetMember(ProjectID)<br>  <br>                    If ProjectDynamicMember Is Nothing OrElse ProjectDynamicMember.Member Is Nothing Then<br>                        ProjectDynamicMember = dynamicMembers.CreateAndAddMember(api.DbConnApp, args, ProjectID, ProjectName)<br>  <br>                          If ProjectDynamicMember IsNot Nothing AndAlso ProjectDynamicMember.Member IsNot Nothing Then<br>                              dynamicRelationships.CreateAndAddRelationship(si, ParentMember, ProjectDynamicMember)<br>                          End If<br>                     End If<br>                  End If<br>                End If<br>              Next<br>            End If<br>        End Using<br>    End If<br>    <br>    Return New DynamicDimensionInfo(contentTimestamp, SharedConstants.Unknown, dynamicMembers, dynamicRelationships)<br>    <br>   Catch ex As Exception<br>      Throw New XFException(si, ex)<br>  End Try<br>End Function<br>  <br>Public Function CreateDynamicResources(si As SessionInfo, api As IWsasDynamicDimensionApiV800, args As DynamicDimensionArgs) As DynamicDimensionInfo<br>    Try<br>      Dim contentTimestamp As DateTime = ReadDynamicDimensionContentTimestamp(si, api, args)<br><br>      Dim dynamicMembers As New DynamicMemberCollection()<br>      Dim dynamicRelationships As New DynamicRelationshipCollection()<br><br>      &#39; Get top-level parent member (e.g., &quot;Resources&quot;)<br>      Dim topMember As Member = BRApi.Finance.Members.GetMember(si, DimType.UD4.Id, &quot;Resources&quot;)<br><br>      If (api IsNot Nothing) AndAlso (args IsNot Nothing) AndAlso (args.Dim IsNot Nothing) AndAlso (args.Dim.DimPk IsNot Nothing) Then<br>        Using dbConnExt As DbConnInfo = BRApi.Database.CreateApplicationDbConnInfo(si)<br>          Dim dbOrderBys As New List(Of DbOrderBy)()<br>          dbOrderBys.Add(New DbOrderBy(&quot;OrgID&quot;, True))<br>          dbOrderBys.Add(New DbOrderBy(&quot;ResourceID&quot;, True))<br><br>          Dim detailTable As DataTable = DbSql.GetDataTable(dbConnExt, &quot;SELECT * FROM XFC_GPP_ResourceMaster&quot;, Nothing, dbOrderBys, False, False)<br><br>          If detailTable IsNot Nothing AndAlso detailTable.Columns IsNot Nothing AndAlso detailTable.Rows IsNot Nothing Then<br>            Dim orgIDCol As DataColumn = detailTable.Columns(&quot;OrgID&quot;)<br>            Dim resourceIDCol As DataColumn = detailTable.Columns(&quot;ResourceID&quot;)<br>            Dim resourceNameCol As DataColumn = detailTable.Columns(&quot;ResourceName&quot;)<br><br>            For Each dataRow As DataRow In detailTable.Rows<br>                If dataRow IsNot Nothing Then<br>                    Dim orgID As String = dataRow.GetTextValue(orgIDCol)<br>                    Dim resourceID As String = dataRow.GetTextValue(resourceIDCol)<br>                    Dim resourceName As String = dataRow.GetTextValue(resourceNameCol)<br><br>                    If Not String.IsNullOrEmpty(orgID) AndAlso Not String.IsNullOrEmpty(resourceID) AndAlso Not String.IsNullOrEmpty(resourceName) Then<br>                        Dim parentName As String = orgID<br>                        Dim parentDynamicMember As DynamicMember = dynamicMembers.GetMember(parentName)<br>                        Dim resourceDynamicMember As DynamicMember = dynamicMembers.GetMember(resourceID)<br><br>                        If parentDynamicMember Is Nothing OrElse parentDynamicMember.Member Is Nothing Then<br>                            parentDynamicMember = dynamicMembers.CreateAndAddMember(api.DbConnApp, args, parentName, String.Empty)<br>                            If parentDynamicMember IsNot Nothing AndAlso parentDynamicMember.Member IsNot Nothing Then<br>                                dynamicRelationships.CreateAndAddRelationship(si, topMember, parentDynamicMember)<br>                            End If<br>                        End If<br><br>                        If resourceDynamicMember Is Nothing OrElse resourceDynamicMember.Member Is Nothing Then<br>                            resourceDynamicMember = dynamicMembers.CreateAndAddMember(api.DbConnApp, args, resourceID, resourceName)<br>                            If resourceDynamicMember IsNot Nothing AndAlso resourceDynamicMember.Member IsNot Nothing Then<br>                                dynamicRelationships.CreateAndAddRelationship(si, parentDynamicMember, resourceDynamicMember)<br>                            End If<br>                        End If<br>                    End If<br>                End If<br>            Next<br>          End If<br>      End Using<br>  End If<br><br>  Return New DynamicDimensionInfo(contentTimestamp, SharedConstants.Unknown, dynamicMembers, dynamicRelationships)<br><br>Catch ex As Exception<br>    Throw New XFException(si, ex)<br>End Try<br>End Function</pre><p>Labour Hours stored in relational tables thus can be displayed in cube views using Dynamic Data service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*Jr800fkFHkwbwLMUg1y0CQ.png" /></figure><p>When edits are made in the above cube view, those are written back to source relational table.</p><p>Existing data</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*p6yp7vu8PQmHX8MyboEkWA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*sK7LmWrwW58Y5ejPEMTbVA.png" /></figure><p>Above edits get captured in the relational table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*KtDt7nwA33tUsbeFuwPoSg.png" /></figure><p><strong>SaveDynamicDataCells</strong> would oversee writing back to the source table.</p><p>Identify if data is added or updated, accordingly execute insert or update SQL.</p><pre>Public Sub SaveDynamicDataCells(ByVal si As SessionInfo, ByVal brGlobals As BRGlobals, ByVal workspace As DashboardWorkspace, _<br>   ByVal cube As Cube, ByVal scenario As Member, ByVal dynamicDataBindingInfo As DynamicDataBindingInfo,<br>   ByVal dataCellExs As List(Of DataCellEx)) Implements IWsasDynamicDataV800.SaveDynamicDataCells<br>            <br>    Try<br>     If brGlobals IsNot Nothing AndAlso workspace IsNot Nothing AndAlso cube IsNot Nothing AndAlso scenario IsNot Nothing AndAlso dynamicDataBindingInfo IsNot Nothing AndAlso dataCellExs IsNot Nothing Then<br>   <br>       Dim insertDt As DataTable<br>       Dim sUpdateSQL As New Text.StringBuilder<br><br>       Using appDbConn = BRApi.Database.CreateApplicationDbConnInfo(si)<br>           insertDt = BRApi.Database.ExecuteSql(appDbConn, &quot;SELECT TOP 0 * FROM [XFC_GPP_LaborHours]&quot;, False)<br>       End Using<br><br>       For Each dataCell In dataCellExs<br>           Dim sWFScenario As String = BRApi.Finance.Members.GetMemberName(si, DimType.Scenario.Id, dataCell.DataCell.DataCellPk.ScenarioId)<br>           Dim nWFYear As Integer = Integer.Parse(BRApi.Finance.Members.GetMemberName(si, DimType.Time.Id, dataCell.DataCell.DataCellPk.TimeId).Substring(0, 4))<br>           Dim sProjectID As String = BRApi.Finance.Members.GetMemberName(si, DimType.UD1.Id, dataCell.DataCell.DataCellPk.UD1Id)<br>           Dim nResourceID As Integer = BRApi.Finance.Members.GetMemberName(si, DimType.UD4.Id, dataCell.DataCell.DataCellPk.UD4Id)<br>           Dim sWorkType As String = BRApi.Finance.Members.GetMemberName(si, DimType.UD3.Id, dataCell.DataCell.DataCellPk.UD3Id)<br>           Dim sPeriodName As String = BRApi.Finance.Members.GetMemberName(si, DimType.Time.Id, dataCell.DataCell.DataCellPk.TimeId)<br>           Dim nAmount As Integer = dataCell.DataCell.CellAmount<br><br>           Using appDbConn = BRApi.Database.CreateApplicationDbConnInfo(si)<br>               Dim checkSql As String = $&quot;SELECT * FROM XFC_GPP_LaborHours WHERE WFScenario = &#39;{sWFScenario}&#39; AND WFYear = {nWFYear} AND <br>         ProjectID = &#39;{sProjectID}&#39; AND ResourceID = {nResourceID} AND WorkType = &#39;{sWorkType}&#39; AND <br>         Period = &#39;{sPeriodName}&#39;&quot;<br>               Dim updateDT = BRApi.Database.ExecuteSql(appDbConn, checkSql, False)<br><br>               If updateDT.Rows.Count &gt; 0 Then<br>                   &#39; Prepare update SQL (batching later)<br>                   Dim sRegisterID As String = updateDT.Rows(0)(&quot;RegisterID&quot;).ToString()<br>                   sUpdateSQL.AppendLine($&quot;UPDATE XFC_GPP_LaborHours SET Amount = {nAmount} WHERE RegisterID = &#39;{sRegisterID}&#39;&quot;)<br>               Else<br>                   &#39; Prepare insert row<br>                   Dim dr = insertDt.NewRow()<br>                   dr(&quot;RegisterID&quot;) = Guid.NewGuid().ToString()<br>                   dr(&quot;WFScenario&quot;) = sWFScenario<br>                   dr(&quot;WFYear&quot;) = nWFYear<br>                   dr(&quot;ProjectID&quot;) = sProjectID<br>                   dr(&quot;ResourceID&quot;) = nResourceID<br>                   dr(&quot;ResourceName&quot;) = BRApi.Finance.Members.GetMember(si, DimType.UD4.Id, dataCell.DataCell.DataCellPk.UD4Id).Description.ToString<br>                   dr(&quot;PLCID&quot;) = 1<br>                   dr(&quot;WorkType&quot;) = sWorkType<br>                   dr(&quot;Period&quot;) = sPeriodName<br>                   dr(&quot;Amount&quot;) = nAmount<br>                   insertDt.Rows.Add(dr)<br>               End If<br>           End Using<br>       Next<br>               <br>     Using appDbConn = BRApi.Database.CreateApplicationDbConnInfo(si)<br>       <br>       &#39;Execute batch updates<br>       If Not String.IsNullOrEmpty(sUpdateSQL.ToString) Then<br>        BRApi.Database.ExecuteSql(appDbConn, sUpdateSQL.ToString, True)<br>       End If<br>                  <br>            &#39;Execute bulk insert<br>        If Not IsNothing(insertDt) AndAlso insertDt.Rows.Count &gt; 0 Then<br>            BRApi.Database.SaveCustomDataTable(si, &quot;Application&quot;, &quot;XFC_GPP_LaborHours&quot;, insertDt, True)<br>        End If<br>          <br>       End Using<br>   <br>   End If<br>Catch ex As Exception<br>   Throw New XFException(si, ex)<br>End Try<br>End Sub</pre><p>Listing other use cases briefly.</p><h4><strong>Use Case 3: Analyzing employee expenses</strong></h4><p>If OneStream Marketplace People Planning solution is used to manage People Planning, we would have register and plan tables holding key compensation metrics. DCS can be used to analyse individual employee expenses for reporting before pushing the calculated data to the cube.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*UaiV2bfS0ytgfGtV2OKryA.png" /></figure><p>DynamicPLPTest is a dynamic read only cube having UD2 and UD3 as dynamic dimensions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*fqf-UMIYjSBmV7Inf57mgQ.png" /></figure><p>These dimensions are generated on the fly as per Employee details present in Register table.</p><p>Plan data can be set in the dynamic cube and can be used for analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*Gdo57qiP2IfviHjJei2F8g.png" /></figure><p>Trends can be analyzed as per each employee, or level or both.</p><h4><strong>Use Case 4: Interactive Compensation Planning Scenario</strong></h4><p>Planning salary adjustments, merit increases, or variable pay tied to performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*_wzxWmqdz5kc0kt1pSprYg.png" /></figure><p><strong>DCS Value</strong>:</p><p>a. Inputs include roles, performance ratings, and compensation bands.</p><p>b. Calculates adjusted compensation using real-time logic via Cube Extender + DataCellEx.</p><p>c. Shows impact across departments instantly without polluting stored data.</p><h4><strong>Use Case 5: Dynamic Cost Allocation Across Cost Centres</strong></h4><p>Allocate people-related costs like benefits or overhead across multiple departments based on changing driver logic (e.g., headcount ratios or hours worked).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/829/1*9hHAIjk7XdEYd96lNrPT7g.png" /></figure><p><strong>DCS Value</strong>:</p><p>a. Pulls allocation drivers dynamically (from external systems or cube).</p><p>b. Performs real-time allocations with no need to load or persist calculated splits.</p><p>c. Maintains lean data storage while enabling detailed analysis.</p><h4><strong>Use Case 6: Reconciliation of HR vs Finance Headcount Scenario</strong></h4><p>Finance needs to reconcile budgeted vs actual headcount from the HRIS system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*zhUV4BCgNyLBmIsUJ3mNCw.png" /></figure><p><strong>DCS Value</strong>:</p><p>a. Dynamically compares HRIS data with cube data using custom logic.</p><p>b. Flags variances or missing positions on-the-fly.</p><p>c. Supports validation dashboards without storing the full HR extract.</p><p><strong>Use Case 7: Workforce Metrics and KPI Dashboards Scenario</strong></p><p>Leadership wants real-time KPIs such as headcount by region, labour cost per FTE, attrition rate, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/731/1*4WWt-Eog9y_JmISyZ_bfiw.png" /></figure><p><strong>DCS Value</strong>:</p><p>a. Pulls raw and derived workforce data into dashboard widgets using dynamic cubes.</p><p>b. Supports filters, drilldowns, and real-time refresh without overloading the cube.</p><p>c. Enhances decision-making with zero-latency insights.</p><h4><strong>Use Case 8: Leave, Overtime, and Shift Cost Forecasting Scenario</strong></h4><p>Model leave accruals, overtime, or shift differential costs based on actuals and forecast activity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/635/1*ToownWc4tQPOCzUvmTfXaQ.png" /></figure><p><strong>DCS Value</strong>:</p><p>a. Reads historical trends and user-defined rules.</p><p>b. Calculates incremental costs dynamically.</p><p>c. Allows for immediate scenario evaluation without saving intermediate data.</p><h4><strong>Use Case 9: Real-Time Org Structure Planning Scenario</strong></h4><p>Simulate organizational restructuring and its financial implications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*Lu8C0CZ7bO97xVLA3tT28w.png" /></figure><p><strong>DCS Value</strong>:</p><p>a. Models changes in hierarchy, cost centre alignment, or reporting chains.</p><p>b. Shows financial impact dynamically before executing changes.</p><p>c. Ideal for pre-close planning, Mergers and Acquisitions due diligence, or budget restructuring.</p><p><strong>The Payoff: Faster Planning, Smarter Decisions</strong></p><p>When HR and Finance can react to workforce changes in real time, they make better decisions faster. DCS transforms People Planning from a reactive budgeting process into a <strong>strategic capability</strong>.</p><h3><strong>Conclusion</strong></h3><p>If you are already using OneStream or exploring platform-based planning, integrating DCS is a game-changer. It is not just about performance — it is about enabling <strong>live, intelligent, and collaborative workforce planning</strong>. Hope you enjoyed the technical depth of this blog and the DCS series.</p><p>Part 1 of this blog series can be found <a href="https://blog.archetypeconsulting.com/unlocking-the-power-of-onestreams-dynamic-cube-services-for-real-time-financial-insights-bbeb0fa731d2">here</a>.</p><p>I am Nidhi Mangtani, one of the OneStream technical experts at Archetype Consulting. I would be happy to connect for any OneStream related discussion on <a href="https://www.linkedin.com/in/bhartiparyaninp/">LinkedIn</a>.</p><p>Subscribe to <a href="https://blog.archetypeconsulting.com/">Archetype Medium Publication blog</a> for news on Snowflake, GenAI, CPM, One Stream, Tableau, dbt, automation, and the Cloud are just a few of the technical subjects covered by our dedicated engineering team.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40603cdbcbc0" width="1" height="1" alt=""><hr><p><a href="https://blog.archetypeconsulting.com/enhancing-people-planning-with-onestreams-dynamic-cube-services-40603cdbcbc0">Enhancing People Planning with OneStream’s Dynamic Cube Services</a> was originally published in <a href="https://blog.archetypeconsulting.com/">Archetype Consulting</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unlocking the Power of OneStream’s Dynamic Cube Services for Real-Time Financial Insights]]></title>
            <link>https://blog.archetypeconsulting.com/unlocking-the-power-of-onestreams-dynamic-cube-services-for-real-time-financial-insights-bbeb0fa731d2?source=rss-5e1f4774f97a------2</link>
            <guid isPermaLink="false">https://medium.com/p/bbeb0fa731d2</guid>
            <category><![CDATA[corporate-performance]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[onestream]]></category>
            <category><![CDATA[cpm]]></category>
            <dc:creator><![CDATA[Nidhi Mangtani]]></dc:creator>
            <pubDate>Tue, 24 Jun 2025 13:31:27 GMT</pubDate>
            <atom:updated>2025-06-24T13:31:27.378Z</atom:updated>
            <content:encoded><![CDATA[<h4>Enable real-time, on-the-fly data calculations and reporting without persisting data in the cube, enhancing performance and flexibility for dynamic planning and analysis</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*wqBJM3h6GQSmKn5f4dPghw.png" /></figure><p>In today’s fast-paced business environment, Finance professionals require agile tools to analyze vast volumes of data efficiently. OneStream addressed this need by introducing <strong>Dynamic Cube Services (DCS)</strong> with version 8.5 which is a groundbreaking feature that enables real-time data integration and analysis without the burden of traditional data loading, dramatically enhancing performance and agility. This capability supports use cases like real-time reporting, scenario modelling and dynamic allocations. DCS is now generally available with OneStream version 9.0.</p><p>In this blog, we will explore what Dynamic Cube Services are, why they are important, and how you can implement them effectively.</p><h3><strong>Understanding Dynamic Cube Services</strong></h3><p>Dynamic Cube Services revolutionizes financial data management by facilitating instant data integration and advanced scenario analysis. Key capabilities include:</p><ul><li>Consolidate financial data from diverse sources.</li><li>Create and compare different budgeting and forecasting scenarios.</li><li>Track key performance indicators in real-time.</li><li>Analyse risk data across multiple dimensions.</li><li>Ensure financial data accuracy for compliance and auditing.</li></ul><p>Dynamic Cube Services (DCS) allow developers to temporarily inject data into the OneStream cube. These “virtual” data cells behave like real data but are generated on demand during the <strong>calculation pipeline</strong>.</p><p>This is ideal for:</p><ul><li>On-the-fly calculations.</li><li>Complex what-if scenario modelling.</li><li>Reducing cube bloat by avoiding the storage of the derived data.</li></ul><p>Unlike traditional cubes that rely on stored data, DCS allows for the creation of <strong>dynamic cubes</strong> that structure data into a multidimensional format, ready for simplified reporting and analysis using tools such as cube views, quick views, and dashboards. These dynamic cubes enable real-time connectivity to sources like external databases or source cubes without the necessity of physically storing data in the target cube.</p><p>Imagine a calculator sitting on top of your spreadsheet. Every time you change a number, it recalculates instantly, without having to save, reload, or process the whole file. That is what DCS does inside OneStream, but at an Enterprise scale.</p><h4><strong>Caching</strong></h4><p>Dynamic data is cached depending on the refresh timestamp set for reloading of dynamic dimensions and dynamic data.</p><p>OneStream caches each <strong>DataUnit</strong> in memory to optimize performance. Instead of querying external systems every time, the platform reuses the cached data until it’s considered stale Here’s the step-by-step logic:</p><ol><li><strong>Check Timestamp</strong></li></ol><p>· Each data unit has an associated timestamp and a time-to-live (TTL).</p><p>· The ReadDynamicDataUnitContentTimestamp method provides the current timestamp from the source.</p><p><strong>2. Validate Cache</strong></p><ul><li>If the current time &lt; last timestamp + TTL, the cache is <strong>valid</strong> — return data from memory.</li><li>Otherwise, it’s <strong>expired</strong>.</li></ul><p><strong>3. Fetch Fresh Data</strong><br> When expired:</p><ul><li>Call ReadDynamicDataUnitData to pull new data from external sources.</li><li>Update the in-memory cache and the timestamp.</li></ul><p><strong>4. Return Data</strong><br> Always return the data unit from memory — either freshly updated or still cached.</p><p>For greater control, TTL can be set short and custom logic added to ReadDynamicDataUnitContentTimestamp to pull a specific timestamp.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/843/1*lkQxjSvLMYqfOgphAma1dA.png" /></figure><p><strong>Where Can You Use Dynamic Cube Services?</strong></p><ul><li><strong>Dashboards</strong>: Show real-time values without storing them.</li><li><strong>Custom Reports</strong>: Inject data based on the calculated logic.</li><li><strong>What-If Modelling</strong>: Let users experiment with variables without committing them.</li><li><strong>Allocations &amp; Spreading</strong>: Perform temporary spreads before saving.</li></ul><h3><strong>Real-World Use Case</strong></h3><p>Let us say a company wants to simulate the impact of hiring 10 additional staff.</p><p>Using DCS:</p><ul><li>A dashboard captures “Proposed Hires.”</li><li>A Cube Extender calculates projected labour hours and costs.</li><li>Dynamic data is injected and visualized in real-time charts.</li></ul><p><strong>No data is stored</strong> — perfect for sandboxing scenarios!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*PCv_QwB8CbVaw0vs1AAZ-A.png" /></figure><h4><strong>Key Components of Dynamic Cube Services</strong></h4><p>1. <strong>Data Sources: </strong>Dynamic Cube Services integrate data from various sources:</p><p>· <strong>Internal Cubes</strong>: Existing OneStream cubes.</p><p>· <strong>External Databases</strong>: ERP systems, data warehouses, etc.</p><p>· <strong>Transactional Systems</strong>: Operational data sources.</p><p>2. <strong>Workspace Assemblies: </strong>These are custom configurations that define how data is retrieved and structured:</p><p>· <strong>Data Retrieval</strong>: Specify how and when data is fetched.</p><p>· <strong>Dimension Metadata</strong>: Define hierarchies and relationships.</p><p>3. <strong>Dynamic Cubes: </strong>Dynamic cubes structure data into a multidimensional cube format, facilitating simplified reporting and analysis. They offer a solution for application designers to surface non-traditional data, such as transactional data, without extra loads or to re-aggregate existing cube or solution data in diverse ways.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*MdYbmahu3YrIiJuseitGlA.png" /></figure><p><strong>Dynamic Dimensions: </strong>Dynamic dimensions are dimensions where members are not stored in an internal member table. Instead, they surface members from external sources for use in cubes. These dimensions are defined and retrieved using workspace assembly rules, which manage the retrieval of data records and the cadence and method to refresh data and dimension metadata.</p><p><strong>5. User Interfaces: </strong>Users interact with Dynamic Cubes through:</p><p>· <strong>Excel Add-In</strong>: For ad-hoc analysis and reporting.</p><p>· <strong>Dashboards</strong>: Visual representations of key metrics.</p><p>· <strong>Cube Views</strong></p><h4><strong>Implementing Dynamic Cube Services</strong></h4><p>To configure a dynamic cube, set the <strong>Data Binding Type</strong> property for the cube. This configuration allows data integration based on the workspace assembly file definition and is limited to the Forms origin for manual data entry requirements.</p><p>Data storage varies based on the design and use of the dynamic cube, as well as the Data Binding Type property. Options include copying input data to store in data record tables or sharing data as a pointer to the source system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/1*j_egOkZxL57_S0RSNDtMzg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/463/1*o0IvR-L5h9LZKpAMrXXFjw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*qnkdwpXZYSzZiyTke64WXw.png" /></figure><p>Summarizing the different data binding types as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*gC_GLLXGlDasay5kFBnNiw.png" /></figure><p>Let us see the “<strong>Share Data From Source Cube</strong>” case in detail:</p><p>When a dynamic cube is set to <strong>Share Data From Source Cube</strong>, it:</p><ul><li>Does not copy the data; instead, it references the source cube’s data directly.</li><li>Presents the swapped slice as part of the dynamic cube in real-time.</li><li>Restricts user edits — this is strictly read-only data.</li><li>Allows filtering to expose only specific members (e.g., a subset of accounts or periods) as needed.</li><li>Keeps memory usage low because no duplicate data is stored — only pointers to the source.</li></ul><p>This is ideal when designers need dynamic views of existing cube data without duplicating it — think performance reporting, temporary drill through analysis, or lean reference dashboards.</p><p>Source cube: FinBU1. Settings on the Dynamic cube:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*kvMoi7xl7nDe9hXBKC66RA.png" /></figure><p>Calculation properties on both the cubes must be the same.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*ppZXwESs4QMk74vBw7jU3w.png" /></figure><p><strong>Results: </strong>Retrieve on left side is from the source cube FinBU1, retrieve on the right side is from the Dynamic cube Dynamic_FinBU1. FinBU1 cube has a larger dataset, Dynamic_FinBU1 cube just pulls a small slice as per member filters set for inclusion from the source cube.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/1*a-ASoV20lONcV7OZUD4sQw.png" /></figure><p>The dynamic cube also shows drill-down results as if the data were loaded into this cube.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*wGQ-wZaWAHyi8eVhh5p61g.png" /></figure><p><strong>When to Use This Binding</strong></p><ul><li>Displaying existing data in new contexts without storage overhead.</li><li>Creating dashboard slices restricted to specific dimensions (e.g., entity or month).</li><li>Enabling dynamic drill‐down on operational data without extraction.</li><li>Maintaining audit integrity since no data is duplicated nor editable.</li></ul><p><strong>Benefits of Dynamic Cube Services</strong></p><ul><li><strong>Real-Time Analysis</strong>: Access and analyze data in real-time without the need for data loading.</li><li><strong>Flexibility</strong>: Integrate data from various sources, including external databases and other cubes.</li><li><strong>Efficiency</strong>: Reduce data redundancy and storage requirements by referencing data instead of duplicating it.</li><li><strong>Enhanced Reporting</strong>: Utilize dynamic cubes for simplified reporting and analysis using existing OneStream tools.</li></ul><h3><strong>Conclusion</strong></h3><p>Dynamic Cube Services are not merely an upgrade — they represent a strategic leap in financial analytics capability. By providing real-time insights, reducing data redundancy, and eliminating traditional data storage constraints, DCS empowers finance teams to operate with unprecedented agility and precision. Whether you’re exploring intricate “what-if” scenarios or integrating cross-system analyses, Dynamic Cube Services positions your organization to thrive in today’s complex financial landscape.</p><p>This introduction just scratches the surface. Stay tuned for our next blog, where we delve deeper into technical implementation strategies and explore practical DCS use cases, including innovative applications in People Planning.</p><p>I am Nidhi Mangtani, one of the OneStream technical experts at Archetype Consulting. I would be happy to connect for any OneStream related discussion on <a href="https://www.linkedin.com/in/bhartiparyaninp/">LinkedIn</a>.</p><p>Subscribe to <a href="https://blog.archetypeconsulting.com/">Archetype Medium Publication blog</a> for news on Snowflake, GenAI, CPM, One Stream, Tableau, dbt, automation, and the Cloud are just a few of the technical subjects covered by our dedicated engineering team.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bbeb0fa731d2" width="1" height="1" alt=""><hr><p><a href="https://blog.archetypeconsulting.com/unlocking-the-power-of-onestreams-dynamic-cube-services-for-real-time-financial-insights-bbeb0fa731d2">Unlocking the Power of OneStream’s Dynamic Cube Services for Real-Time Financial Insights</a> was originally published in <a href="https://blog.archetypeconsulting.com/">Archetype Consulting</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>