---
title: "Ask Our Ace: Rule Optimization Tip"
description: "Ask Our Ace: Rule Optimization Tip"
---

- [Webinars](http://www.finit.com/webinars)
- [Contact Us](http://www.finit.com/contact-us)
- [Blog](http://www.finit.com/finance-blog)

[![Finit](https://blog.finit.com/hubfs/Finit_December2018/images/finit_logo.png)](http://www.finit.com/)

- [Home](https://finit.com/)
- [Solutions](http://www.finit.com/solutions/financial-close-consolidation) 
    - [Close & Consolidation](http://www.finit.com/solutions/financial-close-consolidation)
    - [Planning, Budgeting & Forecasting](http://www.finit.com/solutions/Planning-Budgeting-Forecasting)
    - [Profitability & Management Reporting](http://www.finit.com/solutions/profitability-management-reporting)
    - [Data Integration](http://www.finit.com/solutions/infrastructure-integration)
    - [OneStream Solution Exchange](https://finit.com/solutions/) 
          - [AllocateIt](https://finit.com/allocateit/)
          - [DrillIt](https://finit.com/drillit/)
          - [ToolkIt](https://finit.com/toolkit/)
          - [Application Control Manager (RequestIt)](https://finit.com/services/requestit-a-complete-cfo-change-management-platform/)
- [Services](http://www.finit.com/services/oracle-hyperion-epm) 
    - [OneStream](http://www.finit.com/onestream-xf-cpm) 
          - [OneStream XF CPM](http://www.finit.com/onestream-xf-cpm)
          - [OneStream Services](http://www.finit.com/onestream-services)
          - [Application Control Manger (RequestIt)](https://finit.com/services/requestit-a-complete-cfo-change-management-platform/)
          - [ReportIt: Security](https://finit.com/reportitsecurity/)
    - [Service Areas](http://www.finit.com/services/service-areas)
    - [Approach](http://www.finit.com/services/approach) 
          - [Approach Overview](http://www.finit.com/services/approach)
          - [Implementation Methodology](http://www.finit.com/services/approach/implementation-methodology)
          - [Design Methodology](http://www.finit.com/services/approach/design-methodology)
- [Clients](http://www.finit.com/clients/client-list) 
    - [Client List](http://www.finit.com/clients/client-list) 
          - [OneStream Client List](http://www.finit.com/clients/onestream-client-list)
    - [Success Stories](http://www.finit.com/success-stories-0)
    - [Client Testimonials](https://info.finit.com/client-testimonials)
- [About](http://www.finit.com/about) 
    - [About Finit](https://info.finit.com/about-us)
    - [Finit Values](https://finit.com/about/finit-values/)
    - [Our Culture of Diversity](https://finit.com/about/our-culture-of-diversity/)
- [Careers](http://www.finit.com/careers/finit-experience) 
    - [The Finit Experience](http://www.finit.com/careers/finit-experience)
    - [The Finit Consultant](http://www.finit.com/careers/finit-consultant)
    - [Finit Employee Advocacy](http://www.finit.com/careers/finit-employee-advocacy)
    - [Career Opportunities](https://finit.com/careers/career-opportunites/)

# Blog

**HFM User:**

Do you have any rule optimization tips?

**Chris Barbieri:**

Recently, one of our clients asked us how to reduce consolidation times by increasing the efficiency of one specific rule.  The rule in question copies data from “C4#DefaultRate” to various other Custom 4 dimension members using a trigger.  The copied data is then translated using various foreign exchange rates, but to begin, I will focus solely on the efficiency of copying local currency data for base entities.  

I tested three different variations of the rule in the attached .RLE files.  For illustration purposes, each of these files include only a single subroutine.  The durations in **bold** text are the cumulative times for the respective Sub Calculate routines for one period’s consolidation.

- **Approach #1 (Copy Account Loop)**:  This approach selectively copies the data for three specific account lists to avoid copying any accounts that are not necessary for FX analysis. ** 34.1 seconds**
- **Approach #2 (Copy All Accounts)**:  Instead of using account lists, this approach copies data for all of the accounts. ** 9.6 seconds, a 72% reduction in time over Approach #1**
- **Approach #3 (Copy Selected Accounts)**: Similar to Approach #1, this rule copies data only for those accounts in three specific lists.  However, this approach leverages an Open Data Unit at the top of the Intercompany and Custom Dimensions, so it only runs on those accounts with data. ** 12.6 seconds, a 63% reduction in time over Approach #1**

Although the second method is faster than the third one based on the data copy rule performance, it is actually slower overall:   Due to the increased volume of data that HFM is translating, the consolidation times are actually slower for Approach #2.

Total consolidation times using each approach:

- Approach #1:  9.1 minutes
- Approach #2:  10.1 minutes, an 11% increase in consolidation time due to increase data volume
- Approach #3:  8.3 minutes, an 8% reduction in consolidation time with the same amount of data!

Upon reviewing this analysis, our client’s FP&A team chose to implement Approach #3.  Not only did it decrease consolidation times, but it also allowed them to double the number of Custom 4 members, allowing them to perform much more detailed FX Analysis.

I hope that you enjoyed this description of the various approaches and their respective consolidation performance impacts.

Please email [insights@finit.com](mailto:insights@finit.com) with any questions or feedback on this topic.

Do you have an issue or topic that you’d like Chris to discuss in his next blog post?  Please e-mail us at [insights@finit.com](mailto:insights@finit.com?subject=Ask%20Our%20Ace%20&body=Ask%20Our%20Ace%20Question%3A%0ACompany%3A%0ATitle%3A%0ACompany%20Email%20Address%3A) and we will “Ask our ACE”!

 

**Attached Files:**

[CopyAccountLoop.rle](http://finit.wpengine.com/wp-content/uploads/2018/02/CopyAccountLoop.rle__0.pdf)

[C4DATACOPY\_SelectedAccounts.rle](http://finit.wpengine.com/wp-content/uploads/2018/02/C4DATACOPY_SelectedAccounts.rle__0.pdf)

[C4DATACOPY\_AllAccloutns.rle](http://finit.wpengine.com/wp-content/uploads/2018/02/C4DATACOPY_AllAccounts.rle__0.pdf)

 

Posted By:  jbulman

[ Prev post](https://blog.finit.com/2018/02/ask-our-ace-is-the-most-exciting-hfm-blog-series-in-years-and-it-is-coming-soon)

[Next post ](https://blog.finit.com/2018/03/caution-usd-total-in-hfm)

## Subscribe to our blog

Contact Us: [services@finit.com](mailto:services@finit.com)   
Subscribe: [subscribe@finit.com](mailto:subscribe@finit.com)   
**Finit Solutions, LLC** © Copyright 2016

<https://twitter.com/Finit_Solutions> <https://www.linkedin.com/company/finit-solutions> <https://www.youtube.com/channel/UCIweHOVZkPe_bD0Qyca_51A>

### Solutions

- [Close & Consolidation](http://www.finit.com/solutions/financial-close-consolidation)
- [Planning, Budgeting & Forecasting](http://www.finit.com/solutions/Planning-Budgeting-Forecasting)
- [Profitability & Management Reporting](http://www.finit.com/solutions/profitability-management-reporting)
- [Infrastructure & Integration](http://www.finit.com/solutions/infrastructure-integration)

### Services

- [Oracle Hyperion EPM](http://www.finit.com/services/oracle-hyperion-epm)
- [OneStream](http://www.finit.com/onestream-xf-cpm)
- [Service Areas](http://www.finit.com/services/service-areas)
- [Approach](http://www.finit.com/services/approach)

### Clients

- [Client List](http://www.finit.com/clients/client-list)
- [Success Stories](http://www.finit.com/success-stories-0)

### About

- [About Finit](http://www.finit.com/about)
- [The Finit Culture](http://www.finit.com/finit-culture)
- [The Finit Difference](http://www.finit.com/finit-difference)

### Careers

- [The Finit Experience](http://www.finit.com/careers/finit-experience)
- [The Finit Consultant](http://www.finit.com/careers/finit-consultant)
- [Finit Employee Advocacy](http://www.finit.com/careers/finit-employee-advocacy)