AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • In-Person Gatherings
    • Power BI Workshop
    • Podcast
    • Rolodex
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Acumatica Analytica...
Add Rows by conditi...
 
Notifications
Clear all

Questions [Solved] Add Rows by condition (positive and negative value)

 
Acumatica Analytical Report Manager (Financial Report Writer)
Last Post by Abdul Malik 8 years ago
5 Posts
3 Users
1 Reactions
4,489 Views
RSS
Abdul Malik
Posts: 3
 Abdul Malik
Topic starter
June 12, 2018 9:49 pm
(@abdul-malik)
Member
Joined: 8 years ago

Hi Sir,

Im in midst of creating Balance Sheet for my company using Acumatica Report Manager (Report Writter). Herewith I attached the GL Code and amount for bank balances. My Finance Manager wants the bank balances to show in the balance sheet as per attachment. Can you please guide my how to set Cash and Bank Balances in balance sheet by condition if equal or more than zero, reflect in current asset and if less than zero, reflect in current liability. Thank you.

 


4 Replies
MichaelHansen
Posts: 149
 MichaelHansen
June 13, 2018 10:46 am
(@michaelhansen)
Estimable Member
Joined: 6 years ago

This might be a terrible solution, but it's what I'd do...

In the report writer, you can duplicate groups/sections. Make the group with your balances show up twice (or three times if you want the top showing everything). Once you have duplicate(triplicate) segments, you need to set the "Visible" parameter on the fields. For the positive section set something like balance >= 0. For the negative section set balance <0. Now you should have them split appropriately.

At this point you need to get your summations working, but we can't just use "SUM" because the group/section has all the data even though it is "hidden". At this point, I would be making one more section to go in between the duplicates you just created, but to get your sum, you need to create a variable. The variable should increment for either negative XOR positive values in the previous segments. So setting the variable to something like: = iif ( balance > 0 , balance , 0) would get you a variable holding the sum of all positive values (summation for Assets in your report). Repeat this for the section below liabilities, but with a new variable holding negative values.

Hopefully someone else has a more elegant solution, but if you feel like using brute force, this'll do it.

Second (untested) thought, you might be able to roll out "sum(iff( balance > 0 , balance , 0))" instead of rolling out variables.


Reply
Abdul Malik
 Abdul Malik
(@abdul-malik)
Joined: 8 years ago

Member
Posts: 3
June 19, 2018 12:15 am
Reply toMichaelHansenMichaelHansen

Hi Michael,

Thanks for your guidance. I did setup the Report Writter according yo your advice "iif ( balance > 0 , balance , 0)", but i cant generate the report. Its seem got error. Alternatively i follow Mr Tim Rodman suggestion. Now able to generate report as requested my Finance Manager. Thank you.


Reply
Tim Rodman
Posts: 3204
 Tim Rodman
Admin
June 15, 2018 11:34 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Hey "Michael Report Designer Ninja", I think this question actually pertains to the Financial Report Writer which you can access using the Report Definitions (CS206000) screen  🙂 

But I don't have an elegant solution with the Financial Report Writer. This isn't pretty, but the best I can think would be to go one account at a time, pull the value on one line but hide it. Then have two more lines which print conditionally in their respective sections depending on whether the value is positive or negative.

Something like this:


Reply
Abdul Malik
 Abdul Malik
(@abdul-malik)
Joined: 8 years ago

Member
Posts: 3
June 19, 2018 12:19 am
Reply toTim RodmanTim Rodman

Hi Mr Tim Rodman,

Thanks for your guidance. I follow your advise and able to generate report as requested my Finance Manager. Thank you


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,530 Topics
  • 11 K Posts
  • 17 Online
  • 2,418 Members
Our newest member: Chad Treadwell
Latest Post: Negative/Credit Inventory Value?
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

 No online members at the moment

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2026 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×