on 2024 Nov 27 8:28 AM
Hello,
I have a scenario that I need help with. I upload data with a split on the members of [d/COUNTRY] and on [d/STORE] = "#". The same total is uploaded afterwords, but the other way around i.e. with a split on the members of [d/STORE] and [d/COUNTRY = "#". I now need to merge these two together with a Data Action while having almost the same original split on [d/COUNTRY] and [d/STORE].
Anyone have any ideas?
Request clarification before answering.
Hi @Freddie
Please refer to the Advanced formulas script, which populates the Allocated amount based on the Driver value Country "#".
Source Value
Driver Value
Advanced Formulas Script
MEMBERSET [d/Measures] = "Amount"
MEMBERSET [d/Date] = "202412"
VARIABLEMEMBER #Site_Total OF [d/SITE]
DATA([d/SITE]=#Site_Total,[d/Country]="#") = RESULTLOOKUP([d/Country]="#")
DATA() = RESULTLOOKUP([d/SITE]="#") * RESULTLOOKUP([d/Country]="#") / RESULTLOOKUP([d/Country]="#",[d/SITE]=#Site_Total)Allocated Result
I hope this helps solve your issue.
Moonjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 17 | |
| 8 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 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.