on 03-25-2024 2:39 AM
Hello experts,
I have an inquiry about dimension ID derivation by referring to the property. As normally, we can derive a dimension member by looking at the property.
For example, we have 2 dimensions: product dimension and product group dimension. Product dimension contains product group property which can be used to derive member ID in product group dimension, as shown below.
Given the dimension properties, if a value is inputted in product dimension, we can derive product group using data action by using:
"data([d/product_group] = [d/product].[p/product_group]) = resultlookup()"
What if the case is reversed? Is there a way to derive product dimension when value is inputted in product group dimension? For example, product group A got a sales amount of $10. Is there a way to look into product dimension to map product dimension's property to product group ID to get the product dimension id?
Thank you.
Bhumirapee Autayakool.
Try the below
FOREACH [d/costcentre],[d/productline]
IF [d/costcentre]=[d/productline].[p/costcentre] THEN
DATA()=RESULTLOOKUP([d/productline]="#")
ENDIF
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Product Group to Product is N:1 mapping. Not sure what is the use case but you can try FOREACH [d/product].[p/productgroup]
This will group products with similar product group values.
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Specifically, we would like to achieve this result. We have a total headcount information in Cost Center level. We would like to map the values to production line. As of right now, the mapping only exists in production line dimension, and there is a message from client to not put the mapping in the cost center dimension.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.