<?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 Balaji V on Medium]]></title>
        <description><![CDATA[Stories by Balaji V on Medium]]></description>
        <link>https://medium.com/@vbalaji39?source=rss-b69319ae1f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Balaji V on Medium</title>
            <link>https://medium.com/@vbalaji39?source=rss-b69319ae1f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 02:50:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vbalaji39/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[OneStream-Using Eval() in Calculations]]></title>
            <link>https://medium.com/@vbalaji39/onestream-using-eval-in-calculations-d79ada7fb79f?source=rss-b69319ae1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d79ada7fb79f</guid>
            <dc:creator><![CDATA[Balaji V]]></dc:creator>
            <pubDate>Tue, 21 Jan 2025 12:02:08 GMT</pubDate>
            <atom:updated>2025-01-21T12:02:08.137Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6Kk4X9y6XslthjTd0cIbAA.jpeg" /></figure><blockquote>We would be more familiar with api.Data.Calculate to perform calculations and using data buffers for more targeted calculations based on specific conditions..</blockquote><blockquote>This Eval function gives us the ability to loop through the data cells in api.Data.Calculate and perform calculations at specific data cells as needed.</blockquote><p>Let&#39;s look at a very simple use case for this Eval().</p><p>We wanted to calculate Bonus for employers based on their grades, which would clearly vary, assuming we have their Salary and Grade information as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/485/1*PgKmkXvyZe-46sJ62cnFqA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/165/1*ZiNj6g-IN9DBV6MmZjDONA.png" /></figure><p>I’m going to write a <strong>CustomCalculate </strong>Finance Rule and call it through a DM step for this.</p><pre>api.Data.Calculate(&quot;A#Bonus = A#Salary * Eval(A#Grade)&quot;, AddressOf OnEvalDataBuffer)</pre><p>In api.Data.Calculate, the Eval keyword needs to be added around the A#Grade Data Buffer, a helper function that will loop through all the Grade data cells.</p><pre>Private Sub OnEvalDataBuffer(ByVal api As FinanceRulesApi, ByVal evalName As String, ByVal eventArgs As EvalDataBufferEventArgs)<br>   eventArgs.DataBufferResult.DataBufferCells.Clear()<br>      Dim resultCells As New Dictionary(Of DataBufferCellPk, DataBufferCell)<br>       For Each sourceCell As DataBufferCell In eventArgs.DataBuffer1.DataBufferCells.Values<br>           If (Not sourceCell.CellStatus.IsNoData) And (sourceCell.CellAmount &gt; 0.0 ) Then              <br>              Dim RsltCell As New DataBufferCell(sourceCell)      <br>              If (sourceCell.CellAmount = 5) Then<br>               RsltCell.CellAmount = 0.25 <br>              Else If (sourceCell.CellAmount = 8) Then<br>               RsltCell.CellAmount = 0.20<br>              Else If (sourceCell.CellAmount = 10) Then<br>               RsltCell.CellAmount = 0.15 <br>              Else If (sourceCell.CellAmount = 12) Then<br>               RsltCell.CellAmount = 0.10 <br>              Else<br>               RsltCell.CellAmount = 0.05<br>              End If <br>              eventArgs.DataBufferResult.SetCell(api.SI,RsltCell,False)<br>           End If<br>       Next     <br>  End Sub</pre><p>The Helper Function with the name OnEvalDataBuffer will go through each and every possible cell for Grade and based on the CellAmount (which is nothing but the value of Grade) we can assign a new cell amount, which will be the bonus percentage.</p><p>So its more like you are replacing the <strong>Eval(A#Grade) </strong>in api.Data.Calculate with the bonus percentage (the data that you would like to have) through the helper function.</p><p>Upon running the DM Step, we will get the expected result.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/506/1*VOtqLePrFKukIaHG0o8URg.png" /></figure><p>Other possible use cases for this Eval Function</p><ul><li><strong>Rounding off:</strong> You cannot round off the numbers explicitly in api.Data.Calculate, so you may use math.round with Eval to achive this</li><li><strong>Checking Text Property and Calculating accordingly:</strong> Text properties of different dimension members can be retrieved inside the helper function, and the data cells can be manipulated based on the text value.</li><li>And more…..</li></ul><p>Thanks for taking the time to read my blog!</p><p>Please reach out to me on <a href="https://www.linkedin.com/in/balajivhyperion/">LinkedIn</a> for suggestions/questions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d79ada7fb79f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OneStream-Linked Cube Views-Part 1]]></title>
            <link>https://medium.com/@vbalaji39/onestream-linked-cube-views-part-1-0f1f71d1240f?source=rss-b69319ae1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/0f1f71d1240f</guid>
            <dc:creator><![CDATA[Balaji V]]></dc:creator>
            <pubDate>Tue, 16 Jul 2024 07:41:17 GMT</pubDate>
            <atom:updated>2024-07-16T07:41:17.963Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5BIF3GmNxA06ecdwawZsXw.jpeg" /></figure><blockquote>Ever came across a requirement where you would want to open one Cube View from another ? The answer would definitely be yes and for a number of reasons !</blockquote><p>Linked Cube Views / Dashboards feature in OneStream helps us open one cube view from another and the set up can be done through the Navigation Links under General Settings shown below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3H2YCYZ-TvLbcy0oY0W3Ug.png" /></figure><p>Let’s examine a use case that highlights the need for linked cube views.</p><p>Consider a Data Input form for all the users (across different business units/teams) where the users want to review data at a top level and if needed proceed with data input — so more like a review and input form with less of a hazzle for users.</p><p>Including all levels of data in a single cube view could be troublesome for the users considering the volume of data displayed. In order to do this, we may create a Parent CubeView for review and a Linked cube view that will only allow input at specific intersections which are required.</p><p><strong>Lets look at this in detail with an example</strong></p><p>The below hierarchy has multiple parent members and it associated base members.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/1*q5XxowyxVoQkYe5lbPfVrg.png" /></figure><p>User_1 would be in charge of Parent_1 , likewise User_2 and User_3</p><p><em>Review Parent </em>is the Cube View which has only top level data</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1rU_T09ZI9G0AfZyP1evZA.png" /></figure><p>User_1 would be least bothered about the base members of Parent_2 and Parent_3. So right clicking on Parent_1 row and navigating only to those children would be ideal.</p><p><strong><em>Data Input</em></strong> is another Cube View which will be used only to submit data</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*m662Hcq2c66qlPeN52F8RA.png" /></figure><p>Base members under Parent_2 and Parent_3 will not be part of this rendering only the necessary combinations for input.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zPr03xTkCzcTE5t54DQcuw.png" /></figure><p>Same way for the other Parents as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bLRtTvQqPVZh8qJ8--eVZg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6fpUPMgAP9kYMhY-sA4H_Q.png" /></figure><p><strong>And what makes this work ?</strong></p><p>Create a Parameter with the Dimension in which you would like to make this work. In my case, its UD3</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/885/1*0ckySOM4iuno-jiBvrBzfw.png" /></figure><p>In the Parent CubeView, give the name of the Input CubeView and the Parameter Name in Navigation Links Setting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fThkcfW_zemVmQ8nAhSrlg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9rCxVbJ3Qi5DHU4DINAvag.png" /></figure><p>Lets look at the Row Definition in both Parent and Child Cube Views</p><p>You can add Top level Filter in the Parent Form as shown Below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*aS1gXdPlkhouHGA4HLF6NA.png" /></figure><p>In the Child CubeView, we have to use the Parameter which we are passing from Parent Cube along with the .Base so it goes to the base members of the specific parent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/1*4Lv76tV3cqC3WoCmHUHRfg.png" /></figure><p>The objective is to display only top level data in the review form and limit the input form only to relevant combinations.</p><p>The above example of parameterezing can be extended to multiple dimensions as needed. I have take only UD3 in the above example.</p><p>This was one of my use cases, but there are other situations in which you might find this functionality useful. We will explore how to use the Linked Cube View concept to clear data for a particular cell in the form in my next part.</p><p>Thank you for taking the time to read my blog. Please reach out to me in <a href="https://www.linkedin.com/in/balajivhyperion/">LinkedIn</a> for suggestions/questions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0f1f71d1240f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OneStream-Can we copy data from Dynamic Calc to a Stored Member ? Umm, Yes !]]></title>
            <link>https://medium.com/@vbalaji39/onestream-can-we-copy-data-from-dynamic-calc-to-a-stored-member-umm-yes-f22c8cd8d33c?source=rss-b69319ae1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/f22c8cd8d33c</guid>
            <category><![CDATA[onestream]]></category>
            <dc:creator><![CDATA[Balaji V]]></dc:creator>
            <pubDate>Fri, 19 Jan 2024 11:27:40 GMT</pubDate>
            <atom:updated>2024-01-19T11:31:51.598Z</atom:updated>
            <content:encoded><![CDATA[<h3>OneStream-Can we copy data from Dynamic Calc to a Stored Member ? Umm, Yes !</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b3jyrQTP5hSoa0NsunsNqQ.jpeg" /></figure><h4>I’m pretty sure there would have been multiple instances where we might need to refer to a dynamic calc member value and use it in stored member formulae. Let&#39;s look at one possible way to do this.</h4><p>I have three accounts, all of which are very well-known to us. While Fixed_Pay is an input account, Variable_Pay is dynamic and takes 10% of Fixed_Pay.</p><p>Now CTC should be the sum of Fixed_Pay (an Input Member) and Variable_Pay (a Dynamic Calc Member). I’m using this Stored Account to illustrate the usage of Dynamic members in such calculations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/218/1*wVHr2ark-DEGcWQX4Zvfog.png" /></figure><p>Let&#39;s put some numbers in Fixed_Pay, and this is what you get.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/336/1*zLwAG8r84Tl8kR_pBB3h3Q.png" /></figure><p>So, i am going to execute the below calculation for CTC to sum up Fixed_Pay and Variable_Pay</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*yKrJf7EWJoJIgAKuLDLXvw.png" /></figure><p>And its not going to give us expected results just because Variable_Pay is a Dynamic Member.It considers only the Store Member value (Fixed_Pay)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/339/1*GytA-hLm9iMCVCo4w1gjkA.png" /></figure><p>How do we get the value of Dynamic Member and add (or copy) to Store Member ? We can do this using<strong><em> api.Data.GetDataCell </em></strong>to get the value of the Dynamic Member and then use the value in the calculation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H9nnSfjLccflXWbx-_3cqA.png" /></figure><p>We need to get the value of Dynamic Member using <strong><em>api.Data.GetDataCell </em></strong>and store in a variable, then use the variable in your calculation. It can be a direct copy or a part of the calculation, like in our case, where we add the value along with Fixed_Pay.</p><p>There you go! You will get the expected results upon executing the above calculation.</p><p>This logic can also be used in data buffers if we have to target specific intersections.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/339/1*X_iplvpzgPWHUJmoMAhyuQ.png" /></figure><p>Thanks for taking the time to read my blog !.</p><p>There are a lot of use cases for this in the CPM world, so I would love to hear more suggestions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f22c8cd8d33c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OneStream-Copy Data between scenarios using Data Buffer when dimensions are extended.]]></title>
            <link>https://medium.com/@vbalaji39/onestream-copy-data-between-scenarios-using-data-buffer-when-dimensions-are-extended-e0751f22fe66?source=rss-b69319ae1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/e0751f22fe66</guid>
            <category><![CDATA[cpm]]></category>
            <category><![CDATA[onestream]]></category>
            <dc:creator><![CDATA[Balaji V]]></dc:creator>
            <pubDate>Tue, 02 Jan 2024 07:15:19 GMT</pubDate>
            <atom:updated>2024-01-02T07:15:19.016Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fRSx1gaj3rtQXfMufFu5HA.jpeg" /></figure><blockquote>Extensible dimensionality is without a doubt one of the greatest features that stands alone. However, this poses certain challenges for copying data between them.</blockquote><blockquote>In this blog post, we will learn how to use <strong><em>ConvertDataBufferExtendedMembers </em></strong>to copy data from one scenario to another that has extended members.</blockquote><p>Let’s look at one of the most typical use cases for a data copy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*N1pisEFhdzLPcb6MJfjDtA.png" /><figcaption><strong>Fig 1: Dimensionality</strong></figcaption></figure><p>Assuming you have two Account Hierarchies, TrialBalance (Actual) and Forecast. TrialBalance is more granular with Acc_Rev1 and 2, while the forecast hierarchy has only the top-level members like TotalRevenue.</p><p>It is inevitable that you will encounter a situation where you would like to copy data from Actual and have data 110 flown to the Forecast. <strong>api.data.calculate() </strong>will not help as the scenarios differ in dimensionality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/443/1*Tmbn67VEe8x_VuUIPlGc5A.png" /><figcaption><strong>Fig 2: Quick View Before Data Copy</strong></figcaption></figure><p>This is where <strong><em>ConvertDataBufferExtendedMembers</em></strong><em> </em>comes into the picture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q1fqnY5JTuHRKkb_F0ovPg.png" /><figcaption><strong>Fig 3: <em>ConvertDataBufferExtendedMembers Function Description</em></strong></figcaption></figure><p>Let&#39;s see the VB code that will help us copy data from Actual to Forecast using <strong><em>ConvertDataBufferExtendedMembers.</em></strong></p><p>The only difference between this and any buffer logic is that we use the function to convert the source buffer, which takes Cube Name, Source Scenario, and Source Data Buffer as its parameters (Line 11).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9QrnZemmgtnLw2dxo4MjMw.png" /><figcaption><strong>Fig 4: <em>VB Code Snippet to copy data with the ConvertDataBufferExtendedMembers Function</em></strong></figcaption></figure><p>You may call the above code using a DM step with your target scenario (Forecast) in the Data Unit.</p><p>After execution, the data will be copied to the forecast scenario as expected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/431/1*luQ2vliU9iNk8EuVWE81Uw.png" /><figcaption><strong>Fig 5: Quick View After Data Copy</strong></figcaption></figure><p>I hope this is helpful, and please share if there are any other better approaches.</p><p><strong>Keep Learning and Keep Sharing !</strong></p><p><strong>For any queries, mail me at </strong><a href="/service/mailto:vbalaji39@yahoo.in"><strong>vbalaji39@yahoo.in</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e0751f22fe66" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EPM Cloud-Traverse through all the dimensions, filter members, and write to CSV files using Groovy…]]></title>
            <link>https://medium.com/@vbalaji39/epm-cloud-traverse-through-all-the-dimensions-filter-members-and-write-to-csv-files-using-groovy-3c5baa07410f?source=rss-b69319ae1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/3c5baa07410f</guid>
            <dc:creator><![CDATA[Balaji V]]></dc:creator>
            <pubDate>Thu, 04 May 2023 13:42:52 GMT</pubDate>
            <atom:updated>2023-05-04T13:42:52.401Z</atom:updated>
            <content:encoded><![CDATA[<h3>EPM Cloud-Traverse through all the dimensions, filter members, and write to CSV files using Groovy Rules.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F0TyBlsrvgIeS8RSZShuhg.jpeg" /></figure><blockquote>Would you like a list of members with a certain properties across all dimensions that can be quickly identified? Check out how we can accomplish this.</blockquote><p>I was looking for all of the Dynamic Calc members that didn’t have formulas in every dimension. This list will assist me in identifying opportunities where I can cut back on Dynamic Calc members in order to perhaps increase performance.</p><p>The same is true for the several reasons why we might export metadata with particular properties/attributes. This blog post will demonstrate how to loop through every dimension member, filter the metadata, and output the results to a CSV file.</p><p><strong>Let’s examine the code.</strong></p><p>Create the below Groovy Business Rule in the application in which you intend to run it.</p><p>Lines 1 and 2 will give us a list of all available dimensions for the specific cube. Replace CubeName with a valid cube name that exists in the application.</p><p>Lines 4 (and 5) are the Writer Class that will help write the contents to a file that will be saved in the <strong>Inbox/Outbox Explorer.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*5pCR6opjGixsmFK-zJ3TKw.png" /></figure><p>Instead of calling out each dimension individually, I’m utilizing each loop to make sure we are covering all of them and to make it dynamic.</p><p>I am going to filter out Dynamic Calc members that don&#39;t have formulas.</p><p>The code to search across every member of the dimension is what I need. As a result, I am concatenating Line 11’s “IDescendants” with Line 10’s dimension name.</p><p>The <strong>getEvaluatedMembers</strong> function in line 15 will give us a list of members based on the parameters. Refer <a href="https://docs.oracle.com/en/cloud/saas/enterprise-performance-management-common/groov/oracle/epm/api/model/Dimension.html">here</a> to learn more about the function. The identical procedure will be repeated for all dimensions because we employ each loop.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u2LK18bzvMB1Qzei4hpTfA.png" /></figure><p><strong>DimMembers </strong>will now hold all the members of a particular dimension. We need a For loop to traverse through all the members and filter based on the property. Lines 19 and 20 will retrieve all the properties of a specific member and store them in the <strong>memberProps </strong>array.</p><p>To comprehend how properties are saved in Key Value Pairs, try printing the <strong>memberProps </strong>array. This will help us do our search in the appropriate manner.</p><p>The search will be carried out in lines 22 to 27, and members with the Dynamic Calc ‘Data Storage’ property and ‘Formula’ none will be found. We are writing the members to the file that we initialized earlier if the condition is met.</p><p>A CSV file will get saved in <strong>Inbox/Outbox Explorer</strong> and it will look something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/295/1*9hx0mqmRj1emrmmUM64mcA.png" /></figure><p><strong>Thanks for taking the time to go through this blog.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c5baa07410f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Excel Formulae that cannot be overlooked in FinTech World]]></title>
            <link>https://medium.com/@vbalaji39/excel-formulae-that-cannot-be-overlooked-in-fintech-world-c85058ec239a?source=rss-b69319ae1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/c85058ec239a</guid>
            <category><![CDATA[epm-basic-calc]]></category>
            <category><![CDATA[excel-formula]]></category>
            <category><![CDATA[accounting-formula]]></category>
            <dc:creator><![CDATA[Balaji V]]></dc:creator>
            <pubDate>Mon, 20 Mar 2023 09:27:58 GMT</pubDate>
            <atom:updated>2023-03-20T09:27:58.540Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ruLj3kR0Qs8ipctC2ECyeg.png" /></figure><p>Let’s look at some basic Excel formulas that will come in handy in the EPM and finance spaces.</p><p>Please keep in mind that almost all of the below-explained formulas can be calculated in the EPM application using the inbuilt functions, be it Oracle EPM, OneStream, or any other, but there are numerous scenarios and business reasons or requirements that necessitate the use of Excel formulae.</p><p>Let’s begin</p><h3><strong>SEARCH() and MID()</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_G8R2sXzNpvlFNkFOK0EgQ.png" /></figure><p>Assuming we want to get the text <strong>“Jan”</strong> in C10 from <strong>“Q-T-D(Jan)”</strong> B5</p><p>Formula on C10 is</p><p><strong>=B4&amp;”.”&amp;MID(B5, SEARCH(“(“, B5)+1, SEARCH(“)”, B5) — SEARCH(“(“, B5) -1)</strong></p><p>&amp; acts as a concatenation.</p><p>MID(B5, SEARCH(“(“, B5)+1, SEARCH(“)”, B5) — SEARCH(“(“, B5) -1)<br>MID(B5, 6+1, 10–7)<br>MID(B5, 7, 3) which returns <strong>Jan </strong>— 3 Characters starting from 7th</p><h3><strong>LEFT() and RIGHT()</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*amQzIM0LdgULm52G_VHk5w.png" /></figure><p>The Left() and Right() formulas are very simple.</p><p>The third choice demonstrates a more dynamic method of employing a separator to locate the correct text half.</p><h3><strong>Different levels of VLOOKUP() complexity along with MATCH()</strong></h3><p>We will start with a simple VLOOKUP where the lookup value is “IncStmt” and we are trying to search against A5:A6. Col_ind_num is 2 because we want the value from the 2nd column once the lookup value is found, and so the result is 100. In a similar way, Col_ind_num for D10 and E10 would be 2 and 3 respectively.</p><p>$ symbol is nothing but an absolute reference, so the array will not be modified when we try to copy this formula to other cells.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*eXg8hGLCSR3kSrxoGAXx9w.png" /></figure><p>Let’s try to change gears and add some complexity.</p><p>Given a data file that contains information for numerous entities, time periods, scenarios, and years, as well as a report that requires dynamic data for particular combinations, VLOOKUP can be used with additional conditions to get the same results. In order to illustrate, I’m using the same tab, but in the real world, we might need to use a different file or tab and make a report from it in a different tab.</p><p>In the example below, we have data from rows 1 through 7 across columns, and let’s assume that a report (rows 9 through 15) will dynamically draw data from the rows above.</p><p>Data in D12 should be based on <strong>Account (IncStmt), Period (Jan), Year (2022), Entity (Asia)</strong>, and <strong>Scenario</strong> when we refer to it as being dynamic <strong>(Actual)</strong>. The report’s values should update when you alter any of them, ideally. If we change value B12 from Jan to Mar, the rows for Mar will be searched for the data and updated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cJOiD1TyuLiF99SwDfmcKg.png" /></figure><p>Let’s examine the formula’s operation in further depth.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/965/1*hEqcfbTYdEHFLLvOU3JaVg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*f8zDEbubmVME0wGDwBnb2w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/430/1*v0SofGl0gkl1hMTkqxqqGw.png" /></figure><p>In the above formula, the lookup value is <strong>IncStmt</strong>, and the table array will be rows 1 to 7.</p><p>The actual condition check takes place in the third parameter Col index num, where we use the MATCH Function to match several criteria and display the relevant data.</p><p><strong>MATCH(1, (“FY”&amp;RIGHT($C$12,2)=4:4) * ($B$12=5:5) * (D10=3:3)* (D11=1:1),0)</strong></p><p>We are looking for four things here. Year<strong> FY22 (“FY”&amp;RIGHT($C$12,2)</strong> will be checked across Row 4, <strong>January ($B$12)</strong> will be checked across Row 5, <strong>Asia (D10)</strong> across Row 3, and <strong>(D11)</strong> across the first row A<strong>ctual</strong>. The value 100, which meets all four requirements, is shown. If we edit the Entity and Scenario references in neighboring cells to fetch the correct values, the data will be retrieved for subsequent cells in the same manner.</p><p>I hope this portion wasn’t confusing.</p><h3>SUMIF() , COUNTIFS() and AVERAGEIF()</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZyS_HTy3Lrff4C9BSKuSnQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/495/1*Iu-G1xVr0wfA_f49FPdILw.png" /></figure><p>In this case, the AVERAGEIF() method will only take into account cells with values and ignore cells with no data. For a clear understanding of how it functions, see row 4. Same logic applied on Q2, Q3 and Q4</p><p>In order to get the average for the Last Column YTotal, we utilise COUNTIFS() to count the occurrence of all non-missing cells and SUMIF() to total all non-missing cells.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kpLkyMO81w2uAulcTv-_DA.png" /></figure><p>As I previously stated, all of the above formulas may be automated in EPM Applications, and the purpose of these examples is to satisfy criteria where we had to forgo automation and carry out human calculations.</p><p>However, the aforementioned use cases are only examples; hese functions can be applied in a wide range of other circumstances.</p><p>I’m hoping the correct audience will find this blog useful. I’ll be back with another topic shortly, everyone!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c85058ec239a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EPM Cloud - Working with Reports and Books from SmartView]]></title>
            <link>https://medium.com/@vbalaji39/epm-cloud-working-with-reports-and-books-from-smartview-15e23eea8274?source=rss-b69319ae1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/15e23eea8274</guid>
            <category><![CDATA[financial-reporting]]></category>
            <category><![CDATA[management-reporting]]></category>
            <category><![CDATA[oracle-epm-cloud]]></category>
            <category><![CDATA[oracle-reporting]]></category>
            <dc:creator><![CDATA[Balaji V]]></dc:creator>
            <pubDate>Thu, 09 Mar 2023 15:53:20 GMT</pubDate>
            <atom:updated>2023-03-09T15:53:20.704Z</atom:updated>
            <content:encoded><![CDATA[<p>Regularly visiting the web to access reports (and books) may be a time-consuming task for end-users. Excel SmartView makes this possible.</p><p>Let’s look at how we can work with SmartView reports and books in this blog.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UjPNheYLJ8rrizGuVpMkew.jpeg" /></figure><h4><strong>Accessing Reports through SmartView</strong></h4><p>To open reports, edit POV or prompt, and retrieve data, we must have the most recent version of SmartView.</p><p>Let’s take a closer look!</p><ul><li>Connect to the application in SmartView via Shared Connections, and the “Reports folder” option should be visible, as shown below.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/265/1*zzDAfCkMDDs-WoXI5m3hMQ.png" /></figure><ul><li>When you expand the report name Tree View, you will see two options for opening the report. The first option, Import Formatted Report, will open the report in its entirety, just like a web report. The next option will open the report as an ad hoc query, so ignore it. Let us go with the first option.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/1*XV7yKsMie1dAeRNBEL52Zg.png" /></figure><ul><li>I only have one prompt for this report, and it will be opened as shown below (right side image). As a result, all formatting will be similar to that of the web report. This report will be opened in a new Excel file, and one limitation is that multiple reports cannot be combined in the same file. It must be saved in separate files and accessed individually.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/1*aZq_i1VbD6GdArR16tSstQ.png" /></figure><ul><li>Now let’s move on to the next step, which is to change the Prompt/POV. The SmartView tab now has an additional Report Section that allows us to refresh and modify POV/Prompts.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/279/1*P4y8FlTNOhnbRuOW6erG-Q.png" /></figure><ul><li>Prompt/POV can be updated and report will be refreshed for the selected option</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*ebRJxCyuA4_hQupkqlLElw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/582/1*piBorXhyrlzA3mxJCWz71A.png" /></figure><p>Yay! The report can be saved and refreshed without having to go to web</p><h4>Accessing Books through SmartView</h4><ul><li>To View Books in SmartView, <strong>EPM Books</strong> extension has to be installed. Click the last option<strong> Check for Updates</strong>** and you will see this extension with download option.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/755/1*MY8LjwLkIi7pV2_U3iFFmg.png" /></figure><ul><li>Connect to the application in SmartView via Shared Connections, select it, and you should see the <strong>Launch EPM Books Home</strong> option, as shown below.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/286/1*_8hwoHFduEDfLADBdQeIZg.png" /></figure><ul><li>You will now be able to see the books that are available. Click the Run button. The status will be updated in bottom section. The Down Arrow Icon indicates that the report is available for download, and clicking the icon will open the book in a new window (right image).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W2BlTT-aSsl46uiqqpSyOg.png" /></figure><ul><li>The book will be opened in a new Excel document with a tab for the <strong>Table of Contents</strong>, followed by individual reports.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SN7cMUo6glzcdy--P0lvQQ.png" /></figure><ul><li>There will be a new Book tab, similar to the Smartview tab, with the options listed below. Edit POV does not work for some reason. Oracle, I believe, is still working on these options.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/241/1*eTTUj2uqF4okPmoy0nGmNg.png" /></figure><ul><li>Now, the Book can be saved and refreshed whenever needed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/444/1*ahwZJjWwrPNRgM-UG8-iXw.png" /></figure><p>This is all I intended to say in this blog. See you all soon with a new topic!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15e23eea8274" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EPM Cloud-Workforce Planning-Oct 2022 Update-Total Headcount and FTE Hierarchy in Reporting Cube]]></title>
            <link>https://medium.com/@vbalaji39/epm-cloud-workforce-planning-oct-2022-update-total-headcount-and-fte-hierarchy-in-reporting-cube-828ff76865c9?source=rss-b69319ae1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/828ff76865c9</guid>
            <dc:creator><![CDATA[Balaji V]]></dc:creator>
            <pubDate>Fri, 21 Oct 2022 05:43:32 GMT</pubDate>
            <atom:updated>2022-10-21T05:45:06.424Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yKgVxjW_niILQz3nCeqaDA.jpeg" /></figure><figure><img alt="Fig 1 : Oct-22 Update" src="https://cdn-images-1.medium.com/max/323/1*F_gVzzmtfgyW88Uw4RuEZA.png" /><figcaption>Fig 1 : Oct-22 Update</figcaption></figure><p>Currently, the WorkForce Account <strong><em>Total FTE</em></strong> and <strong><em>Total Headcount </em></strong>exist in Reporting Cube (OEP_REP) only as Lev-0 Member where as OEP_WFP has full hierarchy.</p><figure><img alt="Fig 2: Current Setup" src="https://cdn-images-1.medium.com/max/515/1*7HJev-PPAe63Tqn2ihzxyA.png" /><figcaption>Fig 2 : Current Setup</figcaption></figure><p>This restricted the reporting capability for these two hierarchies in REP Cube.</p><p>And now with Oct-22 Update, both the hierarchies are updated in REP Cube as well. The below screenshot is from TEST (the update will be in PROD during first daily maintenance that occurs on or after Friday, October 21, 2022)</p><figure><img alt="Fig 3 : Updated Test Env" src="https://cdn-images-1.medium.com/max/270/1*fIktZT_Lh8w4rUcT6MQ0Aw.png" /><figcaption>Fig 3 : Updated Test Env</figcaption></figure><p>With this update in place, the level of detail in both the planning and reporting cubes for the Headcount and FTE hierarchies will be same.</p><p>After Updating Workforce Oct-22 Content, run the data map “Headcount Data for Reporting” to push the updated hierarchy data to Reporting Cube. This data map is now updated to include all the children under both the hierarchies.</p><p><strong>Thanks for reading. Do follow me for more interesting content in the EPM Space !</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=828ff76865c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EPM Cloud-Run Jobs Using REST API (Part-I)]]></title>
            <link>https://medium.com/@vbalaji39/epm-cloud-run-jobs-using-rest-api-part-i-92e712d7eb03?source=rss-b69319ae1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/92e712d7eb03</guid>
            <category><![CDATA[oracle-epm-cloud]]></category>
            <category><![CDATA[rest-api]]></category>
            <category><![CDATA[groovy]]></category>
            <dc:creator><![CDATA[Balaji V]]></dc:creator>
            <pubDate>Wed, 07 Sep 2022 15:00:12 GMT</pubDate>
            <atom:updated>2022-09-07T15:00:12.391Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nnsbf3Z0OXgc2IMwNdhAIA.jpeg" /></figure><p>We have a number of business reasons to perform repetitive tasks at regular intervals which can be automated with proper error handling.</p><ul><li>Run a business rule or Data Maps at specific intervals</li><li>Run a Outline Compaction as part of Weekend Maintenance</li><li>Merge Slices and Create Aggregate Views to optimize ASO Querying</li><li>Perform restructures or Defragmentation on a weekly or monthly basis</li></ul><p>and much more. This will ensure prompt data availability for client and also help us to find issues and guide us in right direction in case of errors.</p><p><strong><em>In Part-I, we will see how we can run Jobs using REST API , check status and notify people through PowerShell Script. In Part-II, I will talk more about running the same API’s in Groovy Business Rule.</em></strong></p><p>Lets quickly jump in to the code snippet</p><ul><li><strong>Declare the required variables before the actual execution</strong></li></ul><p>Those who have tried to run API Commands using POSTMAN would be familiar with this step. Default Basic Authentication process with encoded password.</p><p>I have also used another variable for database in case we wanted to re-run the Compaction job for multiple database in an application. Provide correct Application Name in place of <em>AppName </em>in <em>JobsUrl </em>Variable (Line #12). Make sure there is a job created for compact outline in the application and use that name as <em>jobname </em>(Line #13)</p><figure><img alt="Fig 1 : Declarations" src="https://cdn-images-1.medium.com/max/993/1*6urazAi2S9L2Hujc79HmwQ.png" /><figcaption><strong>Fig 1 : Declarations</strong></figcaption></figure><ul><li><strong>Lets get in to the main sequence</strong></li></ul><p>Line #19 is where the REST API is invoked and the variable <em>restResponse </em>will hold the response.</p><p>A unique ID will be created for this execution and we need to track the status using the ID (Line #23). It will be a GET request as we are just checking the status and we need to check until its complete which is the reason why I&#39;ve used DO WHILE Loop</p><figure><img alt="Fig 2 : REST API Call" src="https://cdn-images-1.medium.com/max/1024/1*-uLr1KfuP3BDhLTAZxCu7w.png" /><figcaption><strong>Fig 2 : REST API Call</strong></figcaption></figure><ul><li><strong>Validate Results</strong></li></ul><p>Variable in Line #23 stores the status of the specific Job ID, so validate results using the variable.</p><p>For sending mail, you can either use EPM Automate SendMail Command or PowerShell code. Refer my previous <a href="https://medium.com/@vbalaji39/epm-cloud-automate-dm-rule-execution-using-epm-automate-download-data-file-and-send-mail-b0eefdbab7c6">blog </a>to understand how we can leverage PowerShell code for sending mail.</p><figure><img alt="Fig 3 : Validate Results" src="https://cdn-images-1.medium.com/max/856/1*LHvct1ZkOIVcjV49UKJ2xw.png" /><figcaption><strong>Fig 3 : Validate Results</strong></figcaption></figure><p>The same can be achieved via Groovy Business Rule and I will explain in the next part.</p><p><strong>Thanks for reading and follow me for more interesting content in the EPM Space !</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92e712d7eb03" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EPM Cloud-Execute EPM Automate Commands from Groovy script]]></title>
            <link>https://medium.com/@vbalaji39/epm-cloud-execute-epm-automate-commands-from-groovy-script-3ac4c32a163b?source=rss-b69319ae1f------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ac4c32a163b</guid>
            <category><![CDATA[oracle-epm-cloud]]></category>
            <category><![CDATA[groovy]]></category>
            <category><![CDATA[epm-automate]]></category>
            <dc:creator><![CDATA[Balaji V]]></dc:creator>
            <pubDate>Fri, 19 Aug 2022 17:43:25 GMT</pubDate>
            <atom:updated>2022-08-19T17:43:25.363Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LU5UaueNScjDO0hYo7fRDQ.jpeg" /></figure><blockquote>Yes ! You heard it right..</blockquote><blockquote>EPM Automate commands can be run from Groovy Script. This would let us perform a sequence of tasks in a single Groovy, ranging from updating metadata, running a rule to refreshing database.</blockquote><h4>Oracle provides 5 functions to run commands in script.</h4><ul><li><strong>getEPMAutomate()</strong> — A method from EpmAutomate class to invoke EPM Automate commands.</li><li><strong>execute() </strong>— This method is used to execute an EPM Automate command which takes the command name as first parameter and command options as subsequent parameters.</li><li><strong>getStatus() </strong>— Returns the execution status returned by the command. 0 indicates success while a non-zero value means a negative result.</li><li><strong>getOutput()</strong> — Returns the string output of the command.</li><li><strong>getItemsList()</strong> — Returns the list output of the command. For example, listFiles command.</li></ul><h4>We will walk through the code snippet step by step</h4><ol><li><strong>Encrypt the password</strong></li></ol><p>Key in your password as second parameter and the name of the encrypted password file as last parameter.</p><figure><img alt="Fig 1 : Encrypt" src="https://cdn-images-1.medium.com/max/722/1*cVpycJrs0LBIu9dy8CbMNg.png" /><figcaption><strong>Fig 1 : Encrypt</strong></figcaption></figure><p><strong>2. Login</strong></p><p>Provide UserName as second parameter and URL as last parameter.</p><figure><img alt="Fig 2 : Login" src="https://cdn-images-1.medium.com/max/1024/1*Kj_DQk2wVuQyvqQUNI-eNQ.png" /><figcaption><strong>Fig 2 : Login</strong></figcaption></figure><p><strong>3. Database Refresh</strong></p><p>Job Type and Job Name is the parameter.</p><figure><img alt="Fig 3 : Refresh DB" src="https://cdn-images-1.medium.com/max/544/1*optQnKXaYAyQOUj0uBINHw.png" /><figcaption><strong>Fig 3 : Refresh DB</strong></figcaption></figure><p><strong>4. Logout</strong></p><figure><img alt="Fig 4 : Logout" src="https://cdn-images-1.medium.com/max/419/1*xupWmO_PfDQ4tEG3-fusSw.png" /><figcaption><strong>Fig 4 : Logout</strong></figcaption></figure><h4><strong>Let’s look at Job Details upon completion</strong></h4><figure><img alt="Fig 5 : Log Message" src="https://cdn-images-1.medium.com/max/635/1*keXMRN75_WnIERjjYBh3ng.png" /><figcaption><strong>Fig 5 : Log Message</strong></figcaption></figure><p><strong>See you guys in next blog !</strong></p><p><strong>Keep Reading !!! Keep Learning !!! Keep Sharing !!!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ac4c32a163b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>