on 2024 Dec 04 3:06 PM
Hi,
I’m working on a project where I want to trigger a data action with the following parameters: source version, target version, source month, and target month. The objective is to allow users to copy data from one version to another and choose the desired source and target month.
However, when I try to execute the data action in the story, only three parameters appear: source version, target version, and source month. The target month parameter is missing.
I’m attaching three screenshots: one showing the parameters, another showing the data action configuration, and a third showing the story interface with only three parameters visible.
How can I ensure all four parameters, including the target month, are displayed?
Thanks in advance,
Ganjos
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can i do the same with Advanced formulas? @thomas_beck
I want to calculate Vencimento Base for the target month and version, using values from the source version and source month. The parameters for the calculation are the same: SourceVersion, TargetVersion, SourceMonth, and TargetMonth. Do you have a solution?
Hi @thomas_beck
It worked Thanks.
I need to select multiple months, not just one. Is there a way to do this? The 'Allow all Members' option is currently locked.
Actually from your last screenshot that this parameter NOT used yet in the data action, I assume that's why it's not displayed in story through consumption.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ganjos
Using multiple targets via parameter cannot be done within the DATA-statement. There is however a way to do so via specifying a memberset (line 1) outside of the actual instruction (line 2). The members filter will then automatically applied to the DATA-statement:
Please remember to change the parameter cardinality for targetMonth from Single to Any.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @thomas_beck
i did that as you said butit appear an error, but appeared the following error:
This is my code:
MEMBERSET[d/Date]=%TargetMonth%
DATA([d/Measures] = "VB", [d/Date] = %TargetMonth%) = RESULTLOOKUP([d/Measures] = "VB", [d/Date] = %SourceMonth%, [d/Version] = %SourceVersion%) * ( RESULTLOOKUP([d/Measures] = "perce_aumento_VB", [d/Version] = "public.Actual", [d/Date] = "202401") + 1 )
Configuration of the parameter:
Hi @thomas_beck, i have question, if i wanted to the this copy step but, many to many, how would i do it?
I want this action, because when i copy my months to planning months, i want to do it instantly selection them all, and not doing it one by one
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.