問題タブ [relative-date]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
date - Quicksight 計算フィールドの過去 N 日間
過去 14 日間のステータス更新の数を取得しようとしています。更新されたプロファイルの割合を取得するために計算フィールドの分母に入りますが、2 つの異なる日付/時刻フィールドを見ているので、フィルターにしたくありません。now 関数は知っていますが、使用するのに苦労しています。私の現在の数式はcount(agentstatustime)/(countif(id,majorstatus='Active' or majorstatus='Pending')+countIf(id,{hb_status}='Closed Closed' and realestatestatustime>='7/27/2021'))
、現在、数式に 14 日前の日付しかありませんが、日付を手動で入力する代わりに、自動的に 14 日前に戻りたいと考えています。