3 weeks ago - last edited 3 weeks ago
Hello Team,
I request some help with a requirement to incorporate YTD Gross values from external files into tax calculations. Currently, YTD values are derived from monthly wages in the system, but we now need to use the YTD from the file for the last month of each quarter.
Flow:
For March 2025, overwrite the YTD value with the file’s YTD.
For April 2025, calculate YTD as (March’s file YTD + April’s SAC-calculated wage).
Approach Followed:
Step 1: Load the file into the “Actual” version, mapping Employee ID, Period, and YTD to dimensions/measures. Default values (e.g., 1900-01-01, #) are used for missing attributes like dates, company code, shift, etc.
Step 2: Use a data action to copy from “Actual” to “Working Forecast,” assigning dimension values from master data.
Step 3: Shift data is pulled from a different model using LINK (since it’s absent in master data).
Issue: Company code is not in master data but exists in the same model under a different data source. Attempts to use RESULTLOOKUP failed.
Code Snippet:
Request clarification before answering.
Still not clear on what are you trying to achieve and what real difficulties you are facing.
To me, a simlper way is to just to load periodic value from file for month Jan, Feb and March into the working forecast version, then restricted measure can calcualte YTD on the fly for all your periods on the fly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @William_Yu for your response.
Background:
We use annual salaries from SF (loaded as Actuals) and split them into monthly forecasts using SAC Data Actions to calculate future YTD values.
New Requirement:
Issue:
Data Loaded from file
ID | Period | YTD | Data Src | Cost Center | Comp Code |
1234 | 202503 | 45,000 | PROLL_YTD | # | # |
After Copying to forecast
ID | Period | YTD | Data Src | Cost Center | Comp Code |
1234 | 202503 | 45,000 | WK-FCST | CC1 | # |
Ask:
Need help dynamically updating the Company Code for these records (tried RESULTLOOKUP without success).
I hope I was able to better explain.
Thanks,
PS
Sorry, I couldn’t explain it clearly. However, I have maintained the company code in the dimension and used it in resultlookups. I didn't want to follow this approach and wanted to use it as a last option.
Could you help me understand how to use a “restricted measure” to calculate year-to-date (YTD) values? Note that, I use these YTD values to calculate taxes.
Thanks,
PS
User | Count |
---|---|
73 | |
20 | |
10 | |
9 | |
7 | |
5 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.