In Pigment, Is there any way to use a metric with BY modifier
I have two source metrics named as ‘Assigned’ and ‘Calendar Week’:
- “Assigned” with data type: Number
Dimensions: Project, Role, Project Weeks - “Calendar Week” with data type: Weeks(dimension list)
Dimensions: Project, Project Weeks
I need to create a target metric:
“Final metric”: of the data type: Number
Dimensions: Project, Role, Weeks
I’m trying this formula for “Final Metric” : ‘Assigned’MBY: ‘Calendar Week’]
Since, Calendar Week is a metric and not a dimension list, formula is throwing error. Is there any way by which I can use the metric with modifiers?
Can someone let me know if there is any suitable approach for this solution?