Forum Discussion

jytech's avatar
jytech
Helper I
6 years ago

Filter and Visualize Historical Data Using Slicers

I have 3 tables:

  1. A Countries and Groups table that contains a list of countries and the respective Groups they belong to. This table has countries that can have duplicate or triplicate entries due to a change in Group at a specific point in time. For example, Spain is listed twice because from 01/2000 to 11/2019 they belonged to Group A, and from 12/2019 to NOW they belong to Group B.
  2. A Metrics/Data table containing measures and dimensions that I am reporting and creating visualizations for.
  3. A standard Date table.
  • 1 is related to 2 by Country Code
  • 2 is related to 3 by Date

I currently have slicers in place for Country, Group and Date. What I want to do is to have my date slicer filter out Group B when I select dates from 01/2000 to 11/2019 and then filter out Group A when I select dates from 12/2019 and beyond all while showing Spain and their sales, revenue and other metrics. 

 

As an added bonus, it would be great to be able to report Group metrics based on the above. For example, if the sum sales of Group A includes Spain from 01/2000 to 11/2019, it shouldn't include Spain from 12/2019 and beyond.

 

Any help would be greatly appreciated.

5 Replies