To compare the values of a single measure (e.g., [Sales]) across two distinct dynamic time periods (Period 1 and Period 2) within the same worksheet:
This parameter will allow dynamic selection of the start date for Period 1.
Data Type: Date
Allowable Values: List
Source of Values: Select values from [Order Date]
Repeat step 1 to create the following parameters for dynamic date selection:
[Period1 (End)] : this parameter is for the end date of Period 1
[Period2 (Start)] : this parameter is for the start date of Period 2
[Period2 (End)] : this parameter is for the end date of Period 2
IF [Order Date] >= [Period1 (Start)] AND [Order Date] <= [Period1 (End)] THEN [Sales] END
IF [Order Date] >= [Period2 (Start)] AND [Order Date] <= [Period2 (End)] THEN [Sales] END
Drag [Sales (Period1)] and [Sales (Period2)] to the Columns shelf.
Right-click on [Sales (Period2)] on the Column shelf and select Dual Axis.
Then, right-click on one of the axes and choose Synchronize Axis to align both measures.
Display the following parameter controls to allow users to select custom date ranges:
(1)Select the start date and end date of Period 1 on the parameter below:
[Period1 (Start)]
[Period1 (End)]
(2)Select the start date and end date of Period 2 on the parameter below:
[Period2 (Start)]
[Period2 (End)]
Refer to the attached workbook. It contains the implemented resolution.
Additionally, the movie demonstrating this resolution's implementation is also attached.
004634394
1160 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.