Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Create column based on two other columns

Hi everyone,

 

I have a questions, which might seems to be easy, but I was not able to handle it.

 

I have the following data:

 

CreationDate and ClosedDate is any date, ReportDate is always the last of a month or, if the last of a month is not reached yet, the current day (e.g. 10.02.2020). ID is an identifier and xyz a description.

 

My goal is now, to have a column which shows 0 or 1. 0 if the CloseDate is empty OR if the close date is within the same month (and year) of the ReportDate). If the month and the year of the report date is greater than the CloseDate or the CloseDate is not empty, it shall be 1. 

 

The overall goal, is to have a matrix, which shows for each ReportDate the count of the status within the ReportDate. In this example, it would be: 

(I only want to have the records displayed in the ReportDate which have the same month and year as the ClosedDate and not after the ClosedDate)

 

My idea with the column OutOfRange is to filter for OutOfRange = 0, in order to display only the values which are within the range.

 

Any help is appreciated.

Thank you in advance for your efforts

Best
J

 

5 Replies