Solved

How can you dynamily define the data source in a column set

  • 29 September 2020
  • 2 replies
  • 389 views

I would like create a monthly P&L that uses the Actuals ledger for Start Period through End Period and then uses Budget ledger for “End Period +1” through Period 12.

Currently I update the data source in the appropriate column each month within the column set.  I would like to find a way to dynamically select the correct ledger based on End Period.

Something like the following for the column representing the Period 7 . . .

=IIf(Left(@EndPeriod,2)>=7, ‘Actuals Ledger’, ‘Budget Ledger”)

 

icon

Best answer by vkumar 5 October 2020, 13:24

View original

2 replies

Userlevel 7
Badge +11

Hi Ron,

Using an expression (conditional) to select the Ledger is unavailable. But as a workaround, you may try the following : -

  • Add an additional column for each period using Budget ledger
  • Keep the column hidden. There is no direct option to hide the column, you can just set a visibility expression 1+1=1 and it will hide the column ( since the result is always false for the expression).
  • Use an expression on ‘value’ line to select the value from this hidden column based on the period condition. This is on actual column where the value from either Budget ledger or Actual ledger need to be picked.
  • This way you can use the value of hidden column (Budget  ledger number ) on your expressions of visible columns

Hope this helps,

 

Regards,

Vijay,

Thanks.  This helps ALOT!

This makes sense and is a good explanation.

Thanks again

 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved