Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
In my load I am linking to three different data sources. Each datasource contains a different type of activity. Each datasource as its own date fields. I would like to create a filter on 'activity date' that when selected it will show data from each of three datasources for the time period selected.
Eg. 1. Outpatient Activity (appointment date) 2. Emergency Activity (presentation date) 3.Theatre activity (operation date)
(all linked via a primary key). Wishlist: select May 2020 from filter and activity from each of the three datasources will display for this period.
Try creating a common master calendar with transaction primary key as the key field that links to all tables.
LOAD [ID] , [Appointment date] as DATE, 'Appointment' as [Date type] RESIDENT [Outpatient Activity];
CONCATENATE LOAD ID, [Presentation date] as Date, 'Presentation' as [Date type] RESIDENT [Emergency Activity];
CONCATENATE LOAD ID, [Operation date] as Date, 'Operation' as [Date type] RESIDENT [Theatre Activity];
I hope that this could be of help.
/Vegar