Loading

Filter a Time Series Graph on a Two Month Unit (Or Three Week, etc)

Publiseringsdato: Feb 23, 2026
Oppgave

How to filter data and show the time series graph as a time unit such as two-month, three-week, etc.
 

Trinn
1. Create a calculation field to get the start day of each month (or week)
Two-Month Unit: DATE(DATETRUNC('month',[Order Date]))
Three-week Unit: DATE(DATETRUNC('week',[Order Date]))

2. Create a parameter to choose the start day.
User-added image

3. Create a TF calculation field to filter the time series data
Two-Month Unit: [Order Date]>=DATETRUNC('month',[Two-month Unit Start Day]) AND [Order Date]<DATEADD('month',2,DATETRUNC('month',[Two-month Unit Start Day]))
Three-week Unit: [Order Date]>=DATETRUNC('week',[Three-week Unit Start Day]) AND [Order Date]<DATEADD('week',3,DATETRUNC('week',[Three-week Unit Start Day]))
Flere ressurser
Since the default filter only supports one month/week, a calculation field is needed to filter the data by different date rage.
Knowledge-artikkelnummer

001456921

Vedlegg

Filter data_v2019.1.twbx

1208 KB

 
Laster
Salesforce Help | Article