# Function that will mirror the Dimension Balances Report

**URL:** <https://community.velixo.com/t/function-that-will-mirror-the-dimension-balances-report/68>\
**Category:** Ideas & Feature Requests\
**Tags:** Sage-Intacct\
**Created:** [July 24, 2024, 4:01pm UTC](https://community.velixo.com/t/function-that-will-mirror-the-dimension-balances-report/68 "2024-07-24T16:01:18Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Patrick\_Young](https://community.velixo.com/letter_avatar_proxy/v4/letter/p/7cd45c/32.png) [@Patrick\_Young](https://community.velixo.com/u/Patrick_Young)\
**Post date:** [July 24, 2024, 4:01pm UTC](https://community.velixo.com/t/function-that-will-mirror-the-dimension-balances-report/68/1 "2024-07-24T16:01:18Z")

</div>

Auditors are typically resistant to the consolidated trial balance and still want to see a breakdown by account number, department, and location. So, we use the dimension balances report to satisfy that request. It would be great to be able to have a function that could easily pull the balances from any combination of accounts, departments, and locations (or any other dimensions).

| Account | Department | Location |
| --- | --- | --- |
| 511100–Salaries | 1010–Executive Office | 110–Home Office |
| 511100–Salaries | 1020–Marketing | 110–Home Office |
| 511100–Salaries | 1030–Finance | 110–Home Office |
| | | |

| | | |
| --- | --- | --- |
| | | |
| | | |

_This idea had 2 votes on the previous Velixo community._

---

<div class="post-metadata">

**Author:** ![Lisa\_Curl](https://community.velixo.com/letter_avatar_proxy/v4/letter/l/bc8723/32.png) [@Lisa\_Curl](https://community.velixo.com/u/Lisa_Curl)\
**Post date:** [July 24, 2024, 7:23pm UTC](https://community.velixo.com/t/function-that-will-mirror-the-dimension-balances-report/68/2 "2024-07-24T19:23:10Z")

</div>

We have been asked for this report recently by 3 separate clients. So I agree with this need!

---

<div class="post-metadata">

**Author:** ![Patrick\_Young](https://community.velixo.com/letter_avatar_proxy/v4/letter/p/7cd45c/32.png) [@Patrick\_Young](https://community.velixo.com/u/Patrick_Young)\
**Post date:** [July 25, 2024, 2:53am UTC](https://community.velixo.com/t/function-that-will-mirror-the-dimension-balances-report/68/3 "2024-07-25T02:53:33Z")

</div>

Currently, I have to run the dimension balances report from Sage Intacct, then export to Excel, then copy/paste the Account/Department/Location into the report that I built with the Velixo functions for multiple tabs with various time frames. Another issue with Sage is that the dimension balances report does not offer comparisons to prior years.

This function in Velixo would be a game changer.

---

<div class="post-metadata">

**Author:** ![Damien](https://community.velixo.com/user_avatar/community.velixo.com/damien/32/196_2.png) [@Damien](https://community.velixo.com/u/Damien)\
**Post date:** [July 25, 2024, 3:21am UTC](https://community.velixo.com/t/function-that-will-mirror-the-dimension-balances-report/68/4 "2024-07-25T03:21:59Z")

</div>

Hi Patrick

This makes total sense, and thanks for posting here!

If I understand your requirement well, you’d like to see all underlying GL transactions for a given account (or set of accounts) by entity, date, and dimensions. And not in the typical layout of a Financial statement?

Have you tried using our prebuilt [GL Transaction Details](https://helpintacct.velixo.com/support/solutions/articles/153000171653) Report Template? It was released back in May of this year, so it’s possible you missed it (if so I recommend checking this article from time to time: [Sage Intacct Report Templates and Samples register : Velixo Help Center](https://helpintacct.velixo.com/support/solutions/articles/153000090757) )

This report uses our [SI.QUERY](https://helpintacct.velixo.com/en/support/solutions/folders/153000045422)function that can query any object of Sage Intacct and return transactions (I added the link of the entire folder, so that you can also see other useful supporting Query functions).

Is this what you are looking for? If yes, I suggest that you customize this template to your needs, and feel free to contact me or support directly if you have any question.

Hope this helps.

Damien

---

<div class="post-metadata">

**Author:** ![Patrick\_Young](https://community.velixo.com/letter_avatar_proxy/v4/letter/p/7cd45c/32.png) [@Patrick\_Young](https://community.velixo.com/u/Patrick_Young)\
**Post date:** [July 25, 2024, 12:34pm UTC](https://community.velixo.com/t/function-that-will-mirror-the-dimension-balances-report/68/5 "2024-07-25T12:34:01Z")

</div>

Damien,

Thanks for the reply and the links to the templates. I am basically looking for an expanded trial balance function that would pull all accounts/departments/locations that have balances (because Sage Intacct essentially has unlimited combinations). I am not looking for the GL Details although that is a great report to have.

I use the dimension balances report because it has the ability to select the date ranges, GL account numbers, and the Dimension filters to expand out as far as we need. In order for me to get this information now, I run the report in Sage and then copy\paste the accounts and dimensions into Excel and let Velixo do the work.

But it would be great to have a SI.EXPANDDIMENSIONBALANCE or something along those lines that would pull in all of the various GL account and dimension combinations with balances.

Thanks.

---

<div class="post-metadata">

**Author:** ![Damien](https://community.velixo.com/user_avatar/community.velixo.com/damien/32/196_2.png) [@Damien](https://community.velixo.com/u/Damien)\
**Post date:** [July 29, 2024, 10:36am UTC](https://community.velixo.com/t/function-that-will-mirror-the-dimension-balances-report/68/6 "2024-07-29T10:36:46Z")

</div>

Hi Patrick. Thanks. I’m with you now!

Using a SI.QUERY function on GLACCOUNTBALANCE would have been best to return the dimensions, but it looks there is a Sage Intacct API limitation. We could nonetheless work around it with a new function but I have been able to build this in a different way. See attached example.

You’ll see that it uses a CrossJoin Lambda function (which I found online) to return all the permutations of Accounts, Departments and Locations (all of them, not just the one with data since we can’t get to that dimension balance table), then auto-hide rows is used to remove empty values.

If we limit the Account set to just Expenses, the performance should be acceptable - it returns in a few seconds for me on the Sage demo instance.

Please let me know if this works for you.

[Expand Dimension Balance (CrossJoin POC).xlsx](https://community.velixo.com/uploads/short-url/dEc8fijqKJLL1NVSk1te6EhEuOV.xlsx) (104 KB)

---

<div class="post-metadata">

**Author:** ![Lane\_Johnson](https://community.velixo.com/letter_avatar_proxy/v4/letter/l/9fc29f/32.png) [@Lane\_Johnson](https://community.velixo.com/u/Lane_Johnson)\
**Post date:** [November 25, 2024, 8:17pm UTC](https://community.velixo.com/t/function-that-will-mirror-the-dimension-balances-report/68/7 "2024-11-25T20:17:34Z")

</div>

Agree this would be a game changer

---

<div class="post-metadata">

**Author:** ![Damien](https://community.velixo.com/user_avatar/community.velixo.com/damien/32/196_2.png) [@Damien](https://community.velixo.com/u/Damien)\
**Post date:** [February 19, 2025, 5:36am UTC](https://community.velixo.com/t/function-that-will-mirror-the-dimension-balances-report/68/8 "2025-02-19T05:36:28Z")

</div>

Good news, everyone! You can expect this feature in our upcoming NX release: 2025.2, on February 28th!!

---

<div class="post-metadata">

**Author:** ![Patrick\_Young](https://community.velixo.com/letter_avatar_proxy/v4/letter/p/7cd45c/32.png) [@Patrick\_Young](https://community.velixo.com/u/Patrick_Young)\
**Post date:** [February 19, 2025, 8:49pm UTC](https://community.velixo.com/t/function-that-will-mirror-the-dimension-balances-report/68/9 "2025-02-19T20:49:34Z")

</div>

Awesome, great news! Looking forward to checking it out on the 28th.

Now, if we could only get Sage to listen to its customers like Velixo does:)

---

<div class="post-metadata">

**Author:** ![Gabriel](https://community.velixo.com/user_avatar/community.velixo.com/gabriel/32/7_2.png) [@Gabriel](https://community.velixo.com/u/Gabriel)\
**Post date:** [March 13, 2025, 2:31pm UTC](https://community.velixo.com/t/function-that-will-mirror-the-dimension-balances-report/68/10 "2025-03-13T14:31:07Z")

</div>

Patrick,

Documentation on the new function can be found here: [https://helpintacct.velixo.com/support/solutions/articles/153000234033-si-expandglhistory-function](https://helpintacct.velixo.com/support/solutions/articles/153000234033-si-expandglhistory-function)

Regards,

Gabriel

---

<div class="post-metadata">

**Author:** ![Patrick\_Young](https://community.velixo.com/letter_avatar_proxy/v4/letter/p/7cd45c/32.png) [@Patrick\_Young](https://community.velixo.com/u/Patrick_Young)\
**Post date:** [March 13, 2025, 2:41pm UTC](https://community.velixo.com/t/function-that-will-mirror-the-dimension-balances-report/68/11 "2025-03-13T14:41:49Z")

</div>

Gabriel,

Thank you for the link. I was able to find it previously and attempted to try it out but failed miserably. Can a sample excel report or template be provided on that page instead of just the documentation?

---

<div class="post-metadata">

**Author:** ![Gabriel](https://community.velixo.com/user_avatar/community.velixo.com/gabriel/32/7_2.png) [@Gabriel](https://community.velixo.com/u/Gabriel)\
**Post date:** [March 13, 2025, 3:54pm UTC](https://community.velixo.com/t/function-that-will-mirror-the-dimension-balances-report/68/12 "2025-03-13T15:54:38Z")

</div>

Hi Patrick,

Take a look at the attached file, it shows all the accounts and departments with an opening, closing or turnover amount in the selected period.

If you need a different level of grouping i’ll be happy to update based on your requirements.

 ![](https://community.velixo.com/uploads/default/original/1X/5544adef07f5a499c22d0b07d2a14226bd32f105.jpeg)

[GL History.xlsx](https://community.velixo.com/uploads/short-url/uvp97PPMIXMnBFcxTWXqEd1NykI.xlsx) (25 KB)

---

<div class="post-metadata">

**Author:** ![Gabriel](https://community.velixo.com/user_avatar/community.velixo.com/gabriel/32/7_2.png) [@Gabriel](https://community.velixo.com/u/Gabriel)\
**Post date:** [March 18, 2025, 3:09pm UTC](https://community.velixo.com/t/function-that-will-mirror-the-dimension-balances-report/68/13 "2025-03-18T15:09:15Z")

</div>

Here’s a quick video tutorial of how the new function works: [https://www.loom.com/share/dba0e5b13a3a4635ba374d0290366556](https://www.loom.com/share/dba0e5b13a3a4635ba374d0290366556)

---

<div class="post-metadata">

**Author:** ![Patrick\_Young](https://community.velixo.com/letter_avatar_proxy/v4/letter/p/7cd45c/32.png) [@Patrick\_Young](https://community.velixo.com/u/Patrick_Young)\
**Post date:** [March 19, 2025, 1:41pm UTC](https://community.velixo.com/t/function-that-will-mirror-the-dimension-balances-report/68/14 "2025-03-19T13:41:36Z")

</div>

Awesome video! Would this function be capable of handling multiple columns for “actual vs budget” or a trend by month where each month would be a separate column instead of the date range in one column? Just checking to see if the function is dynamic enough to factor in all the date ranges.

thanks.

---

<div class="post-metadata">

**Author:** ![Gabriel](https://community.velixo.com/user_avatar/community.velixo.com/gabriel/32/7_2.png) [@Gabriel](https://community.velixo.com/u/Gabriel)\
**Post date:** [March 19, 2025, 6:04pm UTC](https://community.velixo.com/t/function-that-will-mirror-the-dimension-balances-report/68/15 "2025-03-19T18:04:21Z")

</div>

Hi Patrick,

That’s absolutely doable. You can either use the entire date range as input for =SI.EXPANDGLHISTORY(), then have each month calculate separately, as per the enclosed example. It is also possible to pass multiple, non-contiguous date ranges as well (let’s say you wanted to compare the first 6 months of the last 4 years, without returning accounts that only had activity in the second half of the year).

 ![](https://community.velixo.com/uploads/default/original/1X/8f12dabd1d1d9913c5a40fa245d3e19e70127cf0.png)

[Intacct GLHISTORY function 12 months.xlsx](https://community.velixo.com/uploads/short-url/3LLZObPYeXCUqIfkBrNaEV9GvPq.xlsx) (146 KB)
