Erstellen Sie einen Parameter, der es dem Benutzer ermöglicht, ein Ankerdatum für einen festen relativen Zeitbereich auszuwählen, z. B. die letzten 3 Monate ab dem Ankerdatum.
DATEDIFF('month',[Order Date],[Choose Anchor Date]) <= 2 AND DATEDIFF('month',[Order Date],[Choose Anchor Date]) >= 0Erstellen Sie einen Parameter, der es dem Benutzer ermöglicht, ein Ankerdatum für ein Jahr auszuwählen, um einen Datumszeitbereich, z. B. den Beginn des Jahres, am gewählten Ankerdatum zu verankern.
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.