In some business scenario, it is required to design a report with percent to total metric which can dynamically calculate percent values at parent time levels, as shown below:

Metric MF calculates percent values for Metric Revenue in time hierarchy:
The following steps demonstrates how to design this kind of report in Strategy Tutorial project:
M1=Count(Month) {~};
M2= Sum(Revenue) {Quarter};
M3= Sum(Revenue) {Year};
M4= Sum(Revenue) { };
M1 can detect different time levels with different values. M1=12, 3 and 1 for Year, Quarter and Month, respectively.
Mf= Case(( = 1), (Revenue / ), ( = 3), ( / ), ( = 12), ( / ), ( / ))


Metric MF can calculate percent revenue values for each row at its parent time level.
For example: