Dear all,
I need some help to create a target module.
Currently, I have the following modules:
- Source module with the following dimensions: products (list) and Time (Month). 1 line item : Quantity
- Mapping module with the following dimensions: products (list). There are 2 lines items : Site and Molecule
- I have created the target module with the following dimensions : Site and Molecule and Time (Month).
There is 1 line item: total Quantity = Source module. Quantity [SUM: Mapping module.Site; SUM: Mapping module.Molecule]
It works but I would like to create a target module without the site as dimension, only Molecule as dimension and get the quantity by Molecule only if site = site #1.
I've tried : IF Mapping module.Site = Site.site#1 THEN total Quantity = Source module. Quantity [ SUM: Mapping module.Molecule] ELSE 0
But it doesn't work, I've got 0 as result.
Many thanks for your help.
Claire