Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, if you want one record with two possible values I think the best option is to use an additional table to avoid duplicated records.
So if you have a projects table with ProjectId as unique identifier of the project, you can add a related table like:
NewOld_Table:
LOAD
ProjectId,
'old' as New_Old
Resident Projects
Where date>'31.03.2020' and date<'01.04.2021';
Concatenate
LOAD
ProjectId,
'new' as New_Old
Resident Projects
Where date>'30.09.2020' and date<'01.10.2021';
flag the Old and New date ranges in your master calendar and then crosstab it
similar to this