Label the most recent marks in the view. When there is a time or date field in the view, you can label all marks that correspond to the most recent date or time in the view. When you select this option, you can specify a scope for the labels in the view.
For a view without a time or date field, you can't select the Most recent label.
if [select a date unit] = 1
then
DATEPART('week',[Order Date])
ELSEif [select a date unit] = 2
then
DATEPART('month',[Order Date])
END
if [select a date unit] = 1 then
if [week or month] = {fixed:max(DATEPART('week',[Order Date]))}
then [Sales]
END
ELSEIF [select a date unit] = 2 then
if [week or month] = {fixed:max(DATEPART('month',[Order Date]))}
then [Sales]
END
END
001456868
2415 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.