0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

test

Posted at
aaa.view
dimension: fiscal_progress_days {
  type: number
  sql:
    CASE
      WHEN CURRENT_DATE BETWEEN {% date_start sales_date %} AND {% date_end sales_date %} THEN
        DATE_DIFF(CURRENT_DATE, {% date_start sales_date %})
      ELSE
        DATE_DIFF({% date_end sales_date %}, {% date_start sales_date %})
    END ;;
}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?