RE: How to use formula in netsuite saved search?

Hi,
I want to create Custom KPI saved search for Dashboard view. Custom field ‘KPI Account Group’ created to classify accounts into groups for KPI formulas Custom List: KPI Account Group Values: Expenses, Other Expenses, Interest Expense, Adjustments, Depreciation, Revenue, Other Income, Interest Earned, Fixed Asset

Now I want to calculate following in saved search and show in custom KPI

Custom KPI Formulas–> Gross Burn: Expenses + Other Expenses + Interest Expense + Adjustments + (Fixed Assets – Depreciation)

Net Burn: Gross Burn – Revenue – Interest Earned – Other Income

EBITDA: Depreciation + Interest Expense + income

Please help! Thanks in advance.

I have created saved search on account record. criteria: KPI Account Group is any of Values: Expenses, Other Expenses, Interest Expense, Adjustments, Depreciation, Revenue, Other Income, Interest Earned, Fixed asset. Result: Balance

Maira S Beginner Asked on December 6, 2023 in Saved Searches.
Add Comment
5 Answers

I am using formula in saved search like this but its giving invalid expression error

CASE WHEN {custrecord1} = ‘Expenses’ THEN {balance}+
CASE WHEN {custrecord1} = ‘Other Expenses’ THEN {balance}+
CASE WHEN {custrecord1} = ‘Interest Expense’ THEN {balance}+
CASE WHEN {custrecord1} = ‘Adjustments’ THEN {balance}+
CASE WHEN {custrecord1} = ‘Depreciation’ THEN {balance}+
CASE WHEN {custrecord1} = ‘Revenue’ THEN {balance}+
CASE WHEN {custrecord1} = ‘Other Income’ THEN {balance}+
(CASE WHEN {custrecord1} = ‘Interest Earned’ THEN {balance}-
CASE WHEN {custrecord1} = ‘Fixed Asset’ THEN {balance}) ELSE 0
END

Beginner Answered on December 6, 2023.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.