We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dcd8c1 commit cb19884Copy full SHA for cb19884
macros/run_metric.sql
@@ -1,5 +1,5 @@
1
{% macro run_metric(metric_name, grain, dimensions=[], start_date=None, end_date=None, secondary_calculations=[], format='json') %}
2
- {% set res = run_query("select * from " ~ metrics.calculate(metric(metric_name), grain, dimensions, secondary_calculations, start_date, end_date)) %}
+ {% set res = run_query("select * from " ~ metrics.calculate(metric(metric_name), grain=grain, dimensions=dimensions, secondary_calculations=secondary_calculations, start_date=start_date, end_date=end_date)) %}
3
4
{% do log("<<<MAPI-BEGIN>>>", info=True) %}
5
{% if format == 'csv' %}
0 commit comments