<@U088WCP3B4P> Hello ! I have two different dags t...
# ask-elementary-ai
a
@kapa.ai Hello ! I have two different dags that run at separate times. The first one has this cmd to update the elementary dashboard :
Copy code
edr send-report --env prod --profiles-dir . -t elementary-prod --gcs-bucket-name data-static-data-eu --bucket-file-path tables-elementary/ --update-bucket-website true -d 30
Does the second dag also needs to have the -d 30 if i rerun this cmd but for the tests on the second dag ?
k
A message from kapa.ai
Yes, if you want the report generated by the second DAG to include data from the last 30 days (just like the first DAG), you should also use the
-d 30
(or
--days-back 30
) flag in the
edr send-report
command. The
--days-back
parameter controls how far back Elementary collects dbt and Elementary results for the report. If you omit it, the default is 7 days, so your second DAG's report would only include the last 7 days unless you explicitly set
-d 30
as well. This is confirmed in the documentation and community discussions, where it's stated that the
--days-back
flag limits the amount of test data being pulled into the report, and you should set it according to your needs for each report generation command you run. Each invocation of
edr send-report
is independent and will use the parameters you provide at runtime, so to maintain consistency across both DAGs, include
-d 30
in both commands [CLI options](https://docs.elementary-data.com/oss/cli-commands#cli-options), [Slack discussion](https://slack.com/archives/C02CTC89LAX/p1699009117530779).