Forum Discussion
zombieug
Helper I
8 years agoCheck if Date is <= another Date in Table
Hello Forum, I have the following table: Based on Material Key and SD-SA Key there are Delivery Dates and Release Dates. What I want to create a measure or calculated column that check...
- 8 years ago
Hi v-lili6-msft Ashish_Mathur,
had to chance it a little to:
IF(CALCULATE(MAX(Sheet1[Release Date]);FILTER(ALLEXCEPT(Sheet1;Sheet1[SD-SA Key];Sheet1[Material Key]);Sheet1[Release Date]<=EARLIER(Sheet1[Delivery Date])))=Sheet1[Release Date];1;0)
this way the column will work for sd-sa key and material key
I think it should work know.
Thanks to all of you who tried to help.
Ashish_Mathur
Super User
8 years agoHi,
Paste the data here such that i can copy it in an Excel workbook.
zombieug
Helper I
8 years agoHi Ashish_Mathur thank you for trying to help.
Delivery Date | Release Date | Material Key | SD-SA Key | Quantity |
| 02.02.2018 | 12.01.2018 | 00/02652906381VS | 00/24200236 | 2250 |
| 02.02.2018 | 19.01.2018 | 00/02652906381VS | 00/24200236 | 2250 |
| 02.02.2018 | 26.01.2018 | 00/02652906381VS | 00/24200236 | 2250 |
| 02.02.2018 | 02.02.2018 | 00/02652906381VS | 00/24200236 | 2250 |
| 04.02.2018 | 12.01.2018 | 00/02652906381VS | 00/24200236 | 2250 |
| 04.02.2018 | 19.01.2018 | 00/02652906381VS | 00/24200236 | 2250 |
| 04.02.2018 | 26.01.2018 | 00/02652906381VS | 00/24200236 | 2250 |
| 04.02.2018 | 02.02.2018 | 00/02652906381VS | 00/24200236 | 2250 |
| 06.02.2018 | 12.01.2018 | 00/02652906381VS | 00/24200236 | 4950 |
| 06.02.2018 | 19.01.2018 | 00/02652906381VS | 00/24200236 | 4950 |
| 06.02.2018 | 26.01.2018 | 00/02652906381VS | 00/24200236 | 4950 |
| 06.02.2018 | 29.01.2018 | 00/02652906381VS | 00/24200236 | 4950 |
| 06.02.2018 | 02.02.2018 | 00/02652906381VS | 00/24200236 | 4950 |
| 06.02.2018 | 03.02.2018 | 00/02652906381VS | 00/24200236 | 4950 |
- Ashish_Mathur8 years ago
Super User
Hi,
In the image that you have pasted in your first post, why is there a 0 in the first 3 rows. Shouldn't there be a 1 in those rows and may be in others as well. Could you kinldy check the entries in column F.