Varicent Sales Performance Management Documentation

TS002128505 — All calculations fail

Fixed: Resolved an issue where both full and individual calculations fail with the error message, "An item with the same key has already been added."

Reproduction Steps

Add a weekly calendar:

1. Click Admin > Calendars.

2. Click the Add icon.

3. Type a name for the calendar. In this case, T001.

4. Set the start date to 2019-01-01.

5. Set the template format to 52 (Weekly Periods).

6. Click Add.

Add a monthly calendar:

1. Click Admin > Calendars.

2. Click the Add icon.

3. Type a name for the calendar. In this case, T002.

4. Set the start date to 2019-01-01.

5. Set the template format to 12 (Months).

6. Click Add.

Create a calculation:

1. From Composer, add a User-Defined calculation.

2. Partition the calculated by T002/Months/Months starting on 2019-01-15.

3. Click Create.

4. Select the calculation > Edit.

5. Change the calendar to T001/Weeks/Weeks starting on 2019-01-15.

6. Select the calculation > Show More > Run Individual Calculation.

The result is an error occurs with the message, "An item with the same key has already been added" when the calculation should run successfully.