Cree un parámetro que permita al usuario seleccionar una fecha fija para un intervalo de tiempo relativo fijo (por ejemplo, los últimos tres meses desde la fecha fija).
DATEDIFF('month',[Order Date],[Choose Anchor Date]) <= 2 AND DATEDIFF('month',[Order Date],[Choose Anchor Date]) >= 0Cree un parámetro que permita al usuario seleccionar una fecha fija de un año para anclar el intervalo de tiempo de la fecha (por ejemplo, desde el inicio del año hasta la fecha fija elegida).
DATEDIFF('year',[Order Date],[Choose Anchor Date]) = 0 AND [Order Date] <= [Choose Anchor Date]DATEDIFF([Date Part Parameter],[Order Date],[Choose Anchor Date]) <= [# of Date Parts Parameter] - 1 AND DATEDIFF([Date Part Parameter],[Order Date],[Choose Anchor Date]) >= 0DATETRUNC('month', DATEADD('month', -1, TODAY() ))001458277
1207 KB

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.