Questions tagged [function]

The tag has no usage guidance.

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
111 views

SSJS: Function returns value without return

I hope someone can help me to understand the following behaviour: <script runat=server> Platform.Load("Core", "1.1.1"); function test(args) { for (var i = 0; i < args.length;...
1
vote
1answer
277 views

SQL - How to filter the max value

I am in the middle of creating an SQL in SFMC. I have three attributes in the source Data Extension: GlobalID, CategoryDescription MAX (yes, the name is weird, but it is not the point...). What I ...
1
vote
0answers
39 views

Report Formulas - Divide Summary Field by Number of Users

I am trying to find the Average Number of Hours each user logs per week (by Billable vs Non-Billable Hours). I have attached a screenshot. I want the sum of the hours (20.34) divided by the number of ...
0
votes
0answers
28 views

passing "this" results in {}

I have a utility function that has worked for 2 years now, but got a report that something was not working in sandbox testing and for whatever reason passing "this" into the function now ...
0
votes
0answers
37 views

Conditional Math Equation in Report

I have a Report that includes a calculation for "days overdue" of a Case (Due Date - Closed Date). SFDC is calling this field CDF1. I want to add a calculation for the average days overdue ...
0
votes
0answers
54 views

cannot see enable evergreen function development in salesforce dev hub

We want to Enable Evergreen Function Development in the salesforce dev hub, But not able to find the enable option Please assist.