on 2024 Aug 07 11:42 PM
Hi Experts,
In the story screenshot below, I am using the below data action code to get the period total redistributed to all of its' weeks equally, either to 4 or 5 of them, based on the 4-4-5 pattern, for a range of periods. But, it's not working. What am I doing wrong? Note: start period is a parameter and 2024 period 1 is selected: "202401"
Thanks in advance.
The expected result once executed the data action should be:
Thanks & Best wishes,
SP
Hi skcpaleti65,
Re -calculate average of given periods could be simply written with below code. If your requirement is to calculate for multiple periods by one shot, I would recommend to call the data action one period by one period via few JS code in story.
Best regards, William
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.