Suppose if a base metrics has Dimensions Product and Month with Data type Country
We wish to have Target metric with unchanged Dimensions Product and Month but with Data type Region
How can we get to the outcome in Target Metric
Suppose if a base metrics has Dimensions Product and Month with Data type Country
We wish to have Target metric with unchanged Dimensions Product and Month but with Data type Region
How can we get to the outcome in Target Metric
Best answer by Benoit
Hi,
There are probably other/better solutions, but here are my first thoughts.
If the your Countries’ Regions are not something that are supposed to change over time, I suggest you create a Region mapping property in your Country dimension. That is the most scalable solution.
Even better solution would be to have the Region property in your source transaction list, so you can just arrange your data [by : List.Region].
But if it’s something moving, for teritorry planning for instance, I would recommend creating a ‘Region by Country Month’ mapping metric, dimensioned by Country and Month, data type : dimension (Region).
This creates a direct link between Country and Region over Months that can be used in many other formulas to rearrange your data but also with the mapped dimension feature:
Now, in your Target metric, to transform your Source metric from a Country to Region result, you can use this formula:
'Region by Country Month'[by:'source metric']
Please let me know if that is what you were looking for?
Best,
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.